<div dir="ltr">I'm an FTP user, so I like the idea of being able to easily locate the thumbnails and easily delete the entire subdirectory of thumbnails from the original uploads folder rather than navigating to a parallel tree.<br>And I use per page uploads, so perhaps<div>   uploads/Group/Page/.thumbnails/th160---file.jpg.webp        (dot or underscore?)<br><br>I confess I did not know about 

<a href="https://www.pmwiki.org/wiki/PmWiki/UploadVariables#UploadPrefixQuota">$UploadPrefixQuota</a><br>thanks</div><div>Simon<br><div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 7 Sept 2024 at 17:13, Petko Yotov <<a href="mailto:5ko@5ko.fr">5ko@5ko.fr</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 07/09/2024 05:20, Simon wrote:<br>
> A good addition thanks.<br>
> I also like the idea of the thumbnails (in fact all hidden files<br>
> (names starting with ".")) in a sub-directory of the directory the<br>
> original images are in.<br>
<br>
Should these be in a subdirectory to the original directory, or in a <br>
parallel tree of subdirectories?<br>
<br>
   uploads/Group/Page/_thumbnails/th160---file.jpg.webp<br>
<br>
Or:<br>
   uploads/_thumbnails/Group/Page/th160---file.jpg.webp<br>
<br>
The former keeps the thumbnails accounted for upload quotas per <br>
directory, and it may be easier to locate the thumbnails from the <br>
filesystem (FTP).<br>
<br>
The latter keeps the thumbnails outside of the upload quotas, and <br>
declutters the upload directories even further.<br>
<br>
Same for per-group uploads with uploads/Group/_thumbnails or <br>
uploads/_thumbnails/Group. Per-group uploads tend to be more cluttered <br>
than per-page uploads.<br>
<br>
Petko<br>
<br>
> I strongly support thumbnails being in WebP, or at least a (default)<br>
> option to do so.<br>
> <br>
> Simon<br>
> <br>
> On Sat, 7 Sept 2024 at 07:07, Petko Yotov <<a href="mailto:5ko@5ko.fr" target="_blank">5ko@5ko.fr</a>> wrote:<br>
> <br>
>> Good idea, added for 20240906, just released. This is a quick fix,<br>
>> the<br>
>> thumbnails are still saved as JPEG.<br>
>> <br>
>> I think we could change both Thumblist and Mini to generate WebP<br>
>> thumbnails, these offer smaller size for a comparable quality and<br>
>> can<br>
>> have transparent backgrounds even with the lossy format.<br>
>> <br>
>> Another suggestion was to move the thumbnails to a separate<br>
>> directory so<br>
>> that they don't clutter the upload directories.<br>
>> <br>
>> Petko<br>
>> <br>
>> On 06/09/2024 19:54, ABClf wrote:<br>
>>> Hello,<br>
>>> <br>
>>> How to make Thumblist recipe friend with webp image ?<br>
>>> <br>
>>> In some page, I have 2 images, one is jpg, the other one is webp ;<br>
>>> when running thumblist, to be given the thumbnail of every image,<br>
>> only<br>
>>> the jpg one is printed out.<br>
>>> (:thumblist px=200 quiet=3 usetemplate=1:)<br>
>>> <br>
>>> Already added in config is<br>
>>> $ImgExtPattern = "(?:$ImgExtPattern|\\.webp|\\.WEBP)";<br>
>>> with no success.<br>
>>> <br>
>>> Thank you,<br>
>>> Gilles.<br>
</blockquote></div>