-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Alternate image formats not being displayed #326
Comments
@LITUATUI Do you know if it's happening for WebP images too, or just AVIF? Also images can appear in a variety of ways and contexts, so to narrow this down can you specify:
Also if you could look at the image as it's rendered and tell me if it includes the CSS class |
Hello. It happens also with WebP images. I have all images of my website in one folder and batch converted them to AVIF using ImageMagick. This includes featured images, thumbnails and images inside the body of the posts. I'm not using page bundles, as all my posts are in one folder. This happens with local images. CSS classes:
Showing the AVIF version of images works great if I use an older version of this theme, for example (20220407195657-f40414b5292c). So at least I know that the bug was introduced after Apr 7, 2022. The Clarity theme is installed as a Hugo module, so I can easily go back to an older version/commit. |
Thanks! This is very helpful. I'll see what I can figure out. |
Can you say a little more about where your content and images are? I assume your posts are in |
Posts: content/posts/ If I use an old version of this theme everything works as supposed to. |
Images in If it ever did work with images from |
The theme no longer shows AVIF images if available with the same name and goes straight to the JPG/PNG fallback.
The text was updated successfully, but these errors were encountered: