The Royal Blog of LordConeneo
Uploading avatars
Published on December 19, 2004 By LordConeneo In WinCustomize Talk
I tried loading an avatar, and I found a really stupid bug ( or whatever). If you guys want only jpg images, why show all files? I selected the image in my folder, and after loding, it says it only wants a jpg images? Why can't you select only jpgs then?

BTW, there is a typo error. Just down here where we choose plain text or pure HTML code, equivalent is spelled wrong, and so is default, and 'for' (in 'for free hand typing')

Comments
on Dec 19, 2004
...withdraw the swearing at the same time eh? (family site )
on Dec 19, 2004
Well, I'm not an expert with form input, but it might be that you can't tell the browser "only accept PNG files, thanks". Pretty sure you can specify an initial file name, but the user's not forced to honour it. Having a look at the HTML spec, I do not know if the "accept" keyword to set a mime type can be used, or if IE/Firefox use that to restrict file types.
on Dec 19, 2004
...shoot, I wanted to see a studip bug.
on Dec 19, 2004

Sorry, GM....I corrected the thread spelling...

[just experimenting....was looking for his reported errors]

on Dec 19, 2004
Not sure, but looking at the w3c site it might be possible: http://www.w3.org/TR/html4/interact/forms.html#edef-FORM there's and attribute "accept" that suggest useragents to do this. Haven't tried it though.