Jump to content
gray

Default "No Image Available" image does not work ?

Recommended Posts

You can change the "no image" picture in Back-end under the International/Localization/Languages tab -> Languages, Then edit the language selected. Then update "No-picture" image.

 

However in selecting a default 'no image', it does not seem to remember the selection. Then regen all thumbnail images, and clear PS cache and clear Browser cache. Still nothing works.

 

The images have been generated in Prestashop directory images/p/en-default-cart_default.jpg etc and also in Prestashop directory images/c/

 

Anybody have the same problem, and a work around.

  • Thanks 1

Share this post


Link to post
Share on other sites

Hi ive just regenerated the thumbnails and the same thing happened, but only images missing is the default main pic and only since about march. Older images are still all there. So ive just manually re did a ton of product images....

Share this post


Link to post
Share on other sites

RRrrrr I have same problem :-(

Does anyone solve this?

 

I think it's the format of pics because I have a little square instead picture in product and i can click on it .

Off course "blank" screen is display

Share this post


Link to post
Share on other sites

I fix this issue with this tips:

  1. download an older prestashop version (ps 1.6)
  2. copy the default images from /img/p
  3. upload the default images in your-prestashop-folder/img/p
  4. do the same also for the categories' images from img/c
  5. regenerate all the images

 

best regards,

Matteo

Share this post


Link to post
Share on other sites

A temporal solution for PS 1.7.4.3 until prestashop fix it in an official way:

1º Go to /img/p/ and download files: 

es-default-cart_default.jpg

es-default-home_default.jpg

es-default-large_default.jpg

es-default-medium_default.jpg

es-default-small_default.jpg

change with the image you want and upload again.

 

Go to /theme/YOURTHEME/templates/catalog/_partials/miniatures/product-listrgrid.tpl

And add this in product-listrgrid.tpl

{if count($product.images) < 1 }
        <a href="{$product.url}" class="thumbnail product-thumbnail">
            <img
              src = "https://www.YOURWEBSITE.com/img/p/es-default-medium_default.jpg"
              alt = "{$product.cover.legend}"
              data-full-size-image-url = "{$product.cover.large.url}"
            >
{/if}

          <a href="{$product.url}" class="thumbnail product-thumbnail">
            <img
              src = "{$product.cover.bySize.home_default.url}"
              alt = "{$product.cover.legend}"
              data-full-size-image-url = "{$product.cover.large.url}"
            >
             {if count($product.images) > 1 }
         {hook h="displayTmHoverImage" id_product=$product.id_product home='home_default' large='large_default'}
       {/if} 

Go to /themes/YOURTHEME/templates/catalog/_partials/product-cover-thumbnails.tpl

And add this in product-cover-thumbnails.tpl

change green

<img class="js-qv-product-cover" src="https://www.YOURWEBSITE.com/img/p/es-default-large_default.jpg" alt="{$product.cover.legend}" title="{$product.cover.legend}" style="width:100%;" itemprop="image">

 

Clear cache

 

 

Share this post


Link to post
Share on other sites
Guest dragos_mircea

Hi guys,

I hope that you figured out this issue. The single thing I did was to got to my theme assets/img/ where from I downloaded 2 files (JPEG's) and then I modified those files as I wanted to look.

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More