magento2-s3 icon indicating copy to clipboard operation
magento2-s3 copied to clipboard

Product image not showing on detail page

Open baljinderimpinge opened this issue 6 years ago • 20 comments

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

baljinderimpinge avatar Feb 19 '19 13:02 baljinderimpinge

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

kin-allan avatar Feb 19 '19 18:02 kin-allan

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 avatar Feb 22 '19 09:02 dni

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

dni avatar Feb 22 '19 09:02 dni

@thaiphan Can we have any update from your side?

baljinderimpinge avatar Feb 22 '19 12:02 baljinderimpinge

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

thaiphan avatar Feb 24 '19 21:02 thaiphan

@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.

sandip5678 avatar Feb 26 '19 13:02 sandip5678

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?

kin-allan avatar Feb 26 '19 13:02 kin-allan

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.

sandip5678 avatar Feb 26 '19 15:02 sandip5678

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

jitunopal avatar Feb 27 '19 04:02 jitunopal

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!

thaiphan avatar Mar 03 '19 11:03 thaiphan

@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?

dni avatar Mar 03 '19 12:03 dni

@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

thaiphan avatar Mar 04 '19 00:03 thaiphan

Hello @thaiphan

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

Thanks

baljinderimpinge avatar Mar 07 '19 10:03 baljinderimpinge

Any update on this ?

seme1 avatar Mar 19 '19 08:03 seme1

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.

baljinderimpinge avatar Mar 19 '19 12:03 baljinderimpinge

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.

dni avatar Apr 26 '19 07:04 dni

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

taoufiqaitali avatar May 27 '19 15:05 taoufiqaitali

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 avatar Jun 21 '19 13:06 niranjan-gondaliya

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 ?

niranjan-gondaliya avatar Jun 21 '19 13:06 niranjan-gondaliya