Mindz Posted January 8, 2014 Share Posted January 8, 2014 Hi there, I have a problem with product thumbnails, I regenerated 'ALL' thumbnails and now this is what I have, please can you help me understanding what went wrong? Thanks!! Link to comment Share on other sites More sharing options...
vekia Posted January 8, 2014 Share Posted January 8, 2014 weird, what image type you use? jpeg or png ? Link to comment Share on other sites More sharing options...
walidon Posted January 8, 2014 Share Posted January 8, 2014 can you provide a link! i think it is something related with the settings of your theme... Link to comment Share on other sites More sharing options...
Mindz Posted January 8, 2014 Author Share Posted January 8, 2014 Well, its .jpg Thumbnail size in 80x80px, I have tried everything, the code in product.tpl is: <!-- thumbnails --> <div id="views_block" {if isset($images) && count($images) < 2}class="hidden"{/if}> {if isset($images) && count($images) > 3}<span class="view_scroll_spacer"><a id="view_scroll_left" class="hidden" title="{l s='Other views'}" href="javascript:{ldelim}{rdelim}">{l s='Previous'}</a></span>{/if} <div id="thumbs_list"> <ul id="thumbs_list_frame"> {if isset($images)} {foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} <li id="thumbnail_{$image.id_image}"> <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}"> <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> </a> I have tried to change all medium (size 720px x 220px) and replace to thumb_scene (size 80px x 80px) but still no result! Very, VERY, frustrating.... Link to comment Share on other sites More sharing options...
Mindz Posted January 8, 2014 Author Share Posted January 8, 2014 (edited) https://www.wryst-timepieces.com/en/swiss-sport-watch/yellow-sport-watch.html Edited January 7, 2021 by Mindz URL changed (see edit history) Link to comment Share on other sites More sharing options...
walidon Posted January 8, 2014 Share Posted January 8, 2014 (edited) can you go to you BO, préférences->images, then check the medium_default diensions? if the dimension is not like you want change them and see the result after regenerating images... Edited January 8, 2014 by walidon (see edit history) Link to comment Share on other sites More sharing options...
Mindz Posted January 8, 2014 Author Share Posted January 8, 2014 Now fixed, sorry guys, was looking at the wrong product.tpl... Link to comment Share on other sites More sharing options...
walidon Posted January 8, 2014 Share Posted January 8, 2014 can u tell how did u fix it? Link to comment Share on other sites More sharing options...
Mindz Posted January 8, 2014 Author Share Posted January 8, 2014 I have removed all 'medium' words in the theme's product.tpl and replaced by the word 'thumbnail' as follow (there was only 3): <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" /> to: <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'thumbnail')}" alt="{$image.legend|htmlspecialchars}" height="{$thumbnailSize.height}" width="{$thumbnailSize.width}" /> Then in back office, preferences - image - I added a new entry call 'thumbnail' with resolution 80px x 80px, and ticked products and categories. I refreshed the page (Enable forced compilation and disable cache) and there they where... SQUARE Thanks for your time!! BTW, I am using PS 1.4.0.17.... Link to comment Share on other sites More sharing options...
vekia Posted January 9, 2014 Share Posted January 9, 2014 thank you for detailed explanation what was wrong, im convinced that this will be helpful for other merchants now i can go ahead and mark this as solved with regards, Milos Link to comment Share on other sites More sharing options...
NanMar Posted November 12, 2014 Share Posted November 12, 2014 Help I am still having a problem with thumbnails. i am not having a problem with the size of the image but of the square where in the image goes in, somehow my thumbnails are only 31 px high. Trying to find code to change. Site: http://www.nantucketmarket.com/marketstore/35-fruits Link to comment Share on other sites More sharing options...
Recommended Posts