Re: [appengine-java] Re: ImageService from dev server

2010-11-20 Thread Tatyana
so, you are not using com.google.appengine. api.datastore.Blob ? On Sat, Nov 20, 2010 at 12:23 PM, andrew wrote: > Just to re-iterate: > > the question is related to images stored in the BLOBSTORE (not the > datastore) and served via the ImageService using the > > url = imagesService.getServingU

[appengine-java] Re: ImageService from dev server

2010-11-20 Thread andrew
Just to re-iterate: the question is related to images stored in the BLOBSTORE (not the datastore) and served via the ImageService using the url = imagesService.getServingUrl(blobKey); call. -- You received this message because you are subscribed to the Google Groups "Google App Engine for Jav

Re: [appengine-java] Re: ImageService from dev server

2010-11-20 Thread Tatyana
While saving image in the datastore and using valueStrategy = IdGeneratorStrategy.IDENTITY for the primaryKey you then retrieve the image by the id. This works on development and production servers. On Sat, Nov 20, 2010 at 4:49 AM, andrew wrote: > Didier: > > Forgot to clarify this in the pre

[appengine-java] Re: ImageService from dev server

2010-11-20 Thread andrew
Didier: Forgot to clarify this in the previous post. I have no problems to upload (and even delete) files to the blobstore in local dev_server. The problem is the URL returned by the call: url = imagesService.getServingUrl(blobKey); from the ImageService code when running in dev_server it

[appengine-java] Re: ImageService from dev server

2010-11-20 Thread andrew
Starman: Unfortunately that solution won't work for the deployed code working with the *real* blobstore/image service, as the serving URL returned is a real URL for the ImageService on a different server to your application, so you need to store the host and port. I'd rather not have specific cod

[appengine-java] Re: ImageService from dev server

2010-11-18 Thread Didier Durand
Hi Andrew, I use the blobstore service locally for my tests: I can upload files. For the viewer, it comes in the Datastore viewer with entity type = "__BlobInfo__" (you also have a __BlobsSession__ entity in the viewer) regards didier On Nov 18, 11:09 pm, Starman wrote: > Just remove the proto

[appengine-java] Re: ImageService from dev server

2010-11-18 Thread Starman
Just remove the protocol:ip:port prefix before you store the serving url. On Nov 18, 3:03 pm, andrew wrote: > I am having issues getting a url for an image to be served from the > ImageService when running locally on the dev server. > > The code (which works fine when deployed) is this: > >