Skip to content

CG WebP - convert JPG/PNG images to WEBP before displaying your pages

License

Notifications You must be signed in to change notification settings

conseilgouz/plg_system_cgwebp_j4

Repository files navigation

plg_system_cgwebp_j4 buy_me_a_coffee

CG WebP - convert images to WEBP using GD for image processing, without any external library.

CG WebP plugin helps you optimize your page load.

When a page is displayed, all images from jpg and/or png formats are converted to WEBP format and stored in media/plg_system_cgwebp directory or in original images directory.

When images are updated, their webp images is updated as well. Webp images have a version based on original image hash, so, on change, they will be reloaded by web browser.

Storing created images in media directory has the double advantages to easily locate those images and not to double save them (by making media/plg_system_cgwebp an exception in Akeeba Backup)

On your pages, webp images will be displayed, replacing original images.

Note : to be compatible with DJ-WebP plugin, directory parameter is set to "Same".

Important : If you were using DJ-WebP plugin, don't forget to disable it.

To access CG Webp plugin, in your administration, click on Plugins button and enter webp in filter options :

cg_webp_plugin

Click on CG Webp and you'll have access to its parameters:

cg_webp_1 1 2

Click on Check WebP support button to make sure your server handles WebP conversion.

Note : Version 1.1.0 introduces a new Destroy Webp images button (enabled if WebP directory is set to Media).

Note (again) : on the top, rightmost position, Show/Hide has been added by Phoca Collapse plugin