On Mon, Dec 22, 2014 at 6:09 AM, Janek Jaracz <[email protected]> wrote:

> I build website and I would like to using Google Drive for store pictures
> which I put into my website when user come there.
> I don't want this photos in my server because I want to speed up my
> website.
>
> There is way to download link to photo from Google API and display to my
> website ?
> For example in <img src="LINK FROM GOOGLE API" />
>



First of all, you want to set the image in Drive as publicly accessible.
Use the share context menu to set the right permissions:
http://imgur.com/ulr38JD  . The menu will show you a link where your image
is publicly available. Go to that link, click the more actions link, and
select the Embed option to get the HTML code needed to embed the image in
your web page: http://imgur.com/wtTrrQg

With that said, you may want to move the photos to your own hosting service
- Drive is great for sharing images among friends or small groups of
people, but it isn't intended as a CDN service. If your web site receives
many visitors, the images may become slow to load.



-----------------
-Vinny P
Technology & Media Consultant
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to