Quote:
Originally Posted by Zaja
Amy, thickbox_productpage.tpl:
Code:
{if $images ne ""}
<div style="white-space:nowrap;color:#D90000;font-weight:bold;padding:2px;margin:10px 0 4px;">{$lng.lbl_detailed_images} ¬</div>
<div style="display:inline;border:0;padding:2px;">
{section name=image loop=$images}
{if $images[image].avail eq "Y"}
{if $images[image].tmbn_url}
<a href="{$images[image].tmbn_url}" title="{$images[image].alt|escape}" rel="[detailed]"><img src="{$images[image].tmbn_url}" width="60" alt="{$lng.lbl_click_to_enlarge|escape}" /></a>
{else}
<a href="{$xcart_web_dir}/product_image.php?imageid={$images[image].imageid}" title="{$images[image].alt|escape}" rel="[detailed]"><img src="{$images[image].tmbn_url}" width="60" alt="{$lng.lbl_click_to_enlarge|escape}" /></a>
{/if}
{/if}
{/section}
</div>
{/if}
{* adjust widht with following spacer *}
<img src="{$ImagesDir}/spacer.gif" width="200" height="1" alt="" />
INPORTANT: Open skin1.css, find PImgBox class and remove width: 100px; property.
|
I used that code but thickbx stopped working, the thumbnails just linked to the large image .jpg rather than loading the image using AJAX
Also, another queston while I'm at it
How do you change/remove edit the 'Detailed images ╛' text that appears avove the thumbnails?