Add Captions to Picture

Created on 25 March 2015, over 9 years ago
Updated 19 September 2023, about 1 year ago

Problem/Motivation

Captions for images with simple implementation, and plays nicely with Media (see A Comparison of Drupal 7 Image Caption Methods using WYSIWYG Module with CKEditor for more info).

Proposed resolution

Picture is a good fit because it plays nicely with Media.

Provide a hook in theme_picture() to allow third party modification of picture output. In the meantime, I will provide a patch that simply wraps the <picture> element in a <div> tag and CSS styles to handle it.

Remaining tasks

  • Add a "Title is caption" flag to ckeditor image properties
  • Provide theme_picture() hook
✨ Feature request
Status

Closed: outdated

Version

2.9

Component

User interface

Created by

πŸ‡ΊπŸ‡ΈUnited States jcandan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡¬πŸ‡§United Kingdom lesleyfernandes

    I am closing all very old tickets that have not received comments for a long time. If someone still faces these issues or thinks they are relevant, please reopen it. Feel free to contribute with more info or a patch.

Production build 0.71.5 2024