Steven Speirs wrote:It looks like the files required for your galleries are no longer on your web server (or at least not in the correct locations).
For example, for your first gallery, the 'TiltViewer.swf' file should be located here: http://www.natural-horsemanship-coin.co … Viewer.swf
... and the 'swfobject.js' file should be located here: http://www.natural-horsemanship-coin.co … fobject.js
Going directly to either of these addresses directly in a browser results in an error 404 (file not found).
Make sure that your gallery files have been uploaded to the correct locations on your web server.
If the files appear to be in their correct locations and the problem still occurs, then check the permissions of the files to make sure that they are not too restrictive. (Default permissions of 755 for folders and 644 for files should work fine.)
Thanks for replying so promptly. Sorry for the delay in responding - been away on business and didn't receive the email telling me there was a new response.
As to your points:
1. I have never had either of these two files in the actual gallery folder. The swf file is in the root directory and the js file in the scripts folder. These appear to be correct for the code in the WordPress page:
<div id="instructions"><!--Begin Instructions text-->
<p>Wait for photos to load. Click photo to enlarge. Click circular arrow to flip image. Click image again to reduce.</p>
</div>
<!--End Instructions text-->
<div id="tiltviewer"><script type="text/javascript" src="scripts/swfobject.js"></script>
<div id="flashcontent">TiltViewer requires JavaScript and the latest Flash player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
<script type="text/javascript">// <![CDATA[
var fo = new SWFObject("TiltViewer.swf", "viewer", "600", "450", "9.0.28", "#171515");
If I enter the url for those locations as per your observations above, I get positive results. In fact the default gallery opens just fine see: http://www.natural-horsemanship-coin.com/TiltViewer.swf and http://www.natural-horsemanship-coin.co … fobject.js
2. I have checked and both files have 0644 permissions. As I say, the galleries have worked ok since first upload 2 years ago and I haven't made any changes to any of the files or locations (that I know of).
3. I am wondering if somehow a gremlin has crept into the code. Here is the complete Wordpress code:
<div id="instructions"><!--Begin Instructions text-->
<p>Wait for photos to load. Click photo to enlarge. Click circular arrow to flip image. Click image again to reduce.</p>
</div>
<!--End Instructions text-->
<div id="tiltviewer"><script type="text/javascript" src="scripts/swfobject.js"></script>
<div id="flashcontent">TiltViewer requires JavaScript and the latest Flash player. <a href="http://www.macromedia.com/go/getflashplayer/">Get Flash here.</a></div>
<script type="text/javascript">// <![CDATA[
var fo = new SWFObject("TiltViewer.swf", "viewer", "600", "450", "9.0.28", "#171515");
// TILTVIEWER CONFIGURATION OPTIONS
// To use an option, uncomment it by removing the "//" at the start of the line
// For a description of config options, go to:
//http://www.airtightinteractive.com/projects/tiltviewer/config_options.html
//FLICKR GALLERY OPTIONS
// To use images from Flickr, uncomment this block
//fo.addVariable("useFlickr", "true");
//fo.addVariable("user_id", "48508968@N00");
//fo.addVariable("tags", "jump,smile");
//fo.addVariable("tag_mode", "all");
//fo.addVariable("showTakenByText", "true");
// XML GALLERY OPTIONS
// To use local images defined in an XML document, use this block
fo.addVariable("useFlickr", "false");
fo.addVariable("xmlURL", "demosandworkshopsgallery.xml");
fo.addVariable("maxJPGSize","640");
//GENERAL OPTIONS
fo.addVariable("useReloadButton", "false");
fo.addVariable("columns", "3"); fo.addVariable("rows", "3"); //fo.addVariable("bkgndInnerColor", "0xFFFFFF");
//fo.addVariable("bkgndOuterColor", "0xFFFFFF");
//fo.addVariable("frameColor", "0xAAAAAA");
//fo.addVariable("navButtonColor", "0x000000");
fo.addVariable("showFlipButton", "true");
fo.addVariable("showLinkButton", "false");
//fo.addVariable("linkLabel", "View image info");
//fo.addVariable("backColor", "0xDDDDDD");
fo.addVariable("langGoFull", "Go Fullscreen");
fo.addVariable("langExitFull", "Exit Fullscreen");
//fo.addVariable("langAbout", "About");
fo.addVariable('bkgndTransparent', 'true');
fo.addVariable('showFullscreenOption', 'false');
// END TILTVIEWER CONFIGURATION OPTIONS
//PRO OPTIONS
fo.addVariable("zoomedInDistance", "1000");
fo.addVariable("zoomedOutDistance", "3400");
fo.addVariable("tiltAmountIn", "10");
fo.addVariable("tiltAmountOut", "10");
fo.addVariable("frameWidth", "10");
fo.addVariable("titleFontSize", "50");
fo.addParam("allowFullScreen", "true");
fo.addParam("wmode", "transparent");
fo.write("flashcontent");
// ]]></script></div>
<!--End of Tiltviewer -->
<p> </p>
I don't recognise the code <![CDATA[ ..... // ]]> Should that be in there?
Thanks - Richard