View Full Version : Image thumbnail gallery is not working for me

07-27-2008, 06:47 AM
I am new web designer, building my own website with artwork. So i need to handle a lot of images.
I am using spryframework with AJAX and did a photogallery with thumbnails and images.
I want the image to open just like the way in image thumbnail gallery.
I did everything, even tried changing z-index, clearing cache
but, the big image is just opening with plain ahref="" code.

<table width="773" height="299" align="center">

<td width="388">

<div id="main_photo" spry:detailregion="dsGallery">

<a href="images/zoom_paintings/oil/{@zoompath}" rel="thumbnail">
<img src="images/paintings/oil/{@path}" title="Click to zoomin" >


<td width="388">

<div id="thumb_photo" spry:region="dsGallery">
<img src="images/t_paintings/t_oil/{@thumbpath}" title="Click to View" spry:repeat="dsGallery" class="thumbs" onClick="dsGallery.setCurrentRow('{ds_RowID}');" /> </div>


07-27-2008, 01:44 PM
That code looks fairly non-standard, as though it were using xml namespaces. But I cannot be sure, it also looks like it might be using some kind of server side code, or that you copied a template and forgot/didn't know to fill in the specifics. However, unless someone just happens to be familiar with the exact sort of setup you are using and can recognise that code, you won't get much help here without posting a link to the page:

Please post a link to the page on your site that contains the problematic code so we can check it out.

And, even at that, if the problem isn't primarily with javascript (the forum you've posted in), we may still not be able to help.

There must be one, probably several spry help forums out there, perhaps one of those would be a better fit for this question.

But if you post a link to your problem page, we will have a go at it.