Skip to content

How to handle images over Bluesky's (undocumented) 10MB limit? #2107

Open

Description

@Baralheia

I've noticed that when a post that includes photos is bridged from AP > AT, sometimes the image is glitched when viewing the mirrored post on Bluesky. The photo looks exactly as expected on Mastodon, but it looks like the bottom 25% of the image is repeated on Bluesky.. It does not happen for all images, but from the few times I've encountered it, there doesn't appear to be any rhyme or reason for what triggers this issue.

Here's some examples:

Activity

  1. snarfed commented on Sep 28, 2025

    @snarfed
    Owner

    Oof, ugly. Sorry!

    This looks like #1925, and I think the conclusion is the same. We don't store, serve, or process images (or videos) ourselves. The Bluesky CDN fetches them directly from your Mastodon instance, or wherever else they're served originally. I don't know why this happens occasionally, but sadly we don't really have any visibility into debugging or fixing it.

  2. snarfed commented on Sep 28, 2025

    @snarfed
    Owner

    One thing I do notice is that these images are 13MB and 14MB, respectively, as was #1925's. Bluesky's nominal image size limit of 1MB has never been enforced, but I wonder if there's a higher undocumented limit of 10MB or similar that's smaller than these images?

  3. snarfed commented on Sep 28, 2025

    @snarfed
    Owner

    Looks like this ^ is it, Bluesky's CDN has an (I think) undocumented 10MB limit on files. Here's what one of your examples looks like if I truncate it at 10MB, it cuts off at the same place as the Bluesky CDN, which repeats instead of going black.

    Image
  4. changed the title [-]Photos attached to bridged posts are sometimes glitched[/-] [+]How to handle images over Bluesky's (undocumented) 10MB limit?[/+] on Sep 28, 2025
  5. snarfed commented on Sep 28, 2025

    @snarfed
    Owner

    So if Bluesky can't handle images over 10MB, I wonder what we should do when we hit a post with an >10MB image. Not bridge it? Include a link instead of the image itself? Leave it corrupted? @Baralheia @anujahooja thoughts?

  6. Baralheia commented on Sep 28, 2025

    @Baralheia
    Author

    I honestly had no idea that my images were that massive... I have no experience with instance administration but I didn't realize that Mastodon instances like the one I'm on aren't doing any sort of processing on images to save space/bandwidth.

    I'm split between thinking either Bridgy should ignore posts with media greater than BlueSky's limits, or that it should just send it anyway like it does right now, even if it doesn't look great. The limit is in BlueSky itself, not ATproto, right? Sooner or later they're gonna have to deal with files that may exceed their limits with competing forks/reimplementations of their service stack on ATproto, so maybe this is the time/place to bring it to their attention since technically they are the bottleneck here. And I'm personally not a big fan of linking back, because at least in my experience it's difficult to get people to actually click through from BlueSky... I'd rather the experience for a follower on BlueSky to be as similar as possible to the experience of a follower on Fedi without having to click links to see the content.

  7. snarfed commented on Sep 28, 2025

    @snarfed
    Owner

    Right, this is Bluesky-specific, not ATProto. And people constantly badger them about image resolution and size, it's an active conversation over there.

    It's a tough tradeoff. Corrupted images obviously suck, but if we silently dropped posts with too-big images, that would be bad UX too. I guess I could add something to the docs. @anujahooja may have more product/UX ideas here.

  8. self-assigned this
    on Sep 29, 2025
  9. quillmatiq commented on Sep 29, 2025

    @quillmatiq
    Collaborator

    I don't think a link to an image is a bad move when we see it surpassing the limit, better than corrupted images or dropping it completely. But I agree with @Baralheia that, chances are, most people wouldn't even click through.

    This may take some thinking, so I'll assign it to myself as a product brainstorm. Thanks for finding and creating the issue, @Baralheia !

  10. added a commit that references this issue on Oct 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions