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.
I have a site where we always want the caption to appear if the title is provided. Most forget to add the class. The attached module does this and takes the alignment from either align or the style. It does not remove these so the caption CSS should include clear:both.
An alternative would be to add options to the existing filter but that makes them more complicated.
Comment | File | Size | Author |
---|---|---|---|
image_caption_filter_always.tar_.gz | 1.89 KB | bwong |