Magento2: Product images in category not updating, showing placeholder/wrong image

Created on 7 Feb 2020  路  9Comments  路  Source: magento/magento2

Sometimes the store gets stuck on the images and deleting an image does not remove the product category thumbnail version, so you can have two completely different product images in category and product page. And uploading a new product image does not generate a new one leaving the product category image version with a placeholder.

Preconditions (*)

  1. Magento 2.3.3

Steps to reproduce (*)

Don't know. Happens randomly like most other Magento 2 functionality.

Expected result (*)

Category product image should update.

Actual result (*)

Category product image does not update, showing old version.

ready for confirmation Reported on 2.3.3

Most helpful comment

It is not a duplicate.

This is for PRODUCT IMAGES in a category.

Not the category image itself.

All 9 comments

Hi @Zyles. Thank you for your report.
To help us process this issue please make sure that you provided the following information:

  • [ ] Summary of the issue
  • [ ] Information on your environment
  • [ ] Steps to reproduce
  • [ ] Expected and actual results

Please make sure that the issue is reproducible on the vanilla Magento instance following Steps to reproduce. To deploy vanilla Magento instance on our environment, please, add a comment to the issue:

@magento give me 2.4-develop instance - upcoming 2.4.x release

For more details, please, review the Magento Contributor Assistant documentation.

@Zyles do you confirm that you were able to reproduce the issue on vanilla Magento instance following steps to reproduce?

  • [ ] yes
  • [ ] no

Hi @krishprakash. Thank you for working on this issue.
In order to make sure that issue has enough information and ready for development, please read and check the following instruction: :point_down:

  • [ ] 1. Verify that issue has all the required information. (Preconditions, Steps to reproduce, Expected result, Actual result).
    DetailsIf the issue has a valid description, the label Issue: Format is valid will be added to the issue automatically. Please, edit issue description if needed, until label Issue: Format is valid appears.
  • [ ] 2. Verify that issue has a meaningful description and provides enough information to reproduce the issue. If the report is valid, add Issue: Clear Description label to the issue by yourself.

  • [ ] 3. Add Component: XXXXX label(s) to the ticket, indicating the components it may be related to.

  • [ ] 4. Verify that the issue is reproducible on 2.4-develop branch

    Details- Add the comment @magento give me 2.4-develop instance to deploy test instance on Magento infrastructure.
    - If the issue is reproducible on 2.4-develop branch, please, add the label Reproduced on 2.4.x.
    - If the issue is not reproducible, add your comment that issue is not reproducible and close the issue and _stop verification process here_!

  • [ ] 5. Add label Issue: Confirmed once verification is complete.

  • [ ] 6. Make sure that automatic system confirms that report has been added to the backlog.

Hi @Zyles.
Issue is duplicate to #25099
Issue is fixed in 2.3.4
You can review the feedback from above given issue link.
Thanks.

It is not a duplicate.

This is for PRODUCT IMAGES in a category.

Not the category image itself.

Re-open please.

I was banging my head against a wall while setting up a new category and images not working. On the frontend, category images were broken and inspecting the broken image showed the file path duplicating parts of the URL. The backend meanwhile was fine.

Reverting to the 2.3.2 version of /vendor/magento/module-catalog/Model/Category/Attribute/Backend/Image.php fixed this.

Please include this in the next release!

i found a similar issue. I am not sure, if it is the same issue.
After you add an image (or multiple) to a product, and the product page got NOT requested, the product image got not replaced on the category page.
After you have requested the product page the image will appear on the category page (if you activated full_page cache: clear full_page cache)

@magento give me 2.3-develop instance

Hi @rommelfreddy. Thank you for your request. I'm working on Magento 2.3-develop instance for you

Was this page helpful?
0 / 5 - 0 ratings