I am using Gallery Compoent > Gallery Video item and added the image for "Custom local thumbnail" attribute which having the ALT text also, but after rendering of image, its not showing the ALT Text for image:

 <img width="1000" height="40" style="left: 0px; top: 0px; width: 1000px; height: 40px; display: block; position: absolute; min-height: 0px; max-height: none; min-width: 0px; max-width: none; opacity: 1; transform: translate3d(0px, 0px, 0px);" src="/-/media/Project/Site1/shared/Img1.png">

Is there any way to include image alt text in image tag?

  • 1
    I've checked the code and Rendering Variants are properly generating <img /> HTML tag with alt attribute but looks like JS plugin which we use for galeria is doing some tricks to the HTML and alt attribute is gone. – Dawid Rutkowski Mar 8 at 12:29
  • Any alternative for that? – Amit Kumar Mar 8 at 12:35
  • Probably not if you want to add ALT text to this particular image. Feel free to register Support ticker. – Dawid Rutkowski Mar 8 at 13:33
  • @DawidRutkowski: I have raised the support ticket for this support.sitecore.net/helpdesk/viewitem?id=528069. – Amit Kumar Mar 21 at 4:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.