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

Product image not showing on detail page #74

Open
baljinderimpinge opened this issue Feb 19, 2019 · 20 comments
Open

Product image not showing on detail page #74

baljinderimpinge opened this issue Feb 19, 2019 · 20 comments

Comments

@baljinderimpinge
Copy link

Hi

I have installed this module in my M2 store and have executed all the given commands in installtion it seems to be working for product list page but not on detail page. On product detail page there is no image or placeholder for the product. Can anyone suggest what is issue why I am facing this error.

Thanks

@kin-allan
Copy link

I'm facing the same issue. For the main image it works well, but for resized images it's not working correctly.
Like:
Admin Catalog List = Doesn't show
Admin Product View = Show
Frontend Catalog List =Show
Frontend Product View = Doesn't appear.

Seems like the upload of the cached versions is failing in some requested, then it's generating inconsistently

@dni
Copy link

dni commented Feb 22, 2019

yes seeing the same issue, cached images starting to disappear, also bin/magento catalog:image:resize is failing after some time because images missing and not get synced

@dni
Copy link

dni commented Feb 22, 2019

@thaiphan any hints where to look or what may be the cause? maybe i can look into this.

@baljinderimpinge
Copy link
Author

@thaiphan Can we have any update from your side?

@thaiphan
Copy link
Owner

Hey everyone,

It looks like Magento 2.3 changes the way images are resized, which my extension doesn't support yet.

Please hold tight as I implement changes (I also need to make sure any changes still work in older versions of Magento as well).

Regards,

Thai

@sandip5678
Copy link

@thaiphan any hints where to look or what may be the cause? maybe i can look into this.

have you found any solution for the product detail page.

@kin-allan
Copy link

I see magento has an Observer running after product "save" (commit) that goes to the available view.xml and get the properties and resize using the framework/image.
File: module-catalog/Observer/ImageResizeAfterProductSave.php
Could be it?

@sandip5678
Copy link

Hi Rigodrea, thanks for the response, but this will not work as this observer will call after the product save. here the issue is a little bit different, product image caching URL is not generating so that may be the reason.

@jitunopal
Copy link

@thaiphan Any suggestion from your side to resolve this issue? I am stuck here.

@thaiphan
Copy link
Owner

thaiphan commented Mar 3, 2019

Sorry for taking so long everybody. I've been working non-stop and I'm also in the process of moving houses so life is super hectic for me!

@dni
Copy link

dni commented Mar 3, 2019

@thaiphan it's fine, thanks for your work, one thing though, do you have an estimation when you'll get it done? or do you need help?

@thaiphan
Copy link
Owner

thaiphan commented Mar 4, 2019

@dni

Yeah it'd be great to get help on this!

I've already started on a fix on the branch: feature/fix-image-resize

Regards,

Thai

@baljinderimpinge
Copy link
Author

Hello @thaiphan

When can we expect this issue to be resolved? Please update.

Thanks

@seme1
Copy link

seme1 commented Mar 19, 2019

Any update on this ?

@baljinderimpinge
Copy link
Author

It doesn't seems that anyone is looking on to the issue and its almost a month since I have raised the issue & still we are no where near to the solution.

@dni
Copy link

dni commented Apr 26, 2019

hey, guys, any status on this? my shop now had no images for months, i think i'm gonna uninstall the extension today, still looking forward for a fix.

@Thaipan a status update on whats the problem would be very appreciated, is it just a time issue or is the fix difficult? i dont want to stress, i know you mentioned you are moving.

i dont have the time either to look deeper into the problem.

@taoufiqaitali
Copy link

any solution for cached images not being synchronized after products import???

@niranjan-gondaliya
Copy link

niranjan-gondaliya commented Jun 21, 2019

I'm facing the same issue. For the main image it works well, but for resized images it's not working correctly.
Like:
Admin Catalog List = Doesn't show
Admin Product View = Show
Frontend Catalog List =Show
Frontend Product View = Doesn't appear.

Seems like the upload of the cached versions is failing in some requested, then it's generating inconsistently

Can you please enable SB storage and check for me it working.

php -f bin/magento s3:storage:enable

@niranjan-gondaliya
Copy link

Hello @thaiphan ,

Extession it working fine for Products image and Category image, But cache image not loading in Magento 2 frontend.

catalog/product/cache/aefcd4d8d5c59ba860378cf3cd2e94da/a/v/test.png

You have any idea ?

@khasruch
Copy link

Please check pub/media/.htaccess is deleted? you need to undo this.
run this commend : git checkout pub/media/.htaccess

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

No branches or pull requests

10 participants