•  » Extensions
  •  » "Modern Formats" needs more granular options for bulk conversions

#1 2026-06-17 14:14:47

SchuminWeb
Member
Maryland, USA
2024-02-20
48

"Modern Formats" needs more granular options for bulk conversions

Hello/Hi/Greetings,

I am writing to request that the "Modern Formats" plugin have more options for bulk conversion from JPG to WEBP.  What happens is that for large galleries, such as mine, that contain more than 20,000 photos, the sheer volume causes the process to hang, and nothing happens.  I would love it if we could have the option to choose only to convert a specific album or albums, rather than all or nothing.  That should break it up sufficiently so that it won't hang, and I can use the automated process to complete the conversion.

Piwigo URL: https://www.benschumin.com/

Offline

 

#2 2026-06-17 15:36:10

DanielADK
Extension maintainer
Prague, Czech republic
2026-06-02
8

Re: "Modern Formats" needs more granular options for bulk conversions

Hi,
thanks for the suggestion! One thing that may help right away: the conversion already runs in small, resumable batches rather than all-at-once; converted photos drop out of the queue automatically. So if it looks like it stalls (usually a closed or sleeping browser tab, or one slow photo), just reopen the plugin page and click Convert again. It picks right where it left off. For a 20,000-photo gallery, that's the way to get through it today.

That said, I really like the idea of picking specific albums; it would make big galleries much easier to manage. I'm planning to add it. I'm a bit swamped at the moment, but I'll aim for the end of this week :)

Daniel

Offline

 

#3 2026-06-17 17:26:58

SchuminWeb
Member
Maryland, USA
2024-02-20
48

Re: "Modern Formats" needs more granular options for bulk conversions

Thank you for implementing it!  I'm not in a big hurry about when to do the conversion, but I'm glad that it's in your queue.

Also, another thing that I noticed when I ran the plugin on my (much smaller) test site was that it replaces the filename field completely when converting from the original format to WebP, rather than just changing the extension from the original to .webp.  I tend to keep my image filenames a certain way, and so I'd prefer to have the option of retaining them if possible (vs. going in behind the conversion and changing them back).

Offline

 

#4 2026-06-17 22:33:21

DanielADK
Extension maintainer
Prague, Czech republic
2026-06-02
8

Re: "Modern Formats" needs more granular options for bulk conversions

Hi,
I've just released an update (v1.4.0) that covers everything from this thread:
- Per album bulk conversion: you can now pick a specific album from a dropdown instead of all-or-nothing
- Original filename is now kept (e.g. beach.jpg -> beach.webp). The stored filename is no longer replaced.

Thanks again for the detailed reports - they were genuinely helpful in tracking these down.

Daniel

Offline

 

#5 2026-06-18 03:30:04

SchuminWeb
Member
Maryland, USA
2024-02-20
48

Re: "Modern Formats" needs more granular options for bulk conversions

So I updated the plugin and took it for a spin with my "1998" album, which contains four photos.  Unfortunately, it did not work as expected.  Here's the result that I got:

https://imgur.com/a/results-from-trying … es-kVk6SFQ

I was surprised to see that it still registered the full 22,416 files in its count after I set the album.  After I started it, it behaved in the same way as before, running for a few minutes and then delivering a failure result with the files' being unchanged.

Offline

 

#6 2026-06-18 09:01:56

DanielADK
Extension maintainer
Prague, Czech republic
2026-06-02
8

Re: "Modern Formats" needs more granular options for bulk conversions

Hi,
are you sure you have newest version (v1.4.2)?

Offline

 

#7 2026-06-20 12:38:01

DanielADK
Extension maintainer
Prague, Czech republic
2026-06-02
8

Re: "Modern Formats" needs more granular options for bulk conversions

Thanks for testing it, and sorry it tripped you up — I found the cause.

After updating, your browser was still running the old cached admin.js, so the new "Album" dropdown was there but did nothing: the count stayed at 22,416 and it tried the whole gallery again, then timed out. Exactly the "same as before" you saw.
 
I just released v1.4.4, which fixes this (the script is now cache-busted) and also hardens the bulk run against host timeouts. To get going:

1. Update to v1.4.4.
2. On the plugin page, hard-refresh: Ctrl+Shift+R (or Cmd+Shift+R on Mac).
3. Pick the "1998" album — the count should drop to 4 and convert in seconds.

If the count still doesn't change after the refresh, paste the text after "Conversion failed." and I'll take another look.

Daniel

Offline

 
  •  » Extensions
  •  » "Modern Formats" needs more granular options for bulk conversions

Board footer

Powered by FluxBB