mod_media_exif

When uploading a file, this module extracts properties from the uploaded media and sets them in the resource.

Properties extracted from the uploaded file are:

  • GPS location
  • Crop center (derived from the focusing area)
  • Orientation
  • Date (start, end and original publication date)

Accepted Events

This module handles the following notifier callbacks:

  • observe_media_upload_rsc_props: Extract EXIF metadata fields and add them to resource properties on media upload.

Edit on GitHub

Observes

Notifications

observe_media_upload_rsc_props/3

Notification that a medium file has been uploaded. This is the moment to change resource properties, modify the file etc. The folded accumulator is the map…

Filters

Referred by

Tags

image

Show a still image using an <img\> element. The image will be automatically resized to the desired size and filters. For video, use the tag#media tag instead.