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?

6 points

Try using a image hoster, they are more reliable and federate better.

permalink
report
reply
3 points
*

I would like to think that our integrated image host is better than external image hosts. Unfortunately pictrs (the app which uploads/serves the images) doesn’t have the ability to run multiple instances yet. That is coming soon and should help a lot with these.

I would beg to differ on federating “better” but I might be biased 😊.

permalink
report
parent
reply
2 points

If you use a outside image host, your host instance doesn’t need to process the image for federation, it just federates a link some instance admins just set up a file hoster for example.

permalink
report
parent
reply
2 points
*

I also prefer hosting externally and only linking the image directly in posts, avoids having the instance store additional files and has been pretty reliable and fast to me. I’d say something like catbox.moe or postimg.cc are good starting points – from a general user perspective.

I also had an annoying experience where an instance purged their images and it resulted in me having to go back to my posts to update their files, since then I’m a firm believer in using external links instead, and this is never an issue in those cases.

permalink
report
parent
reply
3 points

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

permalink
report
reply
2 points

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

permalink
report
parent
reply
2 points
*

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?

permalink
report
reply
1 point

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.

permalink
report
parent
reply
2 points

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.

permalink
report
parent
reply
1 point

It works with a smaller (450KB) image ~

permalink
report
parent
reply
1 point

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.

permalink
report
reply

Reddthat Community and Support

!community@reddthat.com

Create post

Reddthat Community & Support

This community is for us to chat about anything and everything, including support topics!

There is no defining specific rules for this community and it can be anything from “I do not like the weather” to “I’ve won the jackpot and want to give all the money away to charity!” 😄

Before posting, have you read the rules?

Introductory Required Reading


For anything else, try a search and see what turns up, if not post away!


Alternative Matrix Chatroom:

Alternative Support Forums:

Community stats

  • 95

    Monthly active users

  • 87

    Posts

  • 413

    Comments