Why isn't get_serving_url() cropping working correctly?
According to the App Engine docs there's a method get_serving_url which
gives a URL to an image in the blobstore that can then be resized an
cropped. So I can take a URL like:
http://lh4.ggpht.com/TgjDT-cPRr6bjrpSVQeILk93o4Ouzjo1ygMB6KpmnCHhyH5vJKKRrqxCD2bC3T09CRIP6h5QFsV_l0hnhio5bN7z
add =w300-c:
http://lh4.ggpht.com/TgjDT-cPRr6bjrpSVQeILk93o4Ouzjo1ygMB6KpmnCHhyH5vJKKRrqxCD2bC3T09CRIP6h5QFsV_l0hnhio5bN7z=w300-c
and it should turn into a 300x300 square image.
Except, at the time of writing this post, the image that is returned by
the 2nd of the above URLs is horribly malformed.
Is this a bug? Or am I doing something wrong?
No comments:
Post a Comment