Sveakungen Posted December 7, 2023 Share Posted December 7, 2023 Hi! I have changed the size of small_default product images from 98 px to 125 px. Have regenerated them. I also changed my P-list to use that image type. Yet it still shows up as native 98 px, I cleared cache and all.... The P folder is showing the images in the new size though. Any advice? Changes to plist code: {* * @Module Name: AP Page Builder * @Website: apollotheme.com - prestashop template provider * @author Apollotheme <[email protected]> * @copyright Apollotheme * @description: ApPageBuilder is module help you can build content for your shop *} {block name='product_thumbnail'} {if isset($cfg_product_list_image) && $cfg_product_list_image} <div class="leo-more-info" data-idproduct="{$product.id_product}"></div> {/if} {if $product.cover} {if isset($formAtts) && isset($formAtts.lazyload) && $formAtts.lazyload} {* ENABLE LAZY LOAD OWL_CAROUSEL *} {if $lmobile_swipe && $isMobile} <div class="product-list-images-mobile"> <div> {/if} <a href="{$product.url}" class="thumbnail product-thumbnail"> <img class="img-fluid lazyOwl" src = "" data-src = "{$product.cover.bySize.small_default.url}" alt = "{$product.cover.legend}" data-full-size-image-url = "{$product.cover.large.url}" > {if isset($cfg_product_one_img) && $cfg_product_one_img} <span class="product-additional" data-idproduct="{if $lmobile_swipe && $isMobile}0{else}{$product.id_product}{/if}"></span> {/if} </a> {if $lmobile_swipe == 1 && $isMobile} </div> {foreach from=$product.images item=image} {if $product.cover.bySize.home_default.url != $image.bySize.small_default.url} <div> <a href="{$product.url}" class="thumbnail product-thumbnail"> <img class="img-fluid thumb js-thumb {if $image.id_image == $product.cover.id_image} selected {/if}{if $aplazyload} lazy{/if}" data-src="{$image.bySize.small_default.url}" alt="{$image.legend}" title="{$image.legend}" itemprop="image" > </a> </div> {/if} {/foreach} <div> {/if} {else} {if $lmobile_swipe == 1 && $isMobile} <div class="product-list-images-mobile"> <div> {/if} <a href="{$product.url}" class="thumbnail product-thumbnail"> <img class="img-fluid" src = "{$product.cover.bySize.small_default.url}" alt = "{$product.cover.legend}" data-full-size-image-url = "{$product.cover.large.url}" > {if isset($cfg_product_one_img) && $cfg_product_one_img} <span class="product-additional" data-idproduct="{if $lmobile_swipe && $isMobile}0{else}{$product.id_product}{/if}"></span> {/if} </a> {if $lmobile_swipe == 1 && $isMobile} </div> {foreach from=$product.images item=image} {if $product.cover.bySize.home_default.url != $image.bySize.small_default.url} <div> <a href="{$product.url}" class="thumbnail product-thumbnail"> <img class="thumb js-thumb img-fluid {if $image.id_image == $product.cover.id_image} selected {/if}" src="{$image.bySize.small_default.url}" alt="{$image.legend}" title="{$image.legend}" itemprop="image" > </a> </div> {/if} {/foreach} </div> {/if} {/if} {else} <a href="{$product.url}" class="thumbnail product-thumbnail leo-noimage"> <img class="img-fluid" {if $aplazyload}class="lazy" data-src{else}src{/if} = "{$urls.no_picture_image.bySize.home_default.url}" > </a> {/if} {/block} Link to comment Share on other sites More sharing options...
Soluzioni PhP Posted December 7, 2023 Share Posted December 7, 2023 Browse cache? The latest version of Chrome is really messing with the cache Link to comment Share on other sites More sharing options...
Sveakungen Posted December 8, 2023 Author Share Posted December 8, 2023 15 hours ago, Soluzioni PhP said: Browse cache? The latest version of Chrome is really messing with the cache 15 hours ago, Soluzioni PhP said: Browse cache? The latest version of Chrome is really messing with the cache No, it does not help... but it helped to create a new image-group. Then it finally showed the size stated. Link to comment Share on other sites More sharing options...
Soluzioni PhP Posted December 8, 2023 Share Posted December 8, 2023 so have you solved it? Link to comment Share on other sites More sharing options...
Sveakungen Posted December 8, 2023 Author Share Posted December 8, 2023 Yes! Link to comment Share on other sites More sharing options...
Soluzioni PhP Posted December 8, 2023 Share Posted December 8, 2023 Perfect!! I am happy for you Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now