You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
How to handle images over Bluesky's (undocumented) 10MB limit? #2107
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.
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.
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?
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.
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
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?
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.
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.
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 !
Reacted by Ryan Barrett and Baral'heia Stormdancer
Activity
snarfed commentedon Sep 28, 2025
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.
snarfed commentedon Sep 28, 2025
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?
snarfed commentedon Sep 28, 2025
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.
[-]Photos attached to bridged posts are sometimes glitched[/-][+]How to handle images over Bluesky's (undocumented) 10MB limit?[/+]snarfed commentedon Sep 28, 2025
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?
Baralheia commentedon Sep 28, 2025
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.
snarfed commentedon Sep 28, 2025
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.
quillmatiq commentedon Sep 29, 2025
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 !
docs: Bluesky CDN 10MB image limit