1 (edited by laikinasis 2012-03-20 20:26:42)

Topic: Absolute path problem

Can somebody provide hints how to make autoviewer gallery with totally absolute paths ? If html contains absolute path to autoviewer.swf, swfobject.js and gallery.xml, it's working, but not showing pictures.

It seems the tricky part is absoluting image paths in gallery.xml . "<url>file:///C:/localhost/autoviewer/images/image.jpg</url>" works well for the local file (when you run autoviewer.swf), but when embedded in another directory file (i.e. http://localhost/anotherdir/page.php), images show as X. "<url>http://localhost/autoviewer/images/image.jpg</url>" doesn't work at all (neither for local file, nor for page).

Any suggestions on "absoluting" the image paths... ?

Re: Absolute path problem

An absolute path for an image should take the form http://www.example.com/gallery/images/image1.jpg, eg.


Each <url> should point to where the image has been uploaded to your web server.
If you continue to experience difficulties, please post the URL to your gallery so that we can take a look.

Steven Speirs
SimpleViewer Support Team