Notifications
Clear all

[Sticky] How to add inline pictures

1 Posts
1 Users
0 Reactions
10 Views
admin
(@admin)
Member Admin
Joined: 2 months ago
Posts: 43
Topic starter   [#19]

By default this forum software does not allow for inline pictures to be displayed (there is an expensive add-on which I wont buy for this trivial task). So we added a small bit of code and now you can force inline display by naming the picture file extension jpeg. Only files with this extension get displayed inline, all other graphic files will only show up as attachments (click them to see them).

Even if your file has a different extension like png, gif or whatever they will render if you rename them. Modern web browsers (Brave, Chrome, Firefox, Edge, Safari) do not rely solely on the file extension to decode an image.

 



   
Quote
Share: