Added error message handling on admin side and made error for not having image file.