On Oct 22, 10:11 pm, Massimiliano <massimiliano.pietr...@gmail.com>
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 help me?
>
> class UploadHandler(blobstore_handlers.BlobstoreUploadHandler):
>  def post(self):
> upload_files = self.get_uploads('File')
> blob_info = upload_files[0]
>  self.request.get('Nick')
> frasi = FRASI()
> frasi.frase = self.request.get('Nick')
>  frasi.link = blob_info.key()
> frasi.put()
> self


The old way to do it:

  
http://code.google.com/appengine/docs/python/images/overview.html#Transforming_Images_from_the_Blobstore


The new way to do it:

  
http://code.google.com/appengine/docs/python/images/functions.html#Image_get_serving_url

  example: 
http://blog.tinisles.com/2010/08/app-engines-high-performance-image-serving/

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appeng...@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to