A Stupid bug, really

Uploading avatars

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')
4,573 views 5 replies
Reply #1 Top
...withdraw the swearing at the same time eh? (family site )
Reply #2 Top
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.
Reply #3 Top
...shoot, I wanted to see a studip bug.
Reply #4 Top

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

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

Reply #5 Top
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.