Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
I've created a slideshow on my front page. I viewed the page's source code and it seems the slide show images have empty "title" and "alt" attributes.
<img typeof="foaf:Image" src="my_domain/front_page_slideshow/public/slideshow/images/ss01_02.jpg" width="940" height="400" alt="" title="" />
<img typeof="foaf:Image" src="my_domain/front_page_slideshow/public/slideshow/images/ss01_01.jpg" width="940" height="400" alt="" title="" />
I would like to have those attributes, especially "alt" as it helps with SEO. It can even be the same value for "title" and"alt".
Can you help me ?
Best regards,
Bonasera
Comments
Comment #1
digitalecartoons CreditAttribution: digitalecartoons commentedI would like to have those options to. Especially the Alt attribute for SEO purposes. I've noticed that the Title attribute is used for captions. When I enter captions for an immage, that title appears in the Title tag for that image. But it there could also be an option in the image manage section to at a title for the Alt tag, that would be great. Can you add that in an update?
Comment #2
shadcn CreditAttribution: shadcn commentedThanks for the report. I pushed a fix in the 7.x-1.x branch.