adds image_caption and bordered css classes