Topic: Receiving error message: Cannot Parse Gallery XML

I was trying to change my photo gallery on my website.

I was trying to take the thumbnails out, and now nothing works.

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

<simpleviewergallery
   
    galleryStyle="Compact"
    title="SimpleViewer Gallery"
    textColor="FFFFFF"
    frameColor="FFFFFF"
    frameWidth="20"
    showOpenButton="TRUE"
    showFullscreenButton="TRUE"   
    maxImageWidth="640"
    maxImageHeight="640"
    useFlickr="false"
    flickrUserName=""
    flickrTags=""
    languageCode="AUTO"
    languageList=""       
    imagePath="images/"
image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs781.ash1/167134_480461497460_100957482460_6403452_7658155_n.jpg" thumbURL="thumbs/event_1.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs774.ash1/166464_480462187460_100957482460_6403464_107818_n.jpg" thumbURL="thumbs/event_2.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-snc6/hs014.snc6/166464_480462192460_100957482460_6403465_2379604_n.jpg" thumbURL="thumbs/event_3.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs788.ash1/167823_480463192460_100957482460_6403482_989920_n.jpg" thumbURL="thumbs/event_4.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-snc6/hs068.snc6/167823_480463197460_100957482460_6403483_2395214_n.jpg" thumbURL="thumbs/event_5.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-snc6/hs068.snc6/167823_480463202460_100957482460_6403484_5891741_n.jpg" thumbURL="thumbs/event_6.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-snc6/hs068.snc6/167823_480463212460_100957482460_6403485_1938819_n.jpg" thumbURL="thumbs http://sphotos.ak.fbcdn.net/hphotos-ak-snc6/hs068.snc6/167823_480463212460_100957482460_6403485_1938819_n.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs774.ash1/166464_480462182460_100957482460_6403463_6401006_n.jpg" thumbURL="thumbs http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs774.ash1/166464_480462182460_100957482460_6403463_6401006_n.png" linkURL="" linkTarget="" >
</image>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs774.ash1/166464_480462182460_100957482460_6403463_6401006_n.jpg.jpg" >
</image>

<image imageURL="images/event_11.jpg" thumbURL="thumbs/event_11.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_12.jpg" thumbURL="thumbs/event_12.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_13.jpg" thumbURL="thumbs/event_13.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_14.jpg" thumbURL="thumbs/event_14.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_15.jpg" thumbURL="thumbs/event_15.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_16.jpg" thumbURL="thumbs/event_16.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_17.jpg" thumbURL="thumbs/event_17.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_18.jpg" thumbURL="thumbs/event_18.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_19.jpg" thumbURL="thumbs/event_19.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_20.jpg" thumbURL="thumbs/event_20.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_21.jpg" thumbURL="thumbs/event_21.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_22.jpg" thumbURL="thumbs/event_22.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_23.jpg" thumbURL="thumbs/event_23.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_24.jpg" thumbURL="thumbs/event_24.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_25.jpg" thumbURL="thumbs/event_25.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_26.jpg" thumbURL="thumbs/event_26.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_27.jpg" thumbURL="thumbs/event_27.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_28.jpg" thumbURL="thumbs/event_28.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_29.jpg" thumbURL="thumbs/event_29.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_30.jpg" thumbURL="thumbs/event_30.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_31.jpg" thumbURL="thumbs/event_31.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_32.jpg" thumbURL="thumbs/event_32.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_33.jpg" thumbURL="thumbs/event_33.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_34.jpg" thumbURL="thumbs/event_34.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_35.jpg" thumbURL="thumbs/event_35.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_36.jpg" thumbURL="thumbs/event_36.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_37.jpg" thumbURL="thumbs/event_37.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_38.jpg" thumbURL="thumbs/event_38.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_39.jpg" thumbURL="thumbs/event_39.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_40.jpg" thumbURL="thumbs/event_40.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_41.jpg" thumbURL="thumbs/event_41.png" linkURL="" linkTarget="" >
</image>

<image imageURL="images/event_42.jpg" thumbURL="thumbs/event_42.png" linkURL="" linkTarget="" >
</image>

</simpleviewergallery>

Re: Receiving error message: Cannot Parse Gallery XML

The first block of your XML file is:

<simpleviewergallery
   
    galleryStyle="Compact"
    title="SimpleViewer Gallery"
    textColor="FFFFFF"
    frameColor="FFFFFF"
    frameWidth="20"
    showOpenButton="TRUE"
    showFullscreenButton="TRUE"   
    maxImageWidth="640"
    maxImageHeight="640"
    useFlickr="false"
    flickrUserName=""
    flickrTags=""
    languageCode="AUTO"
    languageList=""       
    imagePath="images/"
image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs781.ash1/167134_480461497460_100957482460_6403452_7658155_n.jpg" thumbURL="thumbs/event_1.png" linkURL="" linkTarget="" >
</image>

You need to close the opening <simpleviewergallery> tag with a '>' and open the first <image> tag with a '<' like this:

<simpleviewergallery
   
    galleryStyle="Compact"
    title="SimpleViewer Gallery"
    textColor="FFFFFF"
    frameColor="FFFFFF"
    frameWidth="20"
    showOpenButton="TRUE"
    showFullscreenButton="TRUE"   
    maxImageWidth="640"
    maxImageHeight="640"
    useFlickr="false"
    flickrUserName=""
    flickrTags=""
    languageCode="AUTO"
    languageList=""       
    imagePath="images/"

>

<image imageURL="http://sphotos.ak.fbcdn.net/hphotos-ak-ash1/hs781.ash1/167134_480461497460_100957482460_6403452_7658155_n.jpg" thumbURL="thumbs/event_1.png" linkURL="" linkTarget="" >
</image>
Steven Speirs
SimpleViewer Support Team.

Re: Receiving error message: Cannot Parse Gallery XML

Hello

That did work, thank you... but now it will only allow me to load 9 pictures.. whenever I try to add more I get the error message again like I can't have more than that on the gallery.

What am I missing?

Thanks

Re: Receiving error message: Cannot Parse Gallery XML

http://www.simpleviewer.net/simpleviewe … #trouble_9

Felix Turner
SimpleViewer Support Team.

Re: Receiving error message: Cannot Parse Gallery XML

whenever I try to add more I get the error message again like I can't have more than that on the gallery.

What error message? A similar XML parsing error?
As the FAQ that Felix pointed you to says:

To debug the error, open the gallery.xml file in a web browser. Most web browsers will report the specific problem and what line it appears on.

SimpleViewer Standard has a limit of 50 images per gallery but SimpleViewer Pro allows an unlimited number of images (or 500 if using Flickr as the source of the images).
If you continue to experience difficulties, please post a URL to the gallery so that we can take a look.

Steven Speirs
SimpleViewer Support Team.