Use the image caption as a data attribute