Adding common utility functions
Initial beta of imageview function

Allows previewing of uploaded images