upload file fixes, image display