Awesome update! But I’m getting a status code for all images. I’m posting a picture to hopefully help. Thanks!

  • candyman337@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    1 year ago

    502 is usually from a site rate limiting you for some reason. If it’s a site that hosts a lot of images as you scroll it’s possible it just got too many requests at once or too many in rapid succession.

    • gromdroid@lemmy.worldM
      link
      fedilink
      English
      arrow-up
      3
      ·
      1 year ago

      If it works again, then it was indeed most likely an error of the server that hosts the images.

      When images fails to load, there is often nothing I can do. I added these messages to at least indicate why an image doesn’t load. When an image fails to load, you can always press it and then it opens the image in the browser. That way you can verify if it’s a problem with Lemma, or if the image just doesn’t work at all (:

    • candyman337@sh.itjust.works
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Could mean that the app is pulling full-sized images instead of thumbnails or is pulling the same image multiple times, or it could just be a lower traffic site that can’t handle requests as well as some larger hosting sites

    • CatsGoMOW@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      502 is not a rate limiting response. That would be 429. 500-level codes are for server errors. But of course that’s all just convention and you can design a crappy API to use whatever code you want.