Topic: images are X's but paths seem fine :(

Can someone check this code for me?  Locally, my viewer displays everything beautifully, but I get X's for the images and thumbs on the site.  The images and such are in a file called portraits and all this is in a subdirectory that the domain is pointed to.

www.thepersianphotographer.com/portraits.html

The XML file is below:

<?xml version="1.0" encoding="UTF-8"?>
<simpleviewergallery maxImageWidth="500" maxImageHeight="480" textColor="0xFFFFFF" frameColor="0xFFFFFF" frameWidth="10" stagePadding="40" navPadding="40" thumbnailColumns="5" thumbnailRows="1" navPosition="bottom" vAlign="center" hAlign="center" title="" enableRightClickOpen="false" backgroundImagePath="" imagePath="" thumbPath="">
<image>
    <filename>family.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>
<image>
    <filename>xmas.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>
<image>
    <filename>tannaz.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>
<image>
    <filename>renee.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>
<image>
    <filename>girl.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>
<image>
    <filename>grass.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>
<image>
    <filename>jewels.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>
<image>
    <filename>beth.jpg</filename>
    <caption><![CDATA[]]></caption>    
</image>


</simpleviewergallery>

Last edited by RachelRaynes (2009-12-16 20:53:53)

Re: images are X's but paths seem fine :(

The page seems to be working fine for me, try clearing your browser cache.

Mike Richards
SimpleViewer Support Team.

Re: images are X's but paths seem fine :(

www.thepersianphotographer.com/portraits works

but www.thepersianphotographer.com/portraits.html is not working.

It is embedded in the html file improperly.

Re: images are X's but paths seem fine :(

Update your imagePath="" thumbPath="" in your gallery.xml to imagePath="/portraits/images" thumbPath="/portraits/thumbs"

Mike Richards
SimpleViewer Support Team.

Re: images are X's but paths seem fine :(

That didn't fix it.  The gallery.xml file is in a file called portraits that included the images and thumbs files.  With the new image and thumb path, the viewer no longer works locally.

Re: images are X's but paths seem fine :(

yes, but is should work for www.thepersianphotographer.com/portraits.html

Mike Richards
SimpleViewer Support Team.

Re: images are X's but paths seem fine :(

I cleared my cache, but I don't see that it has worked. : (  Do you think there is a problem with the folders?

Last edited by RachelRaynes (2009-12-17 04:14:51)

Re: images are X's but paths seem fine :(

Your thumbPath and imagePath should be:

imagePath="portraits/images/" thumbPath="portraits/thumbs/"

(They should end with a training slash rather than start with one.)

Steven Speirs
SimpleViewer Support Team.

Re: images are X's but paths seem fine :(

you're fantastic : )