Jump to content

Insert static images into product page?


Recommended Posts

In addition to the thumbnails/shadow box, is there a way to add static images into the product page where it just kinda show the full size without having to click? Something along the line with this page where you can scroll down and see images simply sitting there.

 

http://shoesparty.shop.rakuten.tw/s2-13501f/

 

Each product will have its own images.

 

Please let me know, thanks :)

Edited by panupat (see edit history)
Link to comment
Share on other sites

Hi... I really need to do this. Can anyone give me a hand please?

 

Could be something simple... like, having an image with the name matching product name and do an if check if the file exist.

 

I couldn't figure out the syntax. Appreciate any help

{if file_exists( http://mysite/dir/dir/{$product->name|escape:'htmlall':'UTF-8'})}
    <img src="http://mysite/dir/dir/{$product->name|escape:'htmlall':'UTF-8'}">
{/if}

Something like this.

Link to comment
Share on other sites

im not sure if this is what you're looking for, but try with:

<img src="{$link->getImageLink($product->link_rewrite, $cover.id_image, 'large_default')|escape:'html'}"{if $jqZoomEnabled && $have_image} class="jqzoom"{/if} title="{$product->name|escape:'htmlall':'UTF-8'}" alt="{$product->name|escape:'htmlall':'UTF-8'}" id="bigpic" width="{$largeSize.width}" height="{$largeSize.height}"/>

large_default is a type of an image to dispaly, you can use any type you want (defined in the preferences > images tab in your back office)

Link to comment
Share on other sites

×
×
  • Create New...