added styles for captions
include attribute works for galleries