Jump to content

Recommended Posts

hi

i'm a new user for using this prestashop. currently i'm using oscommerce and i'm thinking to move to prestashop.

before i decide this system i would like to ask question

is it possible to showing all my full image product to below. let say i have 3 images upload and it will be showing

 

Image 1 (full size)

Image 2 (full Size)

image 3 (full size)

 

is this possible ?

Thanks

Link to comment
Share on other sites

Have a look to product.tpl, in your Themes folder.

In the section Thumbnails of this TPL file, you can see $images which is an array containing the list of images of the current product. Thanks to that you could probably display all images.

 

Here is sample of code (notice: I didn't test it), where image'large size is displayed.

 

{foreach from=$images item=image }
{assign var=imageIds value="`$product->id`-`$image.id_image`"}
<img src="{$link->getImageLink($product->link_rewrite, $imageIds, 'large')}" height="{$largeSize.height}" width="{$largeSize.width}" />
{/foreach}

 

Hope it helps.

Thierry

Link to comment
Share on other sites

×
×
  • Create New...