use regex for allowed image upload types

also clean/recompile assets