Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

Webp Images - Talk To Me! Rate Topic   - - - - -

 

Posted 20 December 2018 - 04:15 PM #1

Google Page Insights recommends changing my images to a next gen format and recommends WebP.  The file size savings are actually huge compared to the other recommendation (JPEG2000) - so I'd really like to find a way to use WebP.

Anyone have any experience with WebP images?  CS Cart won't currently let me upload these images and I know some browsers don't currently support.  Any advice/recommendations?

Thanks chaps



 
  • Flow
  • Super Duper and Amazingly Sexy Senior
  • Members
  • Join Date: 13-Oct 10
  • 2271 posts

Posted 20 December 2018 - 06:08 PM #2

Are you already using imagick?

 

Also, try Shortpixel :)


When life hands you lemons, bring on the Tequila baby!


 

Posted 10 January 2019 - 02:48 PM #3

Hi Flow, I wasn't using imagick, new to me.  Have now installed it on CPanel, but not sure how to use it.  Can you advise?



 

Posted 10 January 2019 - 03:41 PM #4

Also, after I've created the WebP images using ShortPixel, how do I serve/use them?  Shortpixel says I need a plugin?



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19161 posts

Posted 11 January 2019 - 06:24 AM #5

Actually CS-Cart core does not support these types of images. If you want to use them, you should not only install imagick library. Code changes are also required


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 11 January 2019 - 12:07 PM #6

I have Imagick installed on CPanel now - how do I use it with CS Cart?

And what code changes are required?

There is a HUGE advantage to using these, especially on Mobile, so I really want to learn more and implement them if I can.



 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19161 posts

Posted 11 January 2019 - 02:15 PM #7

I have Imagick installed on CPanel now - how do I use it with CS Cart?

And what code changes are required?

There is a HUGE advantage to using these, especially on Mobile, so I really want to learn more and implement them if I can.


Is it is installed correctly, CS-Cart will use it. Also you can defined used library in the config.local.php file
 

'image_resize_lib' => 'auto', // library to resize images - "auto", "gd" or "imagick"

GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.


 

Posted 14 January 2019 - 02:37 PM #8

How can I test if its working with CS Cart properly?  Thanks



 
  • poppedweb
  • Authorized Reseller
  • Members
  • Join Date: 02-Aug 16
  • 493 posts

Posted 14 January 2019 - 02:45 PM #9

How can I test if its working with CS Cart properly?  Thanks

 

Also, do mind that many browsers do not support this filetype. Therefore you should store a seperate jpg and webp image and only server webp when the browser supports it.

 

If you need any help, please contact us.


PoppedWeb | sales@poppedweb.com | https://poppedweb.com
TurnKey Website Design | Add-Ons | Performance Audits | Dedicated Server Management
24/7 Support | Response within an hour (during working hours).

 
  • eComLabs
  • CS-Cart Expert
  • Authorized Reseller
  • Join Date: 27-Jan 14
  • 19161 posts

Posted 15 January 2019 - 06:00 AM #10

How can I test if its working with CS Cart properly?  Thanks

 

Upload new image or clear image thumbnails . If they will be regenerated correctly, everything works ok


GET A FREE QUOTE | CS-Cart Add-ons | CS-Cart Licenses | CS-Cart Development | CS-Cart Design | Server Configuration | UniTheme and YOUPI
CS-Cart                USD 345     Multi-Vendor              USD 1250    CS-Cart RU                         24500 руб.
CS-Cart Ultimate  USD 775     CS-Cart + YOUPI      USD 545      CS-Cart RU + UniTheme    36000 руб.