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.
Image caption is working fine, but when I check the source code of the page, image caption is not there. Image caption is being rendered through javascript. So, is there a way image caption can be shown in the source code also?
Comments
Comment #1
davidwhthomas CreditAttribution: davidwhthomas commentedYes, you can use the included "image caption filter" module to generate the captions with HTML.
Comment #2
himagarwal CreditAttribution: himagarwal commentedI have indeed used the "image caption filter" and set it enabled in Filtered HTML and Full HTML. But, the filter is not working as it is not adding image caption to the source code.