Main Content
Using WC Images
Adding Dynamic Captions
If you would like to give readers the option to toggle an image caption on and off, you can use WC Images.

To create a dynamic caption, do the following:
- Enclose your image in
figure
tag, as shown below. - Make sure your
figure
has a uniqueid
and theimage-info
class as shown below. - Enclose your caption in a
figurecaption
tag just below the image tag, as shown below.
<figure id="example01" class="image-info">
<img alt="Example Image" src="image URL here" /></figure>
<figcaption>Insert image caption here</figcaption>