1

I am getting G+ profile info along with image easily with the GoogleApiClient in android. Problem is, the image is very small (size=50) by default. And I am getting hard time to get the image with the size of my own choice. Is there any way I can specify the size using identity library?

NOTE: I am using com.google.android.gms:play-services-identity:7.8.0.

Anindya Chatterjee
  • 5,824
  • 13
  • 58
  • 82
  • This should help. http://stackoverflow.com/questions/27033961/android-how-to-get-google-profile-image-and-cover-photo-into-navigation-drawer – Derek Fung Aug 31 '15 at 14:05
  • 1
    You can take look at the official doc [here](https://developers.google.com/android/reference/com/google/android/gms/plus/model/people/Person.Image). To resize the image and crop it to a square, append the query string ?sz=x, where x is the dimension in pixels of each side. – bjiang Aug 31 '15 at 17:05
  • The doc is misleading. By default it put size ?sz=50. I just want to avoid string manipulation. – Anindya Chatterjee Aug 31 '15 at 20:59
  • what about I want to get the large profile image without cropping to square (e.g. original image) please ? – Beeing Jk May 11 '16 at 10:59

0 Answers0