can't you just do that with IS_IMAGE

you can also use both validators at the same-time too.

I'm not an regex expert but something like this "\.(svg|svgz|)$" will work 
with IS_UPLOAD_FILENAME, (pass for extension param)

Reply via email to