View Single Post
  #352  
Old 07-28-2021, 12:29 AM
 
PhilJ PhilJ is offline
 

X-Guru
  
Join Date: Nov 2002
Posts: 4,094
 

Default Re: X-Cart reBOOT (reDUX) Template

Quote:
What kind of storage requirement is needed to keep both?
Not a huge amount, the WEBP images are usually around 60% of the size of the original JPEGs.

Quote:
Couldn't you convert the images during upload, and then delete the original, leaving only the webp ?
That was the plan originally, but this way you don't have to do any extra image uploading, and you can be using WEBP images across your store in minutes, even with thousands of products. You can also enable/disable WEBP images anytime you want.

To integrate WEBP images into the X-Cart core, you need to modify /include/func.image.php, but I couldn't figure it out, so decided to build a separate WEBP image generator instead.
__________________
xcartmods.co.uk
Reply With Quote