hallo. möchte in der productlisting über das artikelbild ein icon mit einer lupe legen mit einem link per click -> zoom bild in der thickbox öffnet.
momentaner stand. lupe wird angezeigt. thickbox öffnet sich - es wird aber kein Bild angzeigt. und icon verschiebt das artikelbild. schein wohl nicht über dem artikelbild zu liegen. kann mal jemand über das script schauen und mir vielleicht eine lösung bieten? das wäre echt super :-)
PHP-Code:
{if $module_data.products_image!=''}
<div class="productPreviewImage">
<a onfocus="if(this.blur)this.blur()" href="{$module_data.products_link}">
{img img=$module_data.products_image type=m_thumb class=productImageBorder alt=$module_data.products_name}
</a>
<a onfocus="if(this.blur)this.blur()" href="{img img=$data.products_image type=m_popup path_only=true}" class="thickbox">
{if $module_data.products_image}<img class="lupe" src="{$tpl_url_path}/img/lupe.png" />{/if}
</a>
</div>
{/if}
HTML-Code:
.productPreviewImage lupe { position:absolute; z-index:2; right:5px; bottom:5px; }