this post was submitted on 15 Apr 2024
162 points (95.0% liked)
lemmy-ui-next
102 readers
1 users here now
Official community for lemmy-ui-next
This project is an open source alternative frontend for Lemmy. It is built with Next.js.
- Preview environment: next.lemm.ee
- Source code & issue tracker: GitHub
Feel free to post questions or thoughts about the project in this community!
founded 10 months ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
The locally hosted image url format breaks extensions that convert webp to other image formats. Some other services (eg messaging apps) don't support webp, so these extensions are really useful as it avoids having to save, open in an image processor and manually convert.
Example url: https://next.lemm.ee/_next/image?url=https%3A%2F%2Fslrpnk.net%2Fpictrs%2Fimage%2F70dad073-5920-4864-9d04-655788f0c6af.webp&w=1080&q=75
Extension in use: https://addons.mozilla.org/en-US/firefox/addon/save-webp-as-png-or-jpeg/
Basically, the &w and &q parts of the url trips the extension up, so it doesn't recognise the image as something it should run on, however these tags are required and the image won't load without them.
I added an issue to the extension's github, the plot thickens: https://github.com/jscher2000/Save-webP-as-extension/issues/30