W3C home > Mailing lists > Public > whatwg@whatwg.org > December 2004

[whatwg] Wish: Restrict Image Size on Upload

From: Ian Hickson <ian@hixie.ch>
Date: Mon, 27 Dec 2004 10:08:49 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0412271002260.13968@dhalsim.dreamhost.com>
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.   `._.-(,_..'--(,_..'`-.;.'
Received on Monday, 27 December 2004 02:08:49 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:58:38 UTC