W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2005

[whatwg] Wish: Restrict Image Size on Upload

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 6 Jan 2005 17:20:10 +0000 (UTC)
Message-ID: <Pine.LNX.4.61.0501061718360.1160@dhalsim.dreamhost.com>
On Tue, 28 Dec 2004 what at keepthebyte.ch wrote:
> 
> Right - the UA-based limitation of file size, mime type and file count 
> are undoubted important improvements. Being able to restrict the picture 
> dimension before the file is getting send to the server would be nice.

Could you explain what some of the use cases would be? (i.e. why it would 
be nice?)


> Example tag... (just an idea)
> 
> <input type="file" name="avatar" accept="image/*" maxlength="81920" 
> dimension="256,256,32,32" />

But if someone has a high-resolution monitor, why would they not be 
allowed to provide a higher-resolution image? The image would be sized to 
the same relative size on the forum, but would look better on 
higher-resolution displays.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Thursday, 6 January 2005 09:20:10 UTC

This archive was generated by hypermail 2.3.1 : Monday, 13 April 2015 23:08:20 UTC