Hi Dinesh, Thank you for your input. It was indeed very helpful. :-)
Cheers On Thu, Oct 9, 2014 at 10:16 AM, Dinesh J Weerakkody <[email protected]> wrote: > Hi Niranda, > > modern browsers support accept attribute and explain in this stackoverflow > tread [1]. If that doesn't work for you, you have to write a custom js for > validation. > Sample validation can be found here [2]. > > [1] > http://stackoverflow.com/questions/3521122/html-input-type-file-apply-a-filter > [2] > http://www.codeproject.com/Tips/700593/FileUpload-Filter-File-Type-File-Extension-File-Si > > > On Wed, Oct 8, 2014 at 5:48 PM, Niranda Perera <[email protected]> wrote: > >> Hi, >> >> Is there any way to restrict only files of certain file types to be >> uploaded in the API thumbnail image section in APIM? >> >> Rgds >> >> >> -- >> *Niranda Perera* >> Software Engineer, WSO2 Inc. >> Mobile: +94-71-554-8430 >> Twitter: @n1r44 <https://twitter.com/N1R44> >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> > > > -- > > *Dinesh J. Weerakkody* > Software Engineer > WSO2 Inc. > lean | enterprise | middleware > M : +94 727 361788 | E : [email protected] | W : www.wso2.com > -- *Niranda Perera* Software Engineer, WSO2 Inc. Mobile: +94-71-554-8430 Twitter: @n1r44 <https://twitter.com/N1R44>
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
