embed images in div & add captions to media panel. fixes #61