Topic: Wrong path when selecting "open in new window"
Hi,
I have implemented SimpleViewer into a newly created webpage, using an external gallery folder, and the following code:
<script type="text/javascript" src="../Gallery/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
$(document).ready(function () {
SV.simpleviewer.load('sv-container', '635', '350', 'transparent',true,{baseURL: '../Gallery/Elevheste/'});
});
</script>
<div id="sv-container"></div>
The gallery shows up nicely on the webpage as expected. However, when I try to open the individual pictures in a new window, it can't find the right path. Instead of "svkr.dk/Gallery/Elevheste/' as set by the baseURL, it goes to "svkr.dk/Galleri/images/XX.JPG".
"Galleri/images" is infact the imageURL from the gallery.xml file. Also, the html page containing the gallery is located within this folder.
Question:
Do I manually have to change the imageURL of each picture within the .xml file or how can I make this work?
The direct link to my gallery is http://svkr.dk/Galleri/Elevhestene.html
Hope somebody will be able to help, I would really like to make this work.
And to the people behind SimpleViwer, thanks a lot for a fantastic gallery :)
Greetings,
Espen