3

I have a google image: http://lh3.googleusercontent.com/YCHiHLv3pCrzi1dK4CFPMkyxPddG8qjsjez-ufiqthPhnqI5XIG39xuXPp0H4Di1BZk-RrIiAyb1nhUOGlA

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

Example :

http://lh3.googleusercontent.com/YCHiHLv3pCrzi1dK4CFPMkyxPddG8qjsjez-ufiqthPhnqI5XIG39xuXPp0H4Di1BZk-RrIiAyb1nhUOGlA=s100 -> worked

http://lh3.googleusercontent.com/YCHiHLv3pCrzi1dK4CFPMkyxPddG8qjsjez-ufiqthPhnqI5XIG39xuXPp0H4Di1BZk-RrIiAyb1nhUOGlA=s200 -> worked

http://lh3.googleusercontent.com/YCHiHLv3pCrzi1dK4CFPMkyxPddG8qjsjez-ufiqthPhnqI5XIG39xuXPp0H4Di1BZk-RrIiAyb1nhUOGlA=s300 -> worked

But from s=600 :

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

Soni Sol
  • 2,367
  • 3
  • 12
  • 23
Hung Vu
  • 31
  • 1
  • It looks like the max is 512 – marian.vladoi Nov 07 '19 at 09:09
  • @marian.vladoi example this image : http://lh3.googleusercontent.com/QJt2NbaFsB9sQXDPYoyIPHDCeBeTJdu6kHO9U5gFmguZRReAvEyTzboItVidqWNeT1QEpzruKLBPcF_W (512x454) but you still can resize to 1000px. http://lh3.googleusercontent.com/QJt2NbaFsB9sQXDPYoyIPHDCeBeTJdu6kHO9U5gFmguZRReAvEyTzboItVidqWNeT1QEpzruKLBPcF_W=s1000 – Hung Vu Nov 07 '19 at 09:34
  • Could you specify which tool did you use to upload the image and get that URL? – Mayeru Nov 08 '19 at 15:06
  • @Mayeru I am using this https://github.com/albertcht/python-gcs-image – Hung Vu Nov 08 '19 at 15:31

0 Answers0