induu
07-27-2008, 06:47 AM
Hi,
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">
<tr>
<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" >
</a>
<br/>
Name:{@path}
</div>
</td>
<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>
</td>
</tr>
</table>[/LEFT]
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">
<tr>
<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" >
</a>
<br/>
Name:{@path}
</div>
</td>
<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>
</td>
</tr>
</table>[/LEFT]