YSK embed an image into your comments here when the image is externally hosted

Why YSK: You don't need to load down the instance by uploading the image to the instance. You only need to know the syntax is on the following line:

![image](imageURL)

171 points · 52 comments · view on lemmy.world

52 Comments

zzap129@lemmy.world · 11 pts · 3y

Let's test this

test

cool, it works. left one blank line under the pic

Startrektherapy@lemmy.world · 10 pts · 3y

Trying now. Thank you.

image

Chufi@lemmy.one · 7 pts · 3y (4 replies)

Interestingly,when commenting to your post the "!" Displayed in your post changed to "\ !\ " for me (without the space)

I tried both and "!" worked.

image

j4k3@lemmy.world · 3 pts · 3y (3 replies)

Yeah you got it. I assume you removed that ending tracker token from the link

Chufi@lemmy.one · 2 pts · 3y (2 replies)

I'm not well versed in the technical mysteries of the internet yet.

hat would it look like ?

j4k3@lemmy.world · 2 pts · 3y (1 reply)

The link should end in a typical image file type like JPEG. The link you first uploaded had a image type followed by a "?(random characters here)" The last bit is a tacking token.

Chufi@lemmy.one · 1 pts · 3y

Thanks for that. And yeah, checked there was none. But good to no for the future

zikk_transport2@lemmy.world · 7 pts · 3y

We just need better Markdown syntax. Somethi g like GitHub's Markdown would be top notch. Massive bonus would be the ability to preview message.

lemmy@lemmy.captainapathetic.cfd · 6 pts · 3y

Alternatively run your own instance and do instance operators a favor.

Linuto@lemmy.world · 4 pts · 3y (3 replies)
Saturdaycat@kbin.social · 4 pts · 3y (2 replies)

Sauce?

mitchie151@kbin.social · 1 pts · 3y (1 reply)

It's from the Manga Berserk

Linuto@lemmy.world · 1 pts · 3y

Yep, just the most recent page I had open from reading it.

scottywh@lemmy.world · 4 pts · 3y
nadram@lemmy.world · 3 pts · 3y

Bookmarked Thanks for sharing

lixus98@kbin.social · 3 pts · 3y

Helpful to know! Thanks!

oreo@lemmy.world · 3 pts · 3y

Think I got it. Although my post shows up fine on the Web version of lemmy.world but not in Jerboa. image

dephyre@lemmy.world · 2 pts · 3y

I wanna try this too, seems really cool.

image

Mintyytea@kbin.social · 2 pts · 3y (8 replies)

url like this? I typed
![https://imgur.com/a/jFq5RZa](url)

I don't know completely what you mean. I'm on kbin, so currently for me it shows a blue link "image" but it doesn't seem to do anything when I click it. Wonder if it looks different on lemmy

j4k3@lemmy.world · 2 pts · 3y (7 replies)

Only change the imageURL part

I have to type escapes for the first 2 elements to be able to display them visually, so if you see them because of differences in markup you know why.

This is a screenshot of the official documentation hosted externally:

image

This is with escapes to display what I used above:

![image](https://i.postimg.cc/rFp3Dd63/IMG-20230617-231755.jpg)

Mintyytea@kbin.social · 2 pts · 3y (6 replies)

maybe kbin is too young to be able to do what you're describing? I'll put a screenshot of what I can see (desktop for kbin.social)
screenshot https://imgur.com/a/g3dJUyy

(btw will you type exactly the command you put, maybe with the code `` option)?

j4k3@lemmy.world · 5 pts · 3y (2 replies)

Lol. I'm on Graphene OS so all the imgur trackers are blocked and I can't see anything from them.

FYI this website has the simple functionality imgur used to have before they started all the trackerware nonsense:

https://postimages.org/

This is the documentation link that has all the syntax for posting pics in comments and more:

https://join-lemmy.org/docs/en/users/02-media.html

Mintyytea@kbin.social · 3 pts · 3y (1 reply)

Alright so I went on lemmy cuz I'm using both xD and I can finally see what you meant in your earlier comment. You said do
![image](__image_url__) right? eg. ![image](https://imgur.com/a/g3dJUyy)
image

and I'll give postimages a go :) I just used imgur since I knew about it

j4k3@lemmy.world · 1 pts · 3y

The image you use can only be an image. Imgur broke this functionality because it is trackerware/spyware/stalkerware. Use this to upload your image: https://postimages.org/ then after it posts, right click or select the image and view it in a new tab. Copy the URL from this tab and use it. That will work because the URL will be for just an image file only.

funkyb@lemmy.world · 4 pts · 3y (1 reply)

from what i understand, this is syntax implemented on lemmy. it's not from the deeper ActivtyPub protocol all of these things are implementing. If that's true, it won't render on kbin how it does on lemmy.

Mintyytea@kbin.social · 2 pts · 3y

yeah I think you're right. I went on lemmy and it looked a little different haha

WhatThaFudge@kbin.social · 1 pts · 3y

seems to work fine on viewing the image embedded on kbin for me.. it doesnt expand automatically (u gotta click a little expand button to show it) but that may be a setting only somewhere on the site

Pillarist@lemmy.world · 2 pts · 3y
[ removed ]
LittleKerr@lemmy.world · 2 pts · 3y (2 replies)
j4k3@lemmy.world · 3 pts · 3y

Gifs don't work

But...

image

Pillarist@lemmy.world · 2 pts · 3y

This is what happens when I try it 🤷đŸŧâ€â™‚ī¸

kevinbacon@lemmy.world · 2 pts · 3y
[ removed ]
kulta@lemmy.fmhy.ml · 2 pts · 3y

I never knew that. Cool!

IncendiaDrakon@kbin.social · 2 pts · 3y

Here I go-

Test

LoFi@kbin.social · 1 pts · 3y

Testing

Doesn't work for kbin.

DreamySweet@exploding-heads.com · 1 pts · 3y

You can also put the image url as the url for your post and it can expand when the thumbnail is clicked as if it was uploaded to your instance.

LiemPong_Pagong@kbin.social · 0 pts · 3y (5 replies)

@j4k3

Lets try

image

rubikfrog@feddit.uk · 3 pts · 3y (1 reply)

Doesn't work on Jerboa â˜šī¸ At least I now know why my feed seems to be filled with these html image links.

Schooner@lemmy.ml · 1 pts · 3y

No it works. Check this comment.

I'm on Jerboa too.

Tyler@lemmy.world · 2 pts · 3y

I don't think imgur will work since they hide the direct links to images on mobile (no png, jpeg, etc.)

LiemPong_Pagong@kbin.social · 1 pts · 3y

Wow it worked.

Apologies to the owner of the image. I just copied one of the URLs in this thread and used it.

@j4k3

maxwellfire@lemmy.world · 1 pts · 3y

image