Rendering thumbnail of consultation image on upload