add styling to single image and video support
move image_grid code to a partial