No joy. I’m showing the pictures in a ‘mosaic’ using the JetPack gallery; perhaps that where the problem lies?
The pop-up window does work, but it still shows the picture’s title, not caption.
The javascript refers to the picture’s caption, so that’s the right script (not an older, cached script).
However, the caption info is in the HTML code —?that worked.
<img data-attachment-id="342" data-orig-file="https://f3d2f3313d45b3a6cec5-9cccc87e0594dcb7d2bd367a3d3ec10d.r41.cf1.rackcdn.com/wp-content/uploads/2014/02/131217-dg-174703.jpg" data-orig-size="768,1024" data-comments-opened="1" data-image-meta="{"aperture":"3.5","credit":"David I. Gross","camera":"E-M5","caption":"Syrian refugee child at a the Free Syria school.","created_timestamp":"1387253196","copyright":"Copyright \u00a9 David I. Gross","focal_length":"45","iso":"200","shutter_speed":"0.005","title":"Syrian Refugee Child"}" data-image-title="Ghaidaa’" data-image-description="<p>Syrian refugee child at a the Free Syria school.</p> " data-medium-file="https://f3d2f3313d45b3a6cec5-9cccc87e0594dcb7d2bd367a3d3ec10d.r41.cf1.rackcdn.com/wp-content/uploads/2014/02/131217-dg-174703-225x300.jpg" data-large-file="https://f3d2f3313d45b3a6cec5-9cccc87e0594dcb7d2bd367a3d3ec10d.r41.cf1.rackcdn.com/wp-content/uploads/2014/02/131217-dg-174703.jpg" src="https://i2.wp.com/insideoutsideproject.org/wp-content/uploads/2014/02/131217-dg-174703.jpg?resize=326%2C435" data-original-width="326" data-original-height="435" title="Ghaidaa'" alt="" style="width: 319px; height: 426px;" data-recalc-dims="1">
Here’s the short codes from my page (not post!).
[gallery link="none" type="rectangular" ids="618,617,616,348,347,346,345,344,343,342,341" orderby="rand"]
Here’s the offending page:
https://insideoutsideproject.org/mosaic