[whatwg] Wish: Restrict Image Size on Upload

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