imageProxy check file extention

Close #20