added preview image class to show image-needs to be implemented