• Resolved alexofff

    (@alexofff)


    Hi.
    WP 5.9.3 + FooGallery ver 2.2.16 + FooBox Image Lightbox ver 2.7.17
    Faced the problem of the absence of the ALT tag when displaying the main pictures from the gallery. The ALT tag is filled in for all images in the media gallery and is present in image previews. (https://everydog-fund.ru/animals-page/terri/).
    How can I add ALT to HTML output of the main image? – <img src="https://everydog-fund.ru/wp-content/uploads/2022/09/20-1533.jpg" class="fbx-item fbx-item-image" style="overflow: hidden;">

    https://ibb.co/PNx4FLr

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Plugin Support elviiso

    (@elviiso)

    Hi @alexofff

    First, if you want the ALT to be displayed as the caption or/and description, you can set that in the “Captions” section of the gallery settings of that particular gallery as shown in this linked image: https://share.getcloudapp.com/NQujm4rB

    Regarding adding the HTML to the ALT section, it is not possible to do so. The HTML will be stripped off if you were to try to do so. However, it is possible to add the HTML content to the Caption or Description section as shown in this image and have them rendered on the thumbnail images and the lightbox too: https://prnt.sc/I9MXVcdFom8J

    Kind regards,
    Elvis.

Viewing 1 replies (of 1 total)
  • The topic ‘Alt tag for main images in galleries.’ is closed to new replies.