[google-appengine] Re: Image upload problem with GAE SDK running wordpress

2016-01-21 Thread Nick (Cloud Platform Support)
Hey Ed, Unfortunately it seems that you're not providing enough technical information to allow people to make inferences about what might be the cause of the issue. The use of language to describe your tests / development / environment is ambiguous: you speak in your linked Stack Overflow Q&A

[google-appengine] Re: Image upload problem with GAE SDK running wordpress

2016-01-21 Thread 'Ed Nunez' via Google App Engine
There's no custom code written to upload the image data into the blobstore by my team. It's just an observation of how GAE SDK / wordpress starter project is configured. We are working with the local dev environment which doesn't leverage GCS directly (perhaps the sdk is simulating the GCS via

[google-appengine] Re: Image upload problem with GAE SDK running wordpress

2016-01-20 Thread Christian F. Howes
hmmm, i don't have experience with wordpress and blobstore, we are using wordpress and Google Cloud Storage and it works just fine with the (i think it is google provided) wordpress GCS plugin. would switching to that be an option for you? On Wednesday, January 20, 2016 at 9:30:55 AM UTC-8, Ed

[google-appengine] Re: Image upload

2011-11-12 Thread Ernesto Oltra
GWT is compiled to JavaScript: it can't do what JavaScript can't either. The trick of FileUpload is sending the form (and the file) in a hidden iframe; that way you haven't to reload the whole page. There is a good reason not to use FormPanel? Ikai has a blog post with some sample code using GW

Re: [google-appengine] Re: Image Upload

2010-10-28 Thread Massimiliano
Could you help me? I can't upload files!!! This is my code: -- upurl = blobstore.create_upload_url('/upload') -- Upload a picture: Caption: -- class UploadHandler(blobstore_handlers.BlobstoreUploadHandler): def post(self): upload_files = self.get_uploads('File') bl

Re: [google-appengine] Re: Image Upload

2010-10-28 Thread Massimiliano
I can't understand. I have removed my serve class and I have added the lines as for your example: frasi.link = blob_info.key() frasi.Tlink = images.get_serving_url(frasi.link, 94) frasi.Glink = images.get_serving_url(frasi.link) With this lines the upload url returns an error (he can't find the

Re: [google-appengine] Re: Image Upload

2010-10-27 Thread Barry Hunter
You could store the url in the datastore (after updating your model definion to include the field :) > frasi.gruppo = self.request.get('domain') > frasi.link = blob_info.key() frasi.servinglink = images.get_serving_url(frasi.link, 32) > frasi.put() . Then would just in the template .

Re: [google-appengine] Re: Image Upload

2010-10-27 Thread Massimiliano
I do understand this, but my html is: How have I to modify the html? I tried with an Iframe, but doesn't work. class UploadHandler(blobstore_handlers.BlobstoreUploadHandler): def post(self): upload_files = self.get_uploads('File') blob_info = upload_files[0] self.request.get('Nick') frasi =

Re: [google-appengine] Re: Image Upload

2010-10-27 Thread Barry Hunter
get_serving_url is a URL to the file directly - you use it in the actual image tag. self.response.out.write(''%images.get_serving_url(resource, 32)) On 27 October 2010 19:28, Massimiliano wrote: > I'm trying to serve the images with this code, but it's not working > class ServeHandler(webapp.R

Re: [google-appengine] Re: Image Upload

2010-10-27 Thread Massimiliano
I'm trying to serve the images with this code, but it's not working class ServeHandler(webapp.RequestHandler): def get(self, resource): self.response.headers['Content-Type'] = "image/png" self.response.out.write(images.get_serving_url(resource, 32)) Could you help me? 2010/10/27 Massimiliano

Re: [google-appengine] Re: Image Upload

2010-10-27 Thread Massimiliano
I have understand very well the Stephen solution. I'm just fighting with the serve part of the code... 2010/10/27 ego008 > you can do it step by step here > > > http://code.google.com/intl/en/appengine/docs/python/images/usingimages.html > > >

Re: [google-appengine] Re: Image Upload

2010-10-26 Thread ego008
you can do it step by step here http://code.google.com/intl/en/appengine/docs/python/images/usingimages.html GAE Geek http://gaefons.appspot.com/ -- You received this message because you are subscribed to the Google

Re: [google-appengine] Re: Image Upload

2010-10-26 Thread Massimiliano
Great! Thanks! This is really easy to be used! 2010/10/26 Stephen > > > On Oct 22, 10:11 pm, Massimiliano > wrote: > > Dear All, > > I'm building a gallery and I'm allowing users to upload their images, but > I > > want all the images with a specific width in the blobstore. I'm trying to >

[google-appengine] Re: Image Upload

2010-10-26 Thread Stephen
On Oct 22, 10:11 pm, Massimiliano wrote: > Dear All, > I'm building a gallery and I'm allowing users to upload their images, but I > want all the images with a specific width in the blobstore. I'm trying to > using the Image Api, but I can't understand how. > > This is my code, could someone hel