Topic: Need help !

(Sorry for my very veryyy bad english !)

Hello  smile  !

I created my Simple Viewer :


http://i54.tinypic.com/2mzlb1c.png

and I don't understand why it does not work on my website  hmm  ! (i'm in "Over-blog".)
I can show you the codes :

Index.html :

<!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>
    
    <!--START SIMPLEVIEWER EMBED -->
    <script type="text/javascript" src="svcore/js/simpleviewer.js"></script>
    <script type="text/javascript">
    $(document).ready(function () {
        SV.simpleviewer.load('sv-container', '50%', '90%', '6A5C5D',true);
          // SIMPLEVIEWER CONFIGURATION OPTIONS
        // To use an option, uncomment it by removing the "//" at the start of the line
        // For a description of config options, go to: 
        // http://www.airtightinteractive.com/simpleviewer/options.html
        
        fo.addVariable("xmlDataPath", "gallery.xml");
        //fo.addVariable("firstImageIndex", "5");    
        //fo.addVariable("langOpenImage", "Open Image in New Window");
        //fo.addVariable("langAbout", "About");    
        //fo.addVariable("preloaderColor", "0xFFFFFF");
        
        fo.write("flashcontent");
    });
    </script>
    <div id="sv-container"></div>
    <!--END SIMPLEVIEWER EMBED -->
    
</body>
</html>

Gallery.xml :

<?xml version="1.0" encoding="UTF-8"?>

<simpleviewergallery 

    useFlickr="false"
    resizeOnImport="true"
    cropToFit="false"
    galleryWidth="50%"
    galleryHeight="90%"
    thumbColumns="4"
    thumbRows="1"
    backgroundColor="6A5C5D"
    textColor="F2738C"
    frameColor="F2738C"
    frameWidth="2"
    indexPageName="Index.html"
    galleryStyle="MODERN"
    thumbPosition="BOTTOM"
    maxImageWidth="1024"
    maxImageHeight="768"
    imageQuality="99"
    thumbWidth="75"
    thumbHeight="75"
    thumbQuality="90"
    showOpenButton="true"
    showFullscreenButton="true"

>
  <image imageURL="images/fairy.jpg"
    thumbURL="thumbs/fairy.jpg"
    linkURL="images/fairy.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Un arbre, encrage.]]></caption>
  </image>
  <image imageURL="images/fairy2.jpg"
    thumbURL="thumbs/fairy2.jpg"
    linkURL="images/fairy2.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Coloration]]></caption>
  </image>
  <image imageURL="images/fairy3.jpg"
    thumbURL="thumbs/fairy3.jpg"
    linkURL="images/fairy3.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Des détails...]]></caption>
  </image>
  <image imageURL="images/fairy4.jpg"
    thumbURL="thumbs/fairy4.jpg"
    linkURL="images/fairy4.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Arbre abouti.]]></caption>
  </image>
  <image imageURL="images/fairy5.jpg"
    thumbURL="thumbs/fairy5.jpg"
    linkURL="images/fairy5.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Une femme]]></caption>
  </image>
  <image imageURL="images/2cs6m42.png"
    thumbURL="thumbs/2cs6m42.png"
    linkURL="images/2cs6m42.png"
    linkTarget="_blank">
    <caption><![CDATA[Travail graphique]]></caption>
  </image>
  <image imageURL="images/P1050002.jpg"
    thumbURL="thumbs/P1050002.jpg"
    linkURL="images/P1050002.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Dessin au graphite]]></caption>
  </image>
  <image imageURL="images/f22bu0.png"
    thumbURL="thumbs/f22bu0.png"
    linkURL="images/f22bu0.png"
    linkTarget="_blank">
    <caption><![CDATA[Sur photoshop]]></caption>
  </image>
  <image imageURL="images/P1040673.jpg"
    thumbURL="thumbs/P1040673.jpg"
    linkURL="images/P1040673.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Encre]]></caption>
  </image>
  <image imageURL="images/P1040998.jpg"
    thumbURL="thumbs/P1040998.jpg"
    linkURL="images/P1040998.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Walrus!]]></caption>
  </image>
  <image imageURL="images/bras-o_o2.png"
    thumbURL="thumbs/bras-o_o2.png"
    linkURL="images/bras-o_o2.png"
    linkTarget="_blank">
    <caption><![CDATA[La peau]]></caption>
  </image>
  <image imageURL="images/f36iaa.png"
    thumbURL="thumbs/f36iaa.png"
    linkURL="images/f36iaa.png"
    linkTarget="_blank">
    <caption><![CDATA[Amitié]]></caption>
  </image>
  <image imageURL="images/P1050001.jpg"
    thumbURL="thumbs/P1050001.jpg"
    linkURL="images/P1050001.jpg"
    linkTarget="_blank">
    <caption><![CDATA[Nature morte]]></caption>
  </image>
</simpleviewergallery>

And when I upload those files in my blog, the links does not work >_<
Do you know why? Is there a problem on my hoster, or is it a problem with my codes?

Last edited by Maureen (2010-10-06 08:57:10)

Re: Need help !

What is the URL of the page that is having the issue?

Mike Richards
SimpleViewer Support Team.

Re: Need help !

http://ddata.over-blog.com/3/67/06/36/Index.html I hope it's what you asked.  smile

Last edited by Maureen (2010-10-06 08:53:09)

Re: Need help !

It doesn't look like you uploaded the svcore folder or your gallery.xml.

Mike Richards
SimpleViewer Support Team.

Re: Need help !

Ah may be, I did'nt touch to the folder "Svcore", i thought it was not usefull  neutral

Re: Need help !

(sorry for double post)

Are you talking about this folder ?

http://i52.tinypic.com/28syq86.png

Re: Need help !

Yes. Upload the entire 'svcore' folder to your 'Svbuilder' directory.

Steven Speirs
SimpleViewer Support Team.

Re: Need help !

Whatever folder has your gallery HTML page in it should also have the svcore folder, the thumbs and image folders and gallery.xml file, in your case this should be the Svbuilder folder.

Mike Richards
SimpleViewer Support Team.

Re: Need help !

Sorry you must think i'm stupid, but I don't understand what you meant !  sad
If you asked that the folder "svcore", must be in the "svbuilder" folder, I think it is (and  from the start!) :
http://i56.tinypic.com/2i4042.png

(my english is bad because i'm french)

Re: Need help !

Directory structure looks OK from the screenshot.
However, this directory structure should be the same when uploaded to your web server and it does not seem to be the case.
Also, your HTML page at http://ddata.over-blog.com/3/67/06/36/Index.html is mixing code for SimpleViewer v1.9 and SimpleViewer v2.
You should remove all the lines starting with "fo."
(The only variable you've set is the path for the xml file and this will be 'gallery.xml' by default anyway so there is no need to replace the code with anything.)

Steven Speirs
SimpleViewer Support Team.

Re: Need help !

Thank you so much !!!!!! It worked smile !! You were right, I did not upload all the "Sv builder" folder on my blog ! Tadam : http://ddata.over-blog.com/3/67/06/36/S … Index.html

Last edited by Maureen (2010-10-06 10:51:34)