Hello ,
I am using theme named "Me Gusta!" which has a submit photo page.
This page allows users to submit a photo, and specify the title, category, tags. Upon submitting the form, a post is automatically created.
To upload an image, the form uses the wordpress media uploader, where the user can upload a file, add title and caption, and choose to attach to post.
But the problem is, other file types can be uploaded, including rar, which I don't want.
Is there a way to make the media uploader verify the file type upon choosing the file in the file browser (before uploading)?
Or, is there a way to use another uploader, and add a function to attach image upon submit ?
Please help me .
Thank you.