updating show_media tag to be a simple_tag