Show gallery and thumbnail captions in lightboxes

Change-Id: Ib0af725f39a881a993f3424b9137602cec065309