Hello everyone,

Following this post, it seems that quite a few users can’t see catbox.moe pictures.

Catbox was my preferred option as they have a handy Firefox extension that allows to upload pictures with just a click, and get the link directly in the clipboard.

My understanding was also that by having the pictures on catbox, we avoided storing copies of pictures on every Lemmy instance. Is this still the case? I read a bit about proxying pictures (https://github.com/LemmyNet/lemmy/pull/4035) and it seems like this is more related to keep all media required by an instance locally, to avoid broken links.

So long story short: what should be the recommended way to share pictures on Lemmy?

  1. Use a hoster like https://imgbb.com/
  2. Upload pictures locally
  • Admiral Patrick@dubvee.org
    link
    fedilink
    English
    arrow-up
    27
    ·
    edit-2
    2 days ago

    Whatever solution you use, just make sure it allows “hotlinking” without having to leave the app/Lemmy web interface to see them. If an image doesn’t embed, I won’t click outside to see it; I’ll just scroll past.

    I’ve not had any problems with Catbox, though (I use it to share gifs larger than my instance allows for uploads). It was down a bit yesterday (was going to share a screen recording demonstrating a new feature), but works fine for the most part.

    I have read Yarn (gif archive) is sometimes problematic/unreliable, but I usually wrap those in Tesseract’s image proxy which addresses it.

    For 95% of cases, I just upload directly to my instance. It’s got a 250kb max limit, but we use Tesseract as the default UI which can pre-process uploads to webp prior to uploading which will typically get them under that limit.

    • drkt@scribe.disroot.org
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      I have had nothing but problems with catbox, they ban every IP I’ve had. I emailed them about it and they said “no we don’t”. Just keep in mind that random people won’t be able to see your post if you use catbox.

  • Blaze (he/him)@feddit.orgOP
    link
    fedilink
    English
    arrow-up
    7
    ·
    2 days ago

    FYI @ShareMySims@lemmy.dbzer0.com

    Pinging @nutomic@lemmy.ml and @dessalines@lemmy.ml as I guess they are probably the more knowledgeable.

    Also @Shadow@lemmy.ca @TheDude@sh.itjust.works @db0@lemmy.dbzer0.com @Demigodrick@lemmy.zip @ada@lemmy.blahaj.zone for admins of instances with large communities

    IIRC @sunaurus@lemm.ee has a 500 KB limit per picture.

    And maybe also @Emperor@feddit.uk, @ticoombs@reddthat.com @Illecors@lemmy.cafe and @BurningTurtle@feddit.org

    • Tiff@reddthat.com
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      Lemmy is still saving thumbnails and (previously) sometimes the whole image! The majority of image issues have been cleared up in my opinion and it works very well. Nearly all of our hosts allow hotlinking as it’s basically required for our use cases.

      Lemmy also knows when the image is another Lemmy instance (through “magic”, or just cross posting). So if you upload once and then use that same link on all other posts then that would still be the same.

      The problem I think you have is your usecase also includes posting externally to Lemmy. & to some extent, you don’t want those images tied to your Lemmy account. If my users post via my instance then they are welcome to also hotlink the images externally. This is only possible because Reddthat uses a CDN and caches the images as much as possible.

      Even if we didn’t use a cdn there are plenty of VPS’ and proxy software that we could use which would transparently function in the same way. You could even setup your own VPS, some image hosting software like https://chibisafe.moe/ or https://github.com/nokonoko/Uguu or https://github.com/hauxir/imgpush

      To sum up:

      • post once to Lemmy instance and then use that image everywhere
      • use a random image host that allows hotlinking to do the same
      • get your own VPS, setup an image upload and use that (and maybe get a domain too!)

      The 3rd option you can do completely anonymously via crypto.

    • AdaA
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 day ago

      supakaity@lemmy.blahaj.zone implemented a custom image proxy for us.

      • Blaze (he/him)@feddit.orgOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 day ago

        Interesting, so from your admin perspective do you prefer users to use the Lemmy built-in image upload or use a link to an external hoster?

        • AdaA
          link
          fedilink
          English
          arrow-up
          4
          ·
          edit-2
          1 day ago

          We let people use the built in uploader, then offload the uploaded image to the proxy, and then redirect requests for the uploaded image URL to the proxy. It was the only way we could really deal with the volume of images without having to either limit images or force them to be external

          • Blaze (he/him)@feddit.orgOP
            link
            fedilink
            English
            arrow-up
            2
            ·
            1 day ago

            Interesting, but I guess if you had the choice that every user would use an external hoster, that would be easier for you?

            I’m trying to ease the load on instance admins as well

    • Illecors@lemmy.cafe
      link
      fedilink
      English
      arrow-up
      5
      ·
      2 days ago

      For my family pixelfed instance I’ve discovered ffshare - it’s job is to act something like a pipe in a unix shell and strip exif data as well as downsize the source before sending it off to the target app.

      It’s not exactly what you’ve asked for, but it could be used here. Android, at least.

      • Elevator7009@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 days ago

        I was about to say thank you because I have just been finding some random image downsizer online, then I toss it through an EXIF stripper app on my phone and post. But then I checked and found ffshare appears to be just an Android app :( I guess that is what you meant by “Android, at least”. I Lemmy from an iPhone and I’m not about to get an Android emulator on my computer just to use ffshare.

      • Blaze (he/him)@feddit.orgOP
        link
        fedilink
        English
        arrow-up
        2
        ·
        2 days ago

        Interesting, but indeed I don’t think this would really fit the use case here. Posts to Pixelfed can’t be anonymous, right?

        • Illecors@lemmy.cafe
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          I didn’t mean pixelfed as an upload target, rather ffshare as a tool to reduce the size of the image and upload directly to lemmy.

  • Demigodrick@lemmy.zip
    link
    fedilink
    English
    arrow-up
    6
    ·
    2 days ago

    On a personal level I’m not fussed if people use local storage or offsite - i too can’t ever see catbox images so that’s the only host I have a problem with.

    • Tamlyn@lemmy.zip
      link
      fedilink
      English
      arrow-up
      2
      ·
      7 hours ago

      According to catbox uk banned the website. That could be the reason and that’s why i refrain from using it beimg on a uk instance

  • Libb@jlai.lu
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 days ago

    I never considered the question, sharing the (rare) pictures I post using the Upload Image button.

    A few years ago I used this: https://postimages.org/
    It worked well but I have no idea how trustworthy it is?

    • 👍Maximum Derek👍@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      I was using postimages for a year or better but they’ve been having some issues (with their CDN based on the symptoms). I’ve been using local uploads for a couple months as a result.

        • Libb@jlai.lu
          link
          fedilink
          English
          arrow-up
          2
          ·
          edit-2
          2 days ago

          Thx for the info. I have not used them in maybe 2 years so I could not tell. They worked rel well back then.

          Edit: judging by the other comments, it looks like they fixed it ;)

        • 👍Maximum Derek👍@discuss.tchncs.de
          link
          fedilink
          English
          arrow-up
          2
          ·
          2 days ago

          I stopped using them a couple months ago, so its fairly likely they’re fixed by now.

          The issue I was running into was that images I’d upload would take long enough for the first fetch that the browser would time out. Subsequent fetches by people in the same geographic area were fast, but folks far away would encounter that first super slow load. So if you’re not seeing that initial delay you’re probably good to go.

    • JohnnyEnzyme@lemm.ee
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      2 days ago

      Hi, Blaze. :-)

      TBH, I haven’t finished sorting out the reptiles and pondering the possibilities. Also, one thing I regret in that post is failing to clarify that I’d like to find a reasonable degree of confidence in finding a site that will maintain my content (not unlike as in a “will”) in to the medium-ish future, given my personal health situation, plus the fact that I live in a country that’s pretty much jumping in to a volcano after its recent election-process. (TBH, I don’t see myself surviving the next 4+ years)

      So, in terms of personally setting up some kind of host server that could potentially work for years after I’m gone, I’m pretty dang clueless over here. Maybe it’s a good option if I could coordinate such with my Lemmy-buds and some manner of financial legacy, I guess. Maybe. It seems like kinda unlikely to me, but who knows?

      Now, circling back to the dreaded Imgur-- It really is confusing. Quoting myself from just an hour ago:

      I’ve had stuff that I uploaded privately ~10yrs ago that’s still up on Imgur, and I’ve had some public posts that got traction at the time deleted after only ~8mos or so, plus other combinations of those factors, including file size issues.

      Right now it’s pretty baffling trying to understand their method, and I would guess it’s more of just some internal issue relative to Imgur, for example, maybe they just say ‘this data bank is having issues, so let’s migrate the paid content, delete the rest, and retire the data bank, replacing it with newer hardware.’ Something like that, anyway…

      • shalafi@lemmy.world
        link
        fedilink
        English
        arrow-up
        4
        ·
        1 day ago

        Thought I was going nuts until I saw your post the other day. (Was that you?) Yeah, I’ve had (seemingly) random pics go missing. I know for damn sure I posted more pics in 12-years of reddit and 1 here than what’s showing.

  • fxomt@lemm.ee
    link
    fedilink
    English
    arrow-up
    3
    ·
    2 days ago

    Upload pictures locally

    Too small for me, personally. I love catbox, but it’s frustrating that many users can’t see its content. I even had to put a disclaimer in latins description as a warning on how to fix it.

    I’ll look for image hosters then recommend them here.

  • ᴇᴍᴘᴇʀᴏʀ 帝@feddit.uk
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 days ago

    I use Lensdump - I see you can now upload video too.

    Catbox is a weird one - I could see images but not video or the main page through Wi-Fi but it works on mobile signal. After getting my phone repaired it now all works. Which I can’t explain.

    • Blaze (he/him)@feddit.orgOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      2 days ago

      After getting my phone repaired it now all works.

      That’s wild ha ha

      Lensdump looks cool, but requires an account, correct?

      • ᴇᴍᴘᴇʀᴏʀ 帝@feddit.uk
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 days ago

        That’s wild ha ha

        Especially as it as just a screen replacement.

        Lensdump looks cool, but requires an account, correct?

        Yes, but it is handy to have as you can access all your old files in folders. You nay just want to bang an image up somewhere and share it but there are memes and gifs you may use multiple times.