Jump to content
thirty bees forum
  • 0

Auto regenerate thumbnails


eryk172

Question

Hi,

Actually my product after added have a default thumbnail and i must go to admin panel > Photos Regeneration thumbnails.

and again.. again.. after added products 🙂

How to automatically regenerate of thumbnails ? Maybe cron? You know?

Best regards! 🙂

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

I've got a related problem If I enable webp images, only the first three products seem to convert on the bar code diagram under the switch, and images stop working on the front page. My shared server space costs under £3 a month so I guess it's a server limit -  but that's a wild guess.

Link to comment
Share on other sites

  • 0

Hi,

I have installed the latest version.
Problem witch new products thumbnails is gone.

but.. i have problem witch modal box:

Recomendations products don't have image thumbnails.. where is problem?

Images settings:

 

 

Deleting generate thumbnails, reset indexation status, regenerate all thumbnails  doesn't help 😕

 

Best regards!

 

 

Edited by eryk172
Link to comment
Share on other sites

  • 0
{if isset($orderProducts) && is_array($orderProducts) && !empty($orderProducts)}
<div class="crossseling-content">
    <h3>
        {l s='Customers who bought this product also bought:' mod='blockcart'}
    </h3>
    <div class="row" id="blockcart_list">
        {foreach from=$orderProducts item='orderProduct' name=orderProduct}
        <div class="col-xs-6 col-sm-4 col-md-3">
            <div class="thumbnail">
                <a class="lnk_img" href="{$orderProduct.link|escape:'html':'UTF-8'}" title="{$orderProduct.name|htmlspecialchars}">
                    <!--               <img class="img-responsive" src="{$orderProduct.image}" alt="{$orderProduct.name|htmlspecialchars}"> -->
                                  {if !empty($lazy_load)}
                                    <noscript>
                                      <img src="{$link->getImageLink($orderProduct.link_rewrite, $orderProduct.id_image, 'small_default', null, ImageManager::retinaSupport())|escape:'html'}"
                                           alt="{$orderProduct.legend|escape:'html':'UTF-8'}"
                                           width="{getWidthSize|intval type='small_default'}"
                                           height="{getHeightSize|intval type='small_default'}"
                                      >
                                    </noscript>
                                  {/if}
                                  <picture class="img-responsive{if !empty($lazy_load)} tb-lazy-image{/if}">
                                    <!--[if IE 9]><video style="display: none;"><![endif]-->
                                    {if !empty($webp)}
                                    <source {if !empty($lazy_load)}srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII= 1w" data-{/if}srcset="{$link->getImageLink($orderProduct.link_rewrite, $orderProduct.id_image, 'small_default', 'webp', ImageManager::retinaSupport())|escape:'html'}"
                                            sizes="1px"
                                            type="image/webp"
                                    >
                                    {/if}
                                    <!--[if IE 9]></video><![endif]-->
                                    <img {if !empty($lazy_load)}srcset="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII= 1w" data-{/if}srcset="{$link->getImageLink($orderProduct.link_rewrite, $orderProduct.id_image, 'small_default', null, ImageManager::retinaSupport())|escape:'html'}"
                                         {if !empty($lazy_load)}src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII="{/if}
                                         sizes="1px"
                                         alt="{$orderProduct.legend|escape:'html':'UTF-8'}"
                                         width="{getWidthSize|intval type='small_default'}"
                                         height="{getHeightSize|intval type='small_default'}"
                                    >
                                  </picture>
                </a>
            </div>
            <h4 class="product-name">
                <a href="{$orderProduct.link|escape:'html':'UTF-8'}" title="{$orderProduct.name|htmlspecialchars}">
                    {$orderProduct.name|truncate:18:'...'|escape:'html':'UTF-8'}
                </a>
            </h4>
            {if $orderProduct.show_price == 1 AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}
            <span class="price_display">
                <span class="price">
                    {convertPrice price=$orderProduct.displayed_price}
                </span>
            </span>
            {/if}
        </div>
        {/foreach}
    </div>
</div>
{/if}

 

.../themes/community-theme-default/modules/blockcart/crossselling.tpl

 

 

I have solution for this problem.

Thanks for help! 🙂

Edited by eryk172
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...