And on another note, any idea why Lemmy isn't showing the image in the URL link I added to this post? It's the full-sized jpeg of the same picture I added in the OP.
Mycology
Yeah, it would be nice to make it clickable by default. One way is to it manually, by selecting it and making it a hyperlink, or manually writing the code:
[](https://mander.xyz/pictrs/image/81a67626-7bfa-44f7-b119-5b168380eb30.jpeg)
EDIT: Sorry! I misunderstood the question the first time I read it.
It looks to me like Lemmy does not understand that it should treat the 'JPG' extension the same way as a 'jpg'.
Looking at the source code, there is a line that identifies an image as an image by its extension here:
const imageRegex = /(http)?s?:?(\/\/[^"']*\.(?:jpg|jpeg|gif|png|svg|webp))/;
I think that this is a case-sensitive regex, and that the .JPG extension is not treated as a .jpg file by lemmy.
Erg that sucks... literally every digital camera I've owned has saved the pictures with an uppercase "JPG". Maybe I'll file a bug report on this. Thanks for letting me know though.