Image descriptions: how to display?

Is there a way to display the Description fields of media library images? I tried Theme Option/Media Attributions, but no.

Thanks

Wade

Hi Wade,
We don’t currently display metadata entered into the description field anywhere in the reading interface. You should use the ‘caption’ field for any information you want to display below an image/figure. For more on what the media attributions option does, see: https://guide.pressbooks.com/chapter/media-attributions/. If these are turned on, the ‘title’ of the image will be displayed in the attribution statement. Hope that helps?

Yep. I was just wondering if I was missing something.

Thank you

1 Like

Nope – you weren’t missing anything. I believe that the description field is most frequently used in WordPress themes that support something called the ‘image attachment page’ – relevant for WordPress (blog/website publishing) generally but less so for Pressbooks (book publishing). See https://premium.wpmudev.org/blog/advanced-attachment-page/ for more on the subject if you’re interested.

Ah, ok. Thanks, I’ll check that out.

Aloha, just replying here because this topic came up with our use of Pressbooks.

It would be awesome for PB to use image metadata to produce captions which meet the attribution requirements of the CC licenses (title, author, source, license). We’re having to go back and copy/paste this info into the caption field of a swath of images that are included in our OER books, but were created by other people and each with a specific license.

An automated approach would be fantastic.

hi @wmeinke totally agree. To some degree you can do this now, if you use the built in media attribution feature for media and turn on media attributions in your chapter theme: Appearance – Pressbooks User Guide. These attributions are displayed at the end of the chapter in a dedicated section rather than in the image captions, however.

1 Like