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.
Another minor observation on a handy module.
Provide for an alternative HTML5 based template, i.e.,
<figure class="image_field">
<?php print $image; ?>
<figcaption class="image-field-caption">
<?php print $caption; ?>
</figcaption>
</figure>
reference: http://html5doctor.com/the-figure-figcaption-elements/
Comment | File | Size | Author |
---|---|---|---|
#1 | image_field_caption-change_to_HTML5_figure_figcaption_2031435.patch | 990 bytes | Badfaerie |
Comments
Comment #1
Badfaerie CreditAttribution: Badfaerie as a volunteer commentedPatch does the above, but does not add a specific class. It inserts the default field-item classes and you can add any other classes you need or want.
Comment #2
Badfaerie CreditAttribution: Badfaerie as a volunteer commentedComment #3
Badfaerie CreditAttribution: Badfaerie as a volunteer commentedComment #4
iStryker CreditAttribution: iStryker at University of Waterloo commentedI feel like this could break things. If people have css for this then it would break, as all elements would change
Marking all 7.x as out of date. If the problem persists, then only a new issue.