Repository navigation
Releases
Releases · effisk/webpImages
WebP images 1.0.5: partial WebP when only some sizes have a copy
- Picture mode: an image whose
srcsethas a WebP copy for only some of its sizes now gets WebP for those sizes; the others keep their JPEG/PNG in the WebP<source>. Before, one missing copy (a WebP bigger than its JPEG is not kept) left the whole image without WebP.
WebP images 1.0.4: WebP sources inside existing <picture> elements
- Existing
<picture>elements (for example a theme's art-directed lead image with a mobile<source>) now get WebP too. In picture mode, a WebP<source>is added before each JPEG/PNG<source>, with the samemediaandsizes, and another one before the<img>. In replace mode theirsrcsets point to the WebP files. - A
<picture>that already has a WebP<source>is left as it is.class="no-webp"ordata-no-webpon the<picture>or its<img>also leaves it alone.
WebP images 1.0.3: first public release
First public release.
WebP images is a Dotclear plugin that creates WebP copies of your blog's JPEG/PNG images and their thumbnails, and makes your pages use them. og:image, twitter:image, JSON-LD and feeds keep the originals.
- WebP copies on upload, rename, move and delete in the media manager
- One-click conversion of existing images (stops and resumes, skips up-to-date copies)
- Serving modes:
(default), replace or off - EXIF orientation applied, PNG transparency kept, never keeps a WebP larger than its original
- Admin in English and French
Install: download plugin-webpImages-1.0.3.zip below, then in Dotclear go to System settings → Plugins management → Install or upgrade manually.
Requires Dotclear 2.36+ and PHP 8.1+ with GD (WebP) or Imagick. The web server must send .webp as image/webp.