[pmwiki-users] Have image.webp compatible with Thumblist recipe
Petko Yotov
5ko at 5ko.fr
Fri Sep 6 12:07:02 PDT 2024
Good idea, added for 20240906, just released. This is a quick fix, the
thumbnails are still saved as JPEG.
I think we could change both Thumblist and Mini to generate WebP
thumbnails, these offer smaller size for a comparable quality and can
have transparent backgrounds even with the lossy format.
Another suggestion was to move the thumbnails to a separate directory so
that they don't clutter the upload directories.
Petko
On 06/09/2024 19:54, ABClf wrote:
> Hello,
>
> How to make Thumblist recipe friend with webp image ?
>
> In some page, I have 2 images, one is jpg, the other one is webp ;
> when running thumblist, to be given the thumbnail of every image, only
> the jpg one is printed out.
> (:thumblist px=200 quiet=3 usetemplate=1:)
>
> Already added in config is
> $ImgExtPattern = "(?:$ImgExtPattern|\\.webp|\\.WEBP)";
> with no success.
>
> Thank you,
> Gilles.
>
More information about the pmwiki-users
mailing list