On Mon, Aug 26, 2013 at 2:17 AM, Nick <[email protected]> wrote:

> The ImageService sits on top of the FileService. With recent changes to
> move away from the Blobstore and towards GCS, what is best practice for
> storing, retrieving and serving images?
>
> The docs here https://developers.google.com/appengine/docs/java/images/still 
> seem to refer to the blobstore.
> Is this transparent (i.e. the docs are up to date) or should I be storing
> and serving images differently?
>
> Will the ImageService disappear when the FileService is fully deprecated?
> Should I be rolling my own solution using the GCS Client Lib?
>



Is there a particular part of the images serving flow that you need help
with? You can use GCS in pretty much the same way as the Blobstore.

You can generate a GCS blob key by using createGsBlobKey in
BlobstoreService (
https://developers.google.com/appengine/docs/java/javadoc/com/google/appengine/api/blobstore/BlobstoreService).
As an example, here's a code fragment to generate a serving URL for
GCS-stored images:
http://learntogoogleit.com/post/53495330286/serving-url-for-images-stored-in-cloud-storage
(full
disclosure: I wrote the example)


-----------------
-Vinny P
Technology & Media Advisor
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/groups/opt_out.

Reply via email to