Some images are click to enlarge, others just take you directly to a different link; also image uploads
I posted https://lemmy.zip/post/59669786. I noticed that when I was on https://lemmy.zip/c/[email protected] and clicked the image on that post to enlarge it, it forced me to a new page https://images.lemmy.zip/pictrs/image/d73bfddb-8062-41a8-bef4-fe22a9b00a83.avif. Most images on https://lemmy.zip/c/[email protected] can be clicked to enlarge and you just stay on https://lemmy.zip/c/[email protected] instead of being taken to a different page for the image. I was wondering what is causing this, since this happened for a few of my recent posts.
I do know that I used Create Post and then hit Browse next to Image to upload the post. This post was .webp.
I also know that I posted https://lemmy.zip/post/59611401 and have a deleted version of it at https://lemmy.zip/post/59611186. I forget which one of these it was, but I started out uploading a .webp and got the same result: no click to enlarge and staying in the community, clicking only leads to a different page. I edited the post with some other filetype, .jpeg, .jpg, or .png. Same result. And because of this I have multiple of the exact same picture littering my Uploads section on my profile and cannot delete the unused ones (I click delete and get the message it succeeded, but no matter what I do I still always have four of that picture in my Uploads section), so now I worry I am wasting Lemmy server storage.
Hi, there's currently an issue in the lemmy ui where it doesn't handle avif format images very well and makes you open it in a new link instead of enlarging it. Its fixed in the next version of lemmy, whenever the devs decide to release it (likely 1.0)
Hey, just remembered the other part of my post about how to get duplicate posts out of the Uploads section on my profile in the name of server storage.
By the way, what makes an image turn .avif? Whether I upload .webp or .jpeg it turns to .avif when the upload finishes
In order to keep image storage size down, we convert all uploaded images to avif format. Keeps the image size down but decompresses in high quality
Thanks for letting me know!