Add server side image file type validation