Skip to content

How to get the original image after upload (not thumbnail)? #1467

Discussion options

You must be logged in to vote

Looking through the atproto docs, I found this endpoint: com.atproto.sync.getBlob.

It seems to find the original uploaded blob, but how do I access the actual raw image data? The call returns an empty body, but the response headers show the correct mime type and size, so I know it's finding the correct file, I just can't figure out how to actually download it.

UPDATE: I was looking at the return value the wrong way; I am getting the binary image blob in the response, and it does show the original size and mime type, so I'll mark this as the answer to my question. (Although I still think clicking images in Bluesky really should display them at the original size.)

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@GreenFootballs
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by GreenFootballs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants