Jump to content

how to display all product images on product page


Recommended Posts

in themes/prestashop/product.tpl
the images are already displayed but you just need to move them around the page.
check this part of the code especially:

getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" />



By experimenting you'll soon accomplish what you need

Link to comment
Share on other sites

it is very easy.
getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" />

you see "medium" above in the HTML, change it to large will get the large size pic. you do need CSS skill to modify the page layout.

also, in product.tpl file,find" id}-{$image.id_image}-large.jpg" width="950" height="950" alt="{$image.legend|htmlspecialchars}" title="{$image.legend|htmlspecialchars}" />
"

change the width or height here, also change the "large" to other name of the pic. find the pic under img/p folder.

if you can't figure it out now, then you need to find someone to help you.

Link to comment
Share on other sites

×
×
  • Create New...