cffile upload using accept= image/*
I am running a site that allows users to upload their picture to a profile. I want to ensure that people only upload a picture format: jpg, gif, png... So i have this code
<cf_sanfile
action="upload" filefield="upload" nameconflict="overwrite" destination="#File_Path#\member\profile\photo" enctype="multipart/form-data" accept="image/*">
Works great but is there a way to redirect them to a new page or use an alert box to notify them when it is not a picture format instead of the site just referring them to the site admin?
