Skip to content

Releases

WebP images 1.0.5: partial WebP when only some sizes have a copy

Choose a tag to compare

@effisk effisk released this 18 Nov 17:34
  • Picture mode: an image whose srcset has 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

Choose a tag to compare

@effisk effisk released this 18 Nov 16:44
  • 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 same media and sizes, and another one before the <img>. In replace mode their srcsets point to the WebP files.
  • A <picture> that already has a WebP <source> is left as it is. class="no-webp" or data-no-webp on the <picture> or its <img> also leaves it alone.

WebP images 1.0.3: first public release

Choose a tag to compare

@effisk effisk released this 18 Nov 10:59

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.