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

Image size is not working properly #419

Open
silva96 opened this issue Feb 24, 2022 · 0 comments
Open

Image size is not working properly #419

silva96 opened this issue Feb 24, 2022 · 0 comments

Comments

@silva96
Copy link

silva96 commented Feb 24, 2022

When I request my user, it returns the profile picture in this format (which I believe is not the format this gem expects)

https://lh3.googleusercontent.com/a-/AOh14Girjdxgw0kygBhGCtIpIOgxHuKej3MLf5Ug6vmA=s96-c

Beign s96-c the size.

Currently I'm mannually changing my url like this,

image.gsub('s96-c', 's128-c')

But I thought it would be useful to fix the bug in the gem

Here is the official documentation: https://developers.google.com/people/image-sizing

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