Support

Account

Home Forums Front-end Issues How can I get the caption of the used image in an picture element Reply To: How can I get the caption of the used image in an picture element

  • So if you’re using different images for different screen sizes, then you want to show the right caption.

    I think using media queries would give more control but you could look at the Bootstrap Display Property
    Simply add the necessary classes to show/hide the caption based on the screen size.

    But, I think media queries may be more accurate – just wanted to provide options.