import checks for proper image extension
Merge pull request #20 from bdolor/imageValidate

import checks for proper image extension