Carlos Gavidia-Calderon
Carlos Gavidia-Calderon

Reputation: 7253

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?

Upvotes: 9

Views: 1838

Answers (1)

specialscope
specialscope

Reputation: 4218

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

Upvotes: 19

Related Questions