22
rule (lemmy.blahaj.zone)

Is it possible to put multiple pictures in one post?

top 4 comments
sorted by: hot top controversial new old
[-] NicoCharrua@lemmy.ca 16 points 1 year ago

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 5 points 1 year ago

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 1 points 1 year ago* (last edited 1 year ago)

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 1 points 1 year 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...

this post was submitted on 04 Oct 2023
22 points (100.0% liked)

196

16452 readers
1857 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