this post was submitted on 04 Oct 2023
0 points (NaN% liked)

196

16226 readers
2381 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS
 

Is it possible to put multiple pictures in one post?

you are viewing a single comment's thread
view the rest of the comments
[–] NicoCharrua@lemmy.ca 0 points 11 months ago (1 children)

Yeah, just upload pictures in the post body. Like you do in comments you can do it in the post text as well.

Image: Sign that says "Go Away! No Mushroom Hunting. Mine! They are ALL mine!

Lemmy has a way of doing it automatically, but if you want to do it manually the formatting is

![Alt text](image url)
[–] ChaoticNeutralCzech@feddit.de 0 points 11 months ago (1 children)

You need to use a direct link to an image file, which usually ends in an extension like .png or .jpg. You may need to jump through hoops to get it on sites like Pinterest where a right-click and "Copy image link" doesn't work (inspecting the element or network transfers usually does). Some image hosts (notably i.redd.it since 2023) don't allow hotlinking/embedding from outside domains as per their CORS policy, in which case you get a result like this:

Image from Reddit
Image from gify.nou.cz

It is impossible for a Lemmy web client to fix this without a browser extension but apps like Imgur Viewer can (and do) spoof the content-type and referrer HTTP request fields.

Some clients (notably Boost) will automatically make any link into an embedded image if it contains a known image file extension, which is unhelpful if the link leads to a HTML page instead (such as https://commons.wikimedia.org/wiki/File:Macroglossum_stellatarum1_NR.jpg. Others refuse to load an image if its URL does not end in one of the known extensions (if the post URL doesn't, a link post will have a "↗⃞” external link icon instead of an image) but you can usually trick it by appending ?. png or similar to the URL.

[–] NicoCharrua@lemmy.ca 0 points 11 months ago* (last edited 11 months ago) (1 children)

Interesting. On my client (Eternity) both the picture from Reddit and the picture from gify.nou.cz load. On the Lemmy website only the Reddit image loads.

[–] ChaoticNeutralCzech@feddit.de 0 points 11 months ago

I can see it too. Maybe Lemmy has set up a proxy or Reddit lifted some of their restrictions. This did not work a week ago.

Would have chosen a smaller image if I expected it to actually load...