Yes. IS_LENGTH(...) works for file size upload IS_UPLOAD_FILENAME and IS_IMAGE can be used to filter by extension and content respectively.
On Dec 6, 12:37 pm, Andrew Evans <[email protected]> wrote: > Hello I am wondering if there is a way to limit the File type and upload > size in web2py > > I have my db field named images and I want to specify just gif, jpg, png for > example :D > > As well as a File Size any ideas > > *cheers > > PS Sorry if this question has been asked before but I couldn't find any info > on this > > Thank you

