fixed the images to render uploaded files