HermanMartinus / bearblog

Free, no-nonsense, super fast blogging.
MIT License
2.36k stars 73 forks source link

Issue with Uploading Non-HDR AVIF Files on Bearblog #282

Closed Shikibashi closed 1 month ago

Shikibashi commented 1 month ago

I’ve learned about the AVIF format, which is emerging as a superior choice for photographs due to its HDR support. While I’m aware that HDR’s mainstream adoption is still a distant prospect, and I don’t expect Bearblog to support it just yet, I’ve optimized my workflow by exporting images from Photoshop in AVIF format to benefit from the space savings. Achieving comparable visual quality at 2MB, I would love to utilize AVIF to expedite the loading times of my photography page on Bearblog, enhancing the user experience.

However, when I attempt to upload non-HDR AVIF files, the process appears to initiate but fails to provide a download link. This issue might be prematurely attributed to a DigitalOcean problem, although the exact cause is unclear. Uploading JPEG or PNG files works seamlessly, but uploading non-HDR AVIF files results in no action

HermanMartinus commented 1 month ago

I've just pushed an update supporting .avif files :)