validation of product image upload