Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

GAE Blobstore: ImagesService.getServingUrl() gives me smaller images

I'm uploading some images to GAE's Blobstore. Upload goes succesfully and when i see the images in GAE console i can see that they're stored in the expected size and resolution.

According to this site, to get a URL to the uploaded image i can use this:

BlobKey blobKey = (BlobKey) blobs.get("image");
ImagesService imagesService = ImagesServiceFactory.getImagesService();
String imageUrl = imagesService.getServingUrl(blobKey);

The resulting URL points to a smaller version of the uploaded images (in size and quality). How can i get a URL to the full size image stored in Blobstore?

like image 853
Carlos Gavidia-Calderon Avatar asked Mar 08 '12 17:03

Carlos Gavidia-Calderon


1 Answers

you can append =s0 parameter after the url to get full sized image.

like image 105
specialscope Avatar answered Oct 04 '22 08:10

specialscope