It's a security issue that can be exploided if you allow public to manage
width and height.
Google in appengine for serving image the size has to be in:
IMG_SERVING_SIZES = [
32, 48, 64, 72, 80, 90, 94, 104, 110, 120, 128, 144,
150, 160, 200, 220, 288, 320, 400, 512, 576, 6
I think I got it need to pass the args as a tuple
thanks for the help :-)
Hi I don't think that's what I need.. perhaps it is
I have my download controller for example it takes in arguments for width
and height.
def download():
if len(request.args) == 1:
return response.download(request, db)
else:
myImage = request.args[0]
myImage = os.p
Look at the IS_IMAGE validator. There is code in there that extracts
the size.
On Dec 14, 10:24 pm, Andrew Evans wrote:
> How can I pass the width and height values as arguments from my image to my
> download controller cause I want to resize images based on those values on
> the fly and can't fi
4 matches
Mail list logo