Photos Resources‎ > ‎Photos & Picasa FAQ‎ > ‎Google Photos‎ > ‎How to‎ > ‎

How to get a direct link to an image (of a specific size)

To share a picture in a forum, blog,... often you need a direct link to the jpg so it would be shown embedded in a post.

Using the following steps you can get a direct link... but mind, this procedure isn't documented by Google, so even though it is not likely, the behavior could change in the future:
  1. Go to the image you want a direct link to on photos.google.com
  2. Right-click the image and choose: 
    • in Chrome: "Copy image URL"
    • in Internet Explorer: "Copy"
    • in Firefox: "Copy image location"
  3. Now you can use "Paste" to put the link wherever you like. This is an example of such a link:
    1. https://lh3.googleusercontent.com/86arOE_jc_FYR6_mPbeXrzWB4LwvgCRWPGXbbftgG4_zAjY05ajbmq3xiG0Xc_uYCoTccikGvLdo5WIlofH5pmySn1VRejqngh2pwDLquiLJYayCOJKUrZKFnOwmSxKzQqqOM1y5o42TPk6LYR1vbPjrEPx3dQIUEwS4IPRjzt3JdPZT32TkqCECm-PoQtsBAPnyN6g46PbiyD9fblgzuBcT2xuO1AaZgOkR53bom8ATCBkDgcYT_mnsxWuxLGp6cNFUR4lWBFKyYkYJWJY--KmIVCWDDoJ3SxwjimGjwRG-X2Qu3AP4wa6tRazHuBo3a8IOofm6f5arSRdpVy4AaXoacTPz8TSkcofA0YaIttHpek1Gi5v1yMSbi5mHV6Mfv4lyczXPp8c5iNR7IFPvgMz1BiCETTxNwSvDjb2JCN94_256Fzejrs-Dk-kMYeCCYQh2Zd_lt9xiEQDgZ5gufdpxxM9xDiP447vrOqKbBMcAS_6hu43EwRi97ILAhBpS3QLP-4WhKf4GHauWqML_EcBvhszB-6T1iGeCWvpAT9jZVDVgekalBvLZiZNoy5Ow9QlnHA=w1827-h711-no
  4. (Optional) If for any reason you would like to have a shorter link to use, you can always use any url shortener on it, eg. https://goo.gl/https://bitly.com/,...
  5. (Optional) Some sites want to explicitly have an image extension at the end of the URL, you can try adding either -tmp.jpg or ?.jpg at the end:
    • -tmp.jpg: 
      1. https://lh3.googleusercontent.com/86arOE_jc_FYR6_mPb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M9xDiP447vrOqKbBMcAS_6hu43EwRi97ILAhBpS3QLP-4WhKf4GHauWqML_EcBvhszB-6T1iGeCWvpAT9jZVDVgekalBvLZiZNoy5Ow9QlnHA=w1827-h711-no?.jpg

    An image of a specific size

    If you want to get an image of a specific size, you can edit the link above as explained here.

    There are different parameters you can use to get different effects, but none are documented by Google, so the behavior could change or disappear at any moment. 

    You can always change the number(s) used in the parameters explained below with any other number to get a different size. If you request a size larger than the "physical" size uploaded to Picasa Web Albums, the physical size of the image will be returned (example, if you request the image in 200 pixels wide, and you ask for 300 pixels, only an image of 200 pixels will be returned).

    These are the "known" parameters by the Picasa TCs... If you know of any other, please post your finding on the picasa support forum:
    1. "s400": this gets the image with width or height (whichever is larger in the original image) resampled to 400 pixels. The other dimension will be 400 as well in case of a square images, otherwise it will be proportionally smaller. 
      Eg.:
    2. "w400": this gets the image resampled so the width is always 400 pixels.
      Eg.:
    3. "h400": this gets the image resampled so the height is always 400 pixels.
      Eg.:
    4. "w800-h400": this gets the image resampled in such a way so the width will be maximum 800 pixels and the height will be maximum 400 pixels. So one of the dimensions will be the exact size specified, the other dimension will be the size specified or smaller.
      Eg.:
    5. "...-c", eg: "w800-h400-c": this gets the image so it is exactly this size. The source image is first resampled so the image is fitting for the limiting dimension, then the other dimension is cropped so the image is the exact size asked. When cropping, it is just the centre of the picture that is kept.
      Eg.:
    6. "...-p", eg: "w800-h400-p": this gets the image so it is exactly this size. The source image is first resampled so the image is fitting for the limiting dimension, then the other dimension is cropped so the image is the exact size asked. When cropping, some algorythm searches the most interesting part of the image, so the result of the cropping doesn't always keep the center of the picture.
      Eg.:
    7. "s0", "w0", "h0", "w0-h0": this will get the image in it's original size, without any resampling nor cropping.
      Eg.:
    8. "...-no", eg: "w800-h400-no": this gives a slightly bigger image as a result (for the image I looked into), haven't found out yet what the exact impact is.