Next time you can just upload the image and it will embed it in your comment.
FWIW your link worked just fine. Also disallowing hotlinking is the decision of the web server hosting the image, not Lemmy.
Comment on Olympic casual GigaChad
Bertuccio@lemmy.world 3 months agoNext time you can just upload the image and it will embed it in your comment.
FWIW your link worked just fine. Also disallowing hotlinking is the decision of the web server hosting the image, not Lemmy.
ChaoticNeutralCzech@feddit.org 3 months ago
You can. Most instances run image hosting too.
binocular gun sight
Bertuccio@lemmy.world 3 months ago
Oh, do you need the ! in front of the link? I tried something like that at first and it showed nothing
CodexArcanum@lemmy.world 3 months ago
That’s standard Markdown syntax for embedded links: instead of linking, just show the content. Usually only for images but I think some sites will allow audio (and video?!) embeds as well.
ChaoticNeutralCzech@feddit.org 3 months ago
Yes, video too, but support by clients is inconsistent (some don’t show playback controls and loop it like a gif, some just display a link). By default, the media hosting server allows for up to 900 frames (up to 30-37 seconds of smooth video) and 2160p; the audio track is removed; the filesize limit is 40 MiB (most instance owners set it way lower, perhaps 5 or 10). There is a caveat: all media must be encoded to a single codec of the instance owner’s choice: VP9 (default), H264, H265, AV1, VP8. Uploading in one of the others is possible but beware: it is going to be reencoded by the server, and if the process doesn’t finish within the timeout of 30 seconds, you get the error
ffmpeg timed out
. In 30 seconds, a server without HW acceleration will typically only process a very short video (for feddit.org, it’s about 1 MiB’s worth of H265) so anything longer than a few seconds will fail! To take advantage of the full upload limit, you must reencode the video yourself to VP9 or whatever other codec is set (you can tell by uploading a tiny file in any codec and inspecting the output).You can use the following command to reencode the video to VP9:
Alternatively, just use a more lenient hoster like GitHub or catbox.moe and embed the file from there.
A_Chilean_Cyborg@feddit.cl 3 months ago
![](www.linktotheimage.com)