Added a caption attribute which will be read by the gallery
Added caption attribute to the example html