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... ?
Last edited by laikinasis (2012-03-20 20:26:42)