Added Image Validation for Stocks

Image validation to only accept gifs, jpegs and pngs