14
Image Upload issues (reddthat.com)
submitted 11 months ago by muffin@reddthat.com to c/community@reddthat.com

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?

top 12 comments
sorted by: hot top controversial new old
[-] CookieJarObserver@sh.itjust.works 6 points 11 months ago

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

[-] ticoombs@reddthat.com 3 points 11 months ago* (last edited 11 months ago)

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 😊.

[-] CookieJarObserver@sh.itjust.works 2 points 11 months ago

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.

[-] Lewdiculous@reddthat.com 2 points 11 months ago* (last edited 11 months ago)

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.

[-] ticoombs@reddthat.com 3 points 11 months 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 2 points 11 months 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 2 points 11 months ago* (last edited 11 months 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 1 points 11 months 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.

[-] ticoombs@reddthat.com 2 points 11 months 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.

[-] muffin@reddthat.com 1 points 11 months ago

It works with a smaller (450KB) image ~

[-] Lewdiculous@reddthat.com 1 points 11 months 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 points 11 months 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.

this post was submitted on 28 Sep 2023
14 points (100.0% liked)

Reddthat Community and Support

664 readers
1 users here now

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:

founded 1 year ago
MODERATORS