Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Wrong Product Image Showing on Category Page #159

Open
faizanjaliyawala opened this issue Feb 29, 2024 · 1 comment
Open

Wrong Product Image Showing on Category Page #159

faizanjaliyawala opened this issue Feb 29, 2024 · 1 comment

Comments

@faizanjaliyawala
Copy link

Magento Version: 2.4.6-p2
NextGenImages Version: 0.5.0
Webp2 Version: 0.12.5

On listing page, for some products incorrect webp image is showing. If I open product page, it is showing correct image. When I inspected listing page, I found that cache image (jpg) is correct one, only issue is with webp cache image.

https://i.imgur.com/46I80DN.jpeg
https://i.imgur.com/JVTnrmC.jpeg

I flushed entire images cache twice. Initially, it shown correct images. Later on, issue came again.

@jissereitsma
Copy link
Contributor

If you have an JPG image version 1, you can use this extension to create a WebP image version 1. If you then replace the JPG image version 1 to version 2, the timestamp logic of this extension is to make sure that the WebP image needs to be upgraded as well. This assumes that the timestamp can be checked, so this does not work with external filesystems (S3, etc). Could you check the timestamps?

You say you "flush entire image cache". Did you try to actually review this on the filesystem? What happens if you not click buttons but just remove the files on the filesystem?

Did you test this with all of the caches disabled?

By the way, could you first upgrade the WebP extension to the latest version? That way, we prevent investing costly time into bugs that are already fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants