Photo EXIF Extractor

Extracts camera, lens, exposure, timestamp, and optional GPS EXIF metadata from photos in the EmDash media library.

Public name@anguszyu.bsky.social/exif

Or open Registry in your EmDash admin and search for this name.

Overview

Photo EXIF Extractor automatically inspects photos uploaded to your EmDash media library and extracts camera metadata, lens details, exposure settings, timestamps, and optional GPS coordinates.

Key Capabilities

  • Automatic Extraction: Listens to media:afterUpload and indexes photo metadata in sandboxed storage.
  • Multi-Format Support: Zero-dependency Web-API parser supporting JPEG, TIFF, WebP, PNG, HEIC, HEIF, and AVIF.
  • Privacy by Default: GPS coordinates are excluded by default and only extracted when explicitly enabled.
  • Admin Dashboard (/exif): Browse photos, inspect full camera/exposure details, filter by camera brand, and batch-scan existing media library items.
  • Public & Private APIs: Readily fetch metadata in theme templates and client frontends.

How to Use

  1. Automatic Extraction: Upload any photo to the EmDash media library. The plugin parses EXIF metadata in the background.
  2. Admin Dashboard: Go to Photo EXIF (/exif) in the admin navigation. You can view indexed photos, filter by camera make, inspect exposure values, and run batch scans ("Scan Missing Photos" or "Rescan All Photos").
  3. Frontend Display: Query photo EXIF from your theme or client application:
const res = await fetch("/_emdash/api/plugins/exif/get?mediaId=" + mediaId);
const { data } = await res.json();
if (data.found && data.exif) {
  // Preformatted summary
  console.log(data.exif.summary);
  // "Sony ILCE-7M4 · FE 35mm F1.4 GM · 35mm · f/1.4 · 1/250s · ISO 100"

  // Structured camera and exposure objects
  console.log(data.exif.camera);
  console.log(data.exif.exposure);
}

Permissions

Plugins get only the capabilities they declare and you approve. Your EmDash admin lists these again before anything installs.

  • Read media

    Read media metadata from your library.

  • Read media files

    Read the contents of files in your media library.

Installation

Installation

Install the plugin from the EmDash plugin registry:

pnpm add @anguszyu.bsky.social/exif

Registration

Add exif to your site's sandboxed plugins in emdash.config.ts:

import { defineConfig } from "emdash";
import exif from "@anguszyu.bsky.social/exif";

export default defineConfig({
  sandboxed: [exif],
});

Configuration

Configure options under Settings -> Plugins -> Photo EXIF Extractor in the EmDash admin console:

  • autoExtractOnUpload (default true): Automatically extract EXIF on upload.
  • includeGps (default false): Enable to store GPS coordinates (latitude, longitude, altitude).
  • includeRawTags (default true): Store raw TIFF/IFD tags alongside normalized metadata.

Keep exploring

More plugins like Photo EXIF Extractor

Browse by keyword, or see everything @anguszyu.bsky.social publishes.

Install on your site

Open in EmDash

Photo EXIF Extractor

@anguszyu.bsky.social/exif

Choose the EmDash site where you want to review this plugin. Nothing is installed until you confirm its permissions in that site's admin.

This browser will remember the site. You can change it next time.