A simple canvas based image preview for uploads