<?php $xmp = simplexml_load_string(file_get_contents('71431091.xmp.webp')); $alt = $xmp->children('http://purl.org/dc/elements/1.1/')->description ?? 'Default description'; ?> <img src="…" alt="<?= htmlspecialchars($alt) ?>">
If the conversion tool lacks a --preserve-xmp flag, extract first, then inject: Imgsrc Ru 71431091xmp webp