Hello/Hi/Greetings,
I used the “Modern Formats” plugin to convert my images from JPEG to WebP. Although the WebP format includes metadata, it is not displayed.
What settings do I need to adjust?
The metadata was displayed under JPEG.
Best regards, Slim
Offline
Hi Slim,
thanks for flagging this! When the plugin converts a JPEG to WebP, the metadata isn't carried over into the new WebP file. Piwigo normally still shows that info because it keep its own copy in the database – but if you've used Piwigo's "synchronize metadata" tool, after converting, Piwigo re-reads the WebP, finds nothing in it, and clear the info.
For now the workaround is to avodi re-synchronizing metadata on photos you've already converted.
I'm planning an update so the info gets copied into the WebP itself and this can't happen anymore. I've got a lot on my plate right now, but I'll try to get it out by the end of this week :).
Daniel
Offline
Hi Slim,
the update i promised is out. just update the plugin to the latest version (v1.4.0). You'll find a new "Preserve photo metadata" option (on by default): from now on, when a photo is converted, its EXIF/IPTC/XMP metadata is copied straight into the WebP file (using ExifTool when your server has it, otherwise Imagick), so it's no longer lost during conversion.
Two notes:
- This applies to photos converted from now on. Fot photos you already converted, Piwigo still shows thair metadata from its database as long as you haven't re-synchronized them. If it was already wiped by a re-sync, the original JPEGs are kept in _data/modern_formats_backup/ (if you has backups enabled), so you can restore and reconvert those.
- Embedding needs ExifTool or Imagick on the server; on a GD-only host without ExifTool it still can't be embedded - but most setups have one of them.
Thanks for your patience!
Daniel
Offline
Hello, unfortunately it doesn’t work like that. The data isn’t being read.
This is what it looks like in JPG format. The data appears on the right.
After conversion, the field no longer exists.
The following line was inserted in LocalFilesEditor.
$conf['show_exif_fields'] = array( 'Make', 'Model', 'ExifVersion', 'Software', 'DateTimeOriginal', 'FNumber', 'ExposureBiasValue', 'FILE;FileSize', 'ExposureTime', 'Flash', 'ISOSpeedRatings', 'FocalLength', 'FocalLengthIn35mmFilm', 'WhiteBalance', 'ExposureMode', 'MeteringMode', 'ExposureProgram', 'LightSource', 'Contrast', 'Saturation', 'Sharpness', ); $conf['show_iptc_mapping'] = array( 'iptc_title' => '2#005', 'iptc_byline' => '2#080', 'iptc_byline_title' => '2#085', 'iptc_byline_contact' => '2#118', 'iptc_keywords' => '2#025', 'iptc_caption' => '2#120', 'iptc_caption_writer' => '2#122', 'iptc_country_code' => '2#100', 'iptc_country' => '2#101', 'iptc_city' => '2#090', 'iptc_copyright' => '2#116' ); $conf['show_exif'] = true; $conf['show_iptc'] = true; $conf['use_iptc'] = true;
Slim
Last edited by slim (2026-06-18 15:23:44)
Offline
Hi Slim,
That's the missing half of the feature — now fixed.
v1.4.0 embeds the metadata into the WebP file, but Piwigo's own reader can't pull EXIF/IPTC back out of a WebP, so the panel stays empty even though the data is in the file. The part that feeds that embedded metadata into the picture-page EXIF and IPTC panels only shipped in v1.4.3 (latest is now v1.4.4).
So just update to v1.4.4 and the panels should come back for converted WebP — your show_exif show_iptc config is already correct.
One precondition: the panel can only show what's actually in the file. That means photos converted with "Preserve photo metadata" enabled (v1.4.0+, needs
ExifTool or Imagick on the server). Anything you converted with an older version has no embedded metadata — for those, restore the original JPEG from _data/modern_formats_backup/ and reconvert with v1.4.4.
Quick check on any file: exiftool image.webp — if the EXIF/IPTC is listed there, v1.4.4 will display it.
Daniel
Offline
Hello Daniel, you’re an angel.
It is now working correctly. All metadata is now displayed.
Thank you very much for your help
Slim (Norbert)
Offline
But I’ve still got one left!
The author is missing from the Information Box, and the IPTC data is not displayed either.
Last edited by slim (2026-06-21 16:57:59)
Offline
So I’ve gone back to having a homepage after all. I find it unsatisfactory.
Offline