oc-shopaholic-plugin icon indicating copy to clipboard operation
oc-shopaholic-plugin copied to clipboard

Images loading infinitely

Open kasperbb opened this issue 4 years ago • 7 comments

Any and all images are just loading infinitely. This is happening in both Firefox and Chrome. I've tried images of all sizes.

kasperbb avatar Apr 23 '20 10:04 kasperbb

Please describe your problem in more detail. What theme are you using?

kharanenka avatar Apr 23 '20 11:04 kharanenka

I'm using the "Sneakers E-Commerce Theme for Shopaholic" theme. Any images I add just load on the frontend for eternity. Here is an image of the website and the html element: https://i.imgur.com/kUTHTtl.png - if that is any help.

EDIT: After a while this happened: https://i.imgur.com/iAVvCd8.png EDIT 2: I haven't done anything, but it's back up, but still loading: https://i.imgur.com/ybfTSmm.png EDIT 3: An image showed up when in the cart: https://i.imgur.com/w4Ty7eY.png - it wasn't there before, I checked.

kasperbb avatar Apr 23 '20 11:04 kasperbb

  1. Your server should has php extension for generation webp images. If you cannot install this extension, then you will have to remove the generation of images in web format in tempaltes. This format gives you more points in google pagespeed. if you turn it off, you won’t get the maximum points from goolge pagespeed.
  2. https://i.imgur.com/iAVvCd8.png You should increase php memory limits.

kharanenka avatar Apr 23 '20 14:04 kharanenka

I have Image Resizer installed, which I think can do that. It was a requirement of the theme anyway. I'll look more into it, but if it can't - do you have any recommendations?

kasperbb avatar Apr 23 '20 14:04 kasperbb

I do not mean "Image Resizer" plugin. I mean php extension that converts images from "jpeg/png" to "webp" format. It is configuration of GD php extension with support of webp format.

kharanenka avatar Apr 23 '20 14:04 kharanenka

I've tried adding this plugin: https://octobercms.com/plugin/offline-responsiveimages. It does not seem to work. Or do you mean something more like this: https://github.com/wiz-comunicaciones/webp-implementation?

kasperbb avatar Apr 27 '20 08:04 kasperbb

I mean settings of your PHP server. You must change settings of our PHP server. You should enable php GD extension with webp format support. https://www.php.net/manual/en/image.installation.php

kharanenka avatar Apr 29 '20 09:04 kharanenka