Topic: multiple html galleries on website pages

hi,
ive read all the previos posts on sv multiple galleries on html bt still couldnt figure out the following.Ant help would be much appreciated.
ive created on succesful gallery for my html page but i cannt create two morw that i need for the same website.
ive read the embedding help instructions in the FAQ a number of times,
this link:
http://www.simpleviewer.net/simpleviewe … l#multiple

but i cant seem to do it. vista just wants to overwrite the sv gallery follders of the first one whn i copy folder contents into my website folder.
also, all the images get moved into my main image folder, so i dont know how to seperate the 3 galleries content.
Can you please guide me about the following instructions:

1.You can now create a menu page that links to the index.html page in each gallery folder.
(whst sort of menu page and how do i link it to index.html?)

2. We recommend that you keep the embedding HTML page in the same folder as the rest of the gallery assets (the gallery folder).
( i dont have a gallery folder in my website folder because once teh contents are contained in folder, i cannot view my sv gallery, i have to copy the contents and paste them in my website folder directly.

3. is there a way to avoid the mish mash of gallery folder 'contents in my webpage folder and keep seperate galleries for each page/sv gallery.

Would be so helpful if you could help me with this.
Thank You

Re: multiple html galleries on website pages

vista just wants to overwrite the sv gallery follders of the first one whn i copy folder contents into my website folder.

The first thing to do is to keep all your galleries separate in individual folders with different names.

1.You can now create a menu page that links to the index.html page in each gallery folder.
(whst sort of menu page and how do i link it to index.html?)

As an example, say you have 2 galleries.
The first gallery's files are all in a folder named 'gallery1' and the second gallery's files are all in a folder named 'gallery2'.
A very basic menu page with links to each gallery (which would then open in separate tabs/windows) would look like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>SimpleViewer Gallery</title>
</head>
<body>
    <a href="gallery1/index.html">Click to open Gallery #1 in a new tab</a>
    <a href="gallery2/index.html">Click to open Gallery #2 in a new tab</a>
</body>
</html>

If you wanted to embed both galleries in a single page, your page would look something like this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
    <meta http-equiv="content-type" content="text/html; charset=utf-8">
    <title>SimpleViewer Gallery</title>
</head>
<body>
    <script type="text/javascript" src="gallery1/svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    var flashvars1={};
    flashvars1.baseURL="gallery1/";
    simpleviewer.ready(function () {
        simpleviewer.load('sv-container1', '800', '300', '222222', true, flashvars1);
    });
    var flashvars2={};
    flashvars2.baseURL="gallery2/";
    simpleviewer.ready(function () {
        simpleviewer.load('sv-container2', '800', '300', '222222', true, flashvars2);
    });
    </script>
    <div id="sv-container1"></div>
    <div id="sv-container2"></div>
</body>
</html>

2. We recommend that you keep the embedding HTML page in the same folder as the rest of the gallery assets (the gallery folder).
( i dont have a gallery folder in my website folder because once teh contents are contained in folder, i cannot view my sv gallery, i have to copy the contents and paste them in my website folder directly.

Upload your gallery folders in their entirety (ie. upload the folders themselves, not just the contents).
If you have multiple galleries, it is much easier to keep them all separate.
You then have three options:
(1) Link to each 'index.html' file (which will open the galleries in new tabs/windows)
(2) Embed the gallery in a page using an <iframe> which loads the 'index.html' page into a frame on a page
See the second method of embedding here.
(3) Ignore the 'index.html' page and embed the gallery into a different page using the baseURL option
See the first method of embedding here.

3. is there a way to avoid the mish mash of gallery folder 'contents in my webpage folder and keep seperate galleries for each page/sv gallery.

As I've suggested, keep all your galleries in individual folders, upload the complete folders to your web space and follow one or other of the 'Using an External Gallery Folder' embedding instructions here.

Steven Speirs
SimpleViewer Support Team.

Re: multiple html galleries on website pages

Hi,

Thank you for the help wit embedding the galleries. Much appreciated.


GAlleries uploaded successfully. Can i plz know how i can edit the galleries. I tried opening teh existing folder using SV galleries and uploaeded the new edited files, but that not working. Could you plz direct me towards the simplest way to edit my galleries, as in add more pictures, change the background colour etc.. thank you


ps. link to my galleries
http://cakeandcookiecompany.co.uk/celebration.html

http://cakeandcookiecompany.co.uk/cookies.html

Thank you

Last edited by cakecompany (2011-07-11 00:33:12)