Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sometimes images are too big #5

Open
dphiffer opened this issue May 22, 2024 · 3 comments
Open

Sometimes images are too big #5

dphiffer opened this issue May 22, 2024 · 3 comments

Comments

@dphiffer
Copy link
Member

Example: https://mltshp.com/r/1Q2F1

Error:

{'error': '1120x935 images are not supported'}
@dphiffer
Copy link
Member Author

Here is another related error that came up, I think Mastodon doesn't like our animated GIFs:

Downloading https://mltshp.com/r/1Q2HB
Uploading 1Q2HB (image/gif) “dance scene from Midsommar”
Failed to post https://mltshp.com/p/1Q2HB “tuesday” (HTTP 422)
Error: Process completed with exit code 1.

@dphiffer dphiffer changed the title Sometimes GIFs are too big Sometimes images are too big May 23, 2024
@dphiffer
Copy link
Member Author

One more example:

Downloading https://mltshp.com/r/1Q2HY
Uploading 1Q2HY (image/jpeg) “No alt provided”
{'error': '4284x5712 images are not supported'}
Posting without an attachment
Posted https://mltshp.com/p/1Q2HY “Dave's Not Here Man”

dphiffer added a commit that referenced this issue May 25, 2024
@dphiffer
Copy link
Member Author

One more example of a GIF failing to post. What happens is the attachment gets created and starts processing asynchronously and then when we go and try to use with a toot it's processed the file enough to determine it's too big.

Downloading https://mltshp.com/r/1Q2OB
Uploading 1Q2OB (image/gif) “miss Piggy strutting”
Failed to post https://mltshp.com/p/1Q2OB “into the weekend like” (HTTP 422)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant