*

KaloSex

  • ****
  • 139 posts
problem with webp images
« on: February 14, 2023, 02:59:24 AM »
i enable the webp but on listing i still see the jpg images. If i enable the 3 replace option on the configuration, i see the webp images on the listings that got added before i bought the plugin but on the rest listing there are no images. I try to go media to regenerate images, but i get on browser HTTP ERROR 500. I tried many times.

On the page shows There is unfinished image regeneration from date 2023-02-14 with batch #45, completed on 6.9%.

if i click reset, or continue, i get again the error 500. So i am bit stuck and unable to use the plugin. Any idea?

on debug i see this:
[14-Feb-2023 03:47:02 Europe/Athens] PHP Deprecated:  Implicit conversion from float 129.70866141732284 to int loses precision in /home/hru33ujxrs7c/public_html/oc-includes/osclass/classes/ImageProcessing.php on line 794
« Last Edit: February 14, 2023, 03:02:48 AM by KaloSex »

Marked as best answer by frosticek on February 15, 2023, 10:46:24 AM
*

MB Themes

Re: problem with webp images
« Reply #1 on: February 14, 2023, 12:13:41 PM »
@KaloSex
You need latest version of osclass to be able to regenerate images in batch. Otherwise you endup with this error.
Not quite sure why you got it in batch mode, try to increase maximum run time and memory in PHP settings, it's resource extensive process.
Error can be ignored.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

KaloSex

  • ****
  • 139 posts
Re: problem with webp images
« Reply #2 on: February 15, 2023, 12:26:08 AM »
ok i increased run time to 50000 and memory to 128m and it was able to regenerate the 64 images. I wonder what would happen if they were few thousands, but anyway, for me problem solved
« Last Edit: February 15, 2023, 12:40:42 AM by KaloSex »

*

MB Themes

Re: problem with webp images
« Reply #3 on: February 15, 2023, 10:46:18 AM »
128MB memory is really not too much.
If there is more data than can be handled in execution time, Osclass should stop and tell you to continue with another batch.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

problem with webp images
« Reply #4 on: March 10, 2023, 04:24:37 AM »
Hello,

I have done all the installations for the webp to work, in fact I managed to create the conversion from jpg to .webp however the button to activate the option to use imagick instead of gd does not activate.

how can I activate this option??

I generate without problems the webp from through the option to generate thumbnails but not from the button that is in the above screenshot


*

MB Themes

Re: problem with webp images
« Reply #5 on: March 10, 2023, 04:33:11 PM »
Webp class is missing in imagemagick. Check with hosting provider.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots