Topic: Gallery embedding linking

Hi, have managed to incorporate simpleviewer to the website link but haven't managed to get the links to work.

At the moment I have tried linking to three seperate gallery pages on the page 'Projekt', but not sure how to get the linking right. On the page 'Arkiv' I have one gallery where I also can't get the photos linked properly.

In my public_html folder I have created a folder called Arkiv where I save the svbuilder gallery, the arkiv.html page is in the main directory. For the Projekt pages I have created the galleries in the Images folder, and created three folders there, pågående, kommande and utförda, where I save the svbuilder galleries, and the html pages are in the images folder.

I also can't get simpleviewer to stay within the boundaries of the website.

Not sure which way is right here, would be very grateful for help.

Oliver

Re: Gallery embedding linking

Where are each of the gallery files stored? You seem to be trying to use baseURL for some of your galleries, but there are not any gallery files in the folder.

For example navigating to where your gallery.xml should be gives a 404 not found error.

If you want to use baseURL you need to change the code to look like the following.

<script type="text/javascript">
var flashvars = {};
flashvars.baseURL="http://www.yoursite.com/_bilder/utforda_projekt/";
var params = {};
var attributes = {};
jQuery(document).ready(function () {
SV.simpleviewer.load("sv-container", "70.3%", "100%", "222222", true, flashvars, params, attributes);
});
</script>
Mike Richards
SimpleViewer Support Team.

Re: Gallery embedding linking

Hi,

Sorry, had restructured the folders to try and get it to work.

The pages Arkiv, Pågående and Utförda with containing svbuilder gallery folders are in the public_html folder now. The error now seems to be Gallery xml not found. Each of the gallery folders has an xml file called gallery, don't know if this is the problem?

Last edited by Oliver_D (2011-03-15 19:41:20)

Re: Gallery embedding linking

Change your baseURL as indicated below and clear your browser's cache after making the change.

From:

flashvars.baseURL="http://www.yoursite.com/_bilder/utforda_projekt";

To:

flashvars.baseURL="http://www.yoursite.com/_bilder/utforda_projekt/";
Mike Richards
SimpleViewer Support Team.

Re: Gallery embedding linking

Hi,

Have made the amendments, but still turning up with the same problem, is there any change needed to the xml file?

Re: Gallery embedding linking

Did you upload the changes? I'm still not seeing the forward slash at the end of the line on your site.

flashvars.baseURL="http://www.yoursite.com/_bilder/utforda_projekt/";

Mike Richards
SimpleViewer Support Team.