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

googleusercontent resize return wrong image #9

Open
hungplatfox opened this issue Feb 26, 2020 · 3 comments
Open

googleusercontent resize return wrong image #9

hungplatfox opened this issue Feb 26, 2020 · 3 comments

Comments

@hungplatfox
Copy link

Hi, I am using the API - and convert an image:

http://lh3.googleusercontent.com/_e2TmTw-YsUE89Zt0UXT6UCjwVzTC7lyAi5EvyBrZq7h7t6Z7Dy0rAvCgEdMs8sVKQJ3pWEWHxcri65vPA

Tried resize this image by add the "s=PixelValue" in the end of URL.

Example :

http://lh3.googleusercontent.com/_e2TmTw-YsUE89Zt0UXT6UCjwVzTC7lyAi5EvyBrZq7h7t6Z7Dy0rAvCgEdMs8sVKQJ3pWEWHxcri65vPA=s100 -> worked

http://lh3.googleusercontent.com/_e2TmTw-YsUE89Zt0UXT6UCjwVzTC7lyAi5EvyBrZq7h7t6Z7Dy0rAvCgEdMs8sVKQJ3pWEWHxcri65vPA=s200 -> worked

http://lh3.googleusercontent.com/_e2TmTw-YsUE89Zt0UXT6UCjwVzTC7lyAi5EvyBrZq7h7t6Z7Dy0rAvCgEdMs8sVKQJ3pWEWHxcri65vPA=s300 -> worked

But from s=600 :

http://lh3.googleusercontent.com/_e2TmTw-YsUE89Zt0UXT6UCjwVzTC7lyAi5EvyBrZq7h7t6Z7Dy0rAvCgEdMs8sVKQJ3pWEWHxcri65vPA=s600 -> Google return wrong image, it's different image but same URL

This bug is random, sometime it happends. Tried debug but can not fixed it, please help.

@zvictor
Copy link
Contributor

zvictor commented Mar 1, 2020

this is crazy... in this upload, anything up to 512 it shows one image, above 512 it shows another image.

how often are you facing issues like that? was this the only image?

@hungplatfox
Copy link
Author

I got alot images, have to delete images and re-upload to get new link. Its random bugs, about 5% images got issue.

@JayGoldberg
Copy link

I'm getting a 403 on that now. Let me do some more testing. This may have been fixed.

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

3 participants