> There's an example in the XForms spec: > > <upload ref="mail/attachment" mediatype="image/*"> > <label>Select image:</label> > <filename ref="@filename" /> > <mediatype ref="@mediatype" /> > </upload> > > The mediatype for jpg is image/jpeg, so use mediatype="image/jpeg" Hi, Thanks for the info. Unfortunately it doesn't work perfectly in the Mozilla plugin. If I specify "image/jpeg", then it will only allow *.jpeg files, but not *.jpg (without 'e'). But capturing the mediatype with <mediatype ref="@mediatype" /> works well, so I will rather verify this part on the server side. Thanks, LaszloReceived on Wednesday, 11 February 2009 20:48:10 GMT
This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 11 February 2009 20:48:11 GMT