We want to replace product title/heading under product image with its caption(value in title attribute of IMG element).

The things that do need the captions are:

  1. When clicking on another image in the thumbnail group on the left, the appropriate caption for that image that now appears should now be attached to the image.
  2. Finally, after clicking on the big image and the lightbox or whatever that is opens, each image displayed (large size) should get the appropriate caption.

Here is the link to one of our products.

Image below shows what I want to replace with the caption.

enter image description here

Could you please share some idea on how to go about it?

1 Answer 1


The image caption shows from image alt tag. add alt tag text in product image. The alt tag will show as caption.

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.