debugging image checker for restricted file type field