this post was submitted on 04 Aug 2023
57 points (93.8% liked)

Fediverse

28406 readers
702 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to !moderators@lemmy.world!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 1 year ago
MODERATORS
 

Not sure if this is the right place, or if it's been done before but:

I've been doing this for a while now and figured I'd add this tip in case other people find it helpful.

Instead of uploading images to lemmy world and taking up disk space, when I have an image I want to add, I right click and copy link.

Then paste the link inside () after writing ![] like so:

![](www.google.com/image.jpg)

It becomes second nature pretty quickly.

EDIT: ok so to avoid hotlinking, upload/copy the image to catbox, and then use the technique described above.

top 21 comments
sorted by: hot top controversial new old
[–] Emperor@feddit.uk 32 points 1 year ago (1 children)

That's hot linking and is frowned upon to the point that some sites will block it. You might be seeing the cached version you post over here but everyone else gets a broken image.

Far better to use a hosting services. You could use Pixelfed but it could get a bit messy and it is designed as an Instagram replacement. You've be better off using a dedicated image host:

  • Lensdump.is my general image host that I use for all sorts of bits and bobs.
  • Catbox hosts images and videos - I use it for the latter.
[–] Ilikepornaddict@lemmynsfw.com 0 points 1 year ago (1 children)

Like the link they posted lol. Ya it just doesn't work properly, it's nice that they're considering the stirage issue, but it simply doesn't work.

[–] luthis@lemmy.nz 4 points 1 year ago (2 children)

Does this not work for you??

[–] Ilikepornaddict@lemmynsfw.com 2 points 1 year ago (1 children)

No, that one did. Was that done differently than the one is the post? Or was the post one just an example not meant to lead anywhere?

[–] luthis@lemmy.nz 3 points 1 year ago (1 children)

Yes, the one in the post is just meant as a demonstration, not as a real link.

[–] Ilikepornaddict@lemmynsfw.com 3 points 1 year ago

Ahh ok. Then I retract my original comment.

[–] soupspoon@lemmy.world 9 points 1 year ago* (last edited 1 year ago) (1 children)

If it's our own picture, should we use imgur instead of uploading it here? I hadn't done it that way because I wasn't sure if that would let the picture be an expandable thumbnail or if you'd have to click through to imgur to see it

Edit: another question, I see the post language marked as English, when should I be selecting a language for my posts and/or comments, or is it not necessary

[–] luthis@lemmy.nz 3 points 1 year ago

I never have, I don't think it's necessary

[–] Fizz@lemmy.nz -5 points 1 year ago (2 children)

They can handle the disk space. Images are small and even smaller when compressed

[–] Blaze@sopuli.xyz 27 points 1 year ago (2 children)

Well, most admins I see disagree on that

[–] MiddleWeigh@lemmy.world 6 points 1 year ago

Every bit helps, I'd imagine.

[–] Fizz@lemmy.nz 6 points 1 year ago (1 children)

If lemmy has a feature to attach images then we should use that. If it's not working efficiently then it should be fixed instead of building a culture where people are afraid to upload an image.

Video I can understand but we shouldn't be so stingy as to say don't upload images.

[–] Blaze@sopuli.xyz 3 points 1 year ago (1 children)

People have been using Imgur on Reddit for years, I don't see how using catmoe is different here. Don't forget that content is sent to every federated instance, that can fill up very quick once we get more users

[–] Fizz@lemmy.nz 1 points 1 year ago (1 children)

Imgur was owned by reddit and made for the purpose of hosting content for reddit. You couldn't attach images directly in the old reddit.

[–] Deebster@lemmyrs.org 4 points 1 year ago

Alan Schaaf created Imgur while he was at uni and he never worked for Reddit, but I believe it was made for Reddit primarily (Reddit didn't support uploading images until 2016).

[–] orca@orcas.enjoying.yachts 21 points 1 year ago (2 children)

I run a server and find that often times the images that come over are full-size uploads. pictrs doesn’t seem to be doing any resizing or compression on them, and the originals are instead getting dumped over to servers that federate. It’s actually my biggest fear right now because that alone can fill up disk space real quick.

It might be a configuration or something I can change, but I’ve yet to figure it out.

[–] jcrabapple@infosec.pub 11 points 1 year ago (1 children)
[–] orca@orcas.enjoying.yachts 6 points 1 year ago

Lol thanks! I was pretty stoked when I snagged it and got everything set up.

[–] chrisbit@leminal.space 8 points 1 year ago* (last edited 1 year ago) (1 children)

I moved my instance to object storage because the pictrs storage got out of hand pretty quickly! It's not really sustainable at block storage prices.

[–] orca@orcas.enjoying.yachts 5 points 1 year ago

I need to look into that. It’s not too bad yet but this is prime time to get that kind of thing sorted.