Display EXIF Metadata

Prerequisites and Setup

  • Any Media Library Organizer Pro license

Overview

Media Library Organizer Pro extends WordPress’ native [gallery] shortcode, allowing EXIF image data to be displayed within WordPress galleries.

When editing a Page, Post or Custom Post Type using the TinyMCE Classic Editor, click the Add Media button:
Media Library Organizer: EXIF & IPTC Addon: Shortcode: Add Media

In the modal dialog window, click Create Gallery
Media Library Organizer: EXIF & IPTC Addon: Shortcode: Create Gallery

Select the image(s) to display in your Gallery by clicking on them
Media Library Organizer: EXIF & IPTC Addon: Shortcode: Select Gallery Images

Click the Create a new gallery button
Media Library Organizer: EXIF & IPTC Addon: Shortcode: Create a New Gallery

In the right hand sidebar, choose the EXIF metadata to display by clicking / ticking the applicable checkboxes:
Media Library Organizer: EXIF & IPTC Addon: Shortcode: Display EXIF & IPTC Metadata

Finally, click the Insert gallery button
Media Library Organizer: EXIF & IPTC Addon: Shortcode: Insert Gallery

A [gallery] shortcode will then appear in the TinyMCE Editor, comprising of the EXIF attributes defined above.

Manually Adding Attributes to existing Galleries

You can also add attributes to any existing [gallery] shortcodes that you might have, therefore enabling EXIF metadata to be displayed.

To add one or more attributes, refer to the below table.

Parameter Accepted Value Description
display_camera_make string (true or false)
integer (0 or 1)
Displays the Camera Make
display_camera_model string (true or false)
integer (0 or 1)
Displays the Camera Model
display_created_date string (true or false)
integer (0 or 1)
Displays the date when the photograph was shot/taken, in the date format set at WordPress Admin > Settings > General > Date Format
display_created_time string (true or false)
integer (0 or 1)
Displays the time when the photograph was shot/taken
display_author string (true or false)
integer (0 or 1)
Displays the Author of the photograph
display_comments string (true or false)
integer (0 or 1)
Displays any Comments stored in the EXIF data
display_description string (true or false)
integer (0 or 1)
Displays the Description stored in the EXIF data
display_title string (true or false)
integer (0 or 1)
Displays the Title stored in the EXIF data
display_latitude string (true or false)
integer (0 or 1)
Displays the Latitude and Longitude, linked to Google Maps
display_longitude string (true or false)
integer (0 or 1)
Displays the Latitude and Longitude, linked to Google Maps
display_aperture string (true or false)
integer (0 or 1)
Displays the Aperture used when the photograph was taken
display_focal_length string (true or false)
integer (0 or 1)
Displays the Focal Length used when the photograph was taken
display_iso string (true or false)
integer (0 or 1)
Displays the ISO level used when the photograph was taken
display_orientation string (true or false)
integer (0 or 1)
Displays the Image Orientation
display_shutter_speed string (true or false)
integer (0 or 1)
Displays the Shutter Speed used when the photograph was taken
display_flash string (true or false)
integer (0 or 1)
Displays whether Flash was used when the photograph was taken
display_metering_mode string (true or false)
integer (0 or 1)
Displays the Metering Mode used when the photograph was taken
display_white_balance string (true or false)
integer (0 or 1)
Displays the White Balance used when the photograph was taken

Example Shortcode Usage

Display Camera Make and Model on Images with IDs 100,101 and 102

[gallery display_camera_make="true" display_camera_model="true" ids="100,101,102"]

Media Library Organizer: EXIF and IPTC Addon: Shortcode: Example: Display Camera Make and Model

Display Aperture, Focal Length, ISO and Shutter Speed on Images assigned to the Post the Shortcode is on

[gallery display_aperture="true" display_focal_length="true" display_iso="true" display_shutter_speed="true"]

Media Library Organizer: EXIF and IPTC Addon: Shortcode: Example: Display Aperture, Focal Length, ISO and Shutter Speed