[whatwg] Wish: Restrict Image Size on Upload

Ian Hickson ian at hixie.ch
Mon Dec 27 02:08:49 PST 2004


On Mon, 27 Dec 2004 what at keepthebyte.ch wrote:
>
> It would be useful to be able to define a bounding box of allowed 
> picture width and height when uploading picture(s). The UA would need to 
> check if the selected picture(s) is/are inside the allowed range (min - 
> max width & height). With picture I generally mean the internet 
> widespread formats (png, gif, jpg).

With the coming of high-resolution monitors, the pixel size of the image 
will presumably become less important, as monitors will be getting more 
pixels per centimeter.

Web Forms 2 does provide a way to limit the file size, however, which is 
presumably more important.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'



More information about the whatwg mailing list