WebP imange extension for opencart

brianminh

New member
XNullUser
Joined
Oct 9, 2021
Messages
2
Reaction score
29
Points
3
NullCash
222
This extension integrates WebP into OpenCart, and adds WebP images to the page if the browser supports it. Browser support for WebP is detected based on a user-agent check. If WebP support is detected, the extension will output webp format images, otherwise the original cached images(png, jpg, gif) will be displayed.

WebP images are generated with php GD library.
You need to have WebP Support enabled in GD library in order to use this module.
You can check if the webp support is enabled on your server php by: asking the hosting support or using the php functions phpinfo() or gd_info(), or just install the module and if it is not working, uninstall it.

Installation:
This is a plug and play modification without any settings.
Install it with Extension Installer and don't forget to refresh the modification cache.
The new webp images are stored in the image/cachewebp folder next to the default image/cache folder.
The webp quality is set to 90, best in most cases. If you want to change it, you have to do it in the ocmod file. In this case you have to manually clean the cachewebp folder in order to replace the cached images.


Compatibility
3.0.2.0, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 4.0.0.0_b, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 2.3.0.2, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2
 

Attachments

  • webp-gd-oc3.ocmod.zip
    1.2 KB · Views: 35

afdivi

New member
XNullUser
Joined
Oct 16, 2021
Messages
7
Reaction score
0
Points
1
NullCash
4
Thank you!
 

catalin013

New member
XNullUser
Joined
Nov 14, 2021
Messages
21
Reaction score
0
Points
1
NullCash
28
good
 

webinfox

Member
XNullUser
Joined
May 27, 2021
Messages
227
Reaction score
20
Points
18
NullCash
14
This extension integrates WebP into OpenCart, and adds WebP images to the page if the browser supports it. Browser support for WebP is detected based on a user-agent check. If WebP support is detected, the extension will output webp format images, otherwise the original cached images(png, jpg, gif) will be displayed.

WebP images are generated with php GD library.
You need to have WebP Support enabled in GD library in order to use this module.
You can check if the webp support is enabled on your server php by: asking the hosting support or using the php functions phpinfo() or gd_info(), or just install the module and if it is not working, uninstall it.

Installation:
This is a plug and play modification without any settings.
Install it with Extension Installer and don't forget to refresh the modification cache.
The new webp images are stored in the image/cachewebp folder next to the default image/cache folder.
The webp quality is set to 90, best in most cases. If you want to change it, you have to do it in the ocmod file. In this case you have to manually clean the cachewebp folder in order to replace the cached images.


Compatibility
3.0.2.0, 3.0.0.0, 3.0.1.1, 3
thanks...
.0.1.2, 3.0.2.0, 4.0.0.0_b, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 2.3.0.2, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0t
Post automatically merged:

thanks....
 

awdadarg

New member
XNullUser
Joined
Feb 13, 2022
Messages
1
Reaction score
0
Points
1
NullCash
5
This extension integrates WebP into OpenCart, and adds WebP images to the page if the browser supports it. Browser support for WebP is detected based on a user-agent check. If WebP support is detected, the extension will output webp format images, otherwise the original cached images(png, jpg, gif) will be displayed.

WebP images are generated with php GD library.
You need to have WebP Support enabled in GD library in order to use this module.
You can check if the webp support is enabled on your server php by: asking the hosting support or using the php functions phpinfo() or gd_info(), or just install the module and if it is not working, uninstall it.

Installation:
This is a plug and play modification without any settings.
Install it with Extension Installer and don't forget to refresh the modification cache.
The new webp images are stored in the image/cachewebp folder next to the default image/cache folder.
The webp quality is set to 90, best in most cases. If you want to change it, you have to do it in the ocmod file. In this case you have to manually clean the cachewebp folder in order to replace the cached images.


Compatibility
3.0.2.0, 3.0.0.0, 3.0.1.1, 3.0.1.2, 3.0.2.0, 4.0.0.0_b, 3.0.3.0, 3.0.3.1, 3.0.3.2, 3.0.3.3, 3.0.3.5, 3.0.3.6, 3.0.3.7, 2.3.0.2, 2.0.2.0, 2.0.3.1, 2.1.0.1, 2.1.0.2
cool plugin!! Very helpfull! I love it!
 

BioStars

Member
XNullUser
Joined
Jan 4, 2022
Messages
578
Reaction score
1
Points
18
NullCash
4
Thank you for sharing, I have been looking for this much needed extension for my clients for a long time
 

byaspen

Member
XNullUser
Joined
May 21, 2021
Messages
122
Reaction score
1
Points
18
NullCash
3
Thank you for sharing, I have been looking for this much needed extension for my clients for a long time
 
Top