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

Doesn't work with images from Google Storage #22

Closed
MihaelIsaev opened this issue Apr 6, 2022 · 1 comment · Fixed by #23
Closed

Doesn't work with images from Google Storage #22

MihaelIsaev opened this issue Apr 6, 2022 · 1 comment · Fixed by #23

Comments

@MihaelIsaev
Copy link
Contributor

I'm trying to use the lib to show images stored on Google Storage but even though response Content-Type is correct first bytes are not for some reason, so library won't show these images.

Could you please check what's wrong, here is the reference image url
https://www.googleapis.com/download/storage/v1/b/onugo_test_bucket/o/7DA5FD4C-3B3C-413C-ACF1-3EAE0AA4249B?generation=1648683951228997&alt=media

@MihaelIsaev
Copy link
Contributor Author

Please take a look at the pull request, with these changes the lib works

Here is the screenshot of the headbytes, they are same for all JPEG images in Google Storage
Screenshot 2022-04-06 at 03 21 52

Though I haven't tried PNG, GIF or other formats

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

Successfully merging a pull request may close this issue.

1 participant