-
Notifications
You must be signed in to change notification settings - Fork 140
Description
No others plugins installed, only Modern Image Formats with settings
AVIF - Generate images in this format
✓ Also generate fallback images in the original upload format
✓ Generate all fallback image sizes including custom sizes
✓ Use < picture > Element (experimental)
in php call
<?php the_post_thumbnail( 'medium_large' ); ?>
<img width="768" height="768" src="DOMAIN/uploads/2025/09/Copilot_20250725_003154-768x768-jpg.avif" class="attachment-medium_large size-medium_large wp-post-image" alt="Deserunt reprehenderit minim" decoding="async" fetchpriority="high" srcset="DOMAIN/uploads/2025/09/Copilot_20250725_003154-768x768-jpg.avif 768w, DOMAIN/uploads/2025/09/Copilot_20250725_003154-512x512-jpg.avif 512w, DOMAIN/uploads/2025/09/Copilot_20250725_003154-163x163-jpg.avif 163w, DOMAIN/uploads/2025/09/Copilot_20250725_003154-350x350-jpg.avif 350w, DOMAIN/uploads/2025/09/Copilot_20250725_003154-292x292-jpg.avif 292w, DOMAIN/uploads/2025/09/Copilot_20250725_003154-jpg.avif 1024w" sizes="(max-width: 768px) 100vw, 768px" />
Shouldn't it also be in the picture element with a source tag?
Thank you
Metadata
Metadata
Assignees
Labels
Type
Projects
Status