Add image captions to gallery