Added basic image previewing

Added basic previewing for .jpg files