Do you also have image upload issues sometimes? I have posted a screenshot of how it looks when it fails. It is a known bug -> https://github.com/LemmyNet/lemmy-ui/issues/1489

Do you maybe know how to get around it, and still be able to upload the image?

  • Tiff@reddthat.comM
    ·
    1 year ago

    Most of the time these errors are related to pictrs not responding fast enough. Usually because it has to convert the picture, video, gif and pictrs is already busy.

    If you ever get these messages try again after 30 seconds (or so) and it should be fine

    • muffin@reddthat.com
      hexagon
      ·
      1 year ago

      Interesting, I did not know about pict-rs. Thank you, I will just try again, maybe with a downsized version of the picture.

  • example@reddthat.com
    ·
    edit-2
    1 year ago

    does it not show an error message for that?

    the referenced bug suggests that an error message should be shown, at least when using the lemmy-ui web interface.

    edit: i'm sorry, i'm blind, i didn't realize there was an image on this post.

    do you know if there's a correlation to file size?

    • muffin@reddthat.com
      hexagon
      ·
      1 year ago

      There is a correlation with file size. The picture I tried to upload was particularly big - about 20MB I think - so I probably should have downsized it anyway. There was no problem with uploading the few KB big screenshot.

      • Tiff@reddthat.comM
        ·
        1 year ago

        20MB is the max size so it's probably an issue with file size rather than a timeout or something along those lines. It's interesting that our webserver didn't block the connection before adding it to pictrs.

        If it works with a smaller image please let us know.

          • Lewdiculous@reddthat.com
            ·
            1 year ago

            Maybe interesting or not but I've been using .webp images as an alternative to .png, as they offer the same lossless quality at almost half the size sometimes, or .webp at 99% quality, which will of course give huge savings in file size while keeping all the relevant details unless pixel peeping of course.

  • RealOneIsNotHere@reddthat.com
    ·
    1 year ago

    I’d say reupload your image, and if you have more than one image, load the images in the description. It’s faster and won’t give you as many errors.