fixed the issue of image in media detail page.