WordPress plugin intelligence profile

PhotoFetch

Search the WordPress Photo Directory (wordpress.org/photos) and import CC0 photos straight into your Media Library.

WP PlugIndex snapshot

Current directory snapshot

Tested up to WordPress 7.1
Current version2.0.0
WordPress coverageTested up to WordPress 7.1
Minimum stackWP 5.8 · PHP 7.4
Directory statusactive
Last directory update16 Oct 202617d ago
Active installationsNewAdoption metric — not a quality score
WordPress.org ratingNo WordPress.org ratings yet
Official packageDirect from WordPress.org

Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →

WP PlugIndex currently records PhotoFetch version 2.0.0 as active, updated 17d ago and tested up to WordPress 7.1.

Overview

About this plugin

This plugin adds a “Photo Directory” search UI to wp-admin that talks to the

public Photo Directory REST API.

You can search, preview, and import photos directly into your own Media

Library, where the imported image behaves exactly like any regular upload

— usable as a featured image, inside blocks, in a gallery, etc.

Entry points:

  • Media > Photo Directory — a dedicated search/browse admin page.
  • “Photo Directory” button next to Add Media in the classic editor.
  • “Photo Directory” tab inside the native WordPress media picker itself

(Set Featured Image, Add Media, an Image block’s Media Library button,

) — works in both the classic and block editor, since they share the

same underlying media picker.

Notes for developers

  • This is an unofficial integration with a public but not formally

documented API. php::normalize_item() is where

the raw JSON from the Photo Directory gets mapped into predictable

sizes/ alt / author fields — it tries several plausible shapes

sizes, an embedded featured-media object, a bare

). org changes the API’s response shape,

this is the one function that should need updating.

  • Title and alt text are sourced independently: alt text prefers a real

alt-text field if the API exposes one, otherwise falls back to the same

text used for the Description field (see PhotoFetch_API::normalize_item() for

the exact priority order). It’s never derived from the title. For title,

known upstream placeholder strings (currently “Photo Detail”, “Untitled”,

“Untitled Photo” — see photofetch_generic_title_placeholders filter) are

treated as no title at all, and a fallback title is derived from the

g. red-fox-in-snow → “Red fox in snow”). If

the slug itself isn’t usable, the title falls back to “Untitled photo”.

  • The attachment’s Description field (post_content) and alt text both get

the photo’s full description text; its Caption field (post_excerpt) gets

g. “Photo by Jane Smith, via the

”), or is left empty if no author name is

available.

  • The search/browse picker UI doesn’t display each photo’s title — many

photos on the Photo Directory only have a slug-derived fallback title

(see above), which isn’t meaningful to show while browsing. The title is

still set on the imported attachment; it’s just not shown in the grid.

  • Imports are deduplicated: each imported attachment gets a

_photofetch_source_id meta value, and re-importing the same photo returns the

existing attachment instead of downloading it again.

  • Image format conversion (Settings > Photo Directory,

PhotoFetch_Settings::get_format()) happens in

PhotoFetch_Importer::maybe_convert_image(), right after download and before

sideloading. It re-checks wp_image_editor_supports() at import time

rather than trusting the stored setting outright, and falls back to the

original file on any failure.

  • Search results are cached for 5 minutes via transients to avoid hammering

the upstream API on repeat searches.

  • All photos on the Photo Directory are released CC0 (no attribution

required), but the plugin stores the original photo URL and author name

(when available) as _photofetch_source_url / _photofetch_source_author attachment

meta for your own reference, in addition to the caption credit above.

WordPress.org metadata

Plugin tags

Topics listed for this plugin in the WordPress.org directory.

  • photo directory
  • importer
  • media
  • photos
Compatibility & maintenance

Compatibility & maintenance

Tested with WP 7.1

Marked as tested with the current WordPress 7.1 release.

Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 5.8 · PHP 7.4
Update activity16 Oct 202617d ago

“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.

Changes recorded by WP PlugIndex

Recent tracked changes

No tracked version or compatibility changes have been recorded by WP PlugIndex yet.

Tracking & source

WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.

Plugin watchlist

Watch this plugin

Sign in to your WP PlugIndex account or create a free account. Free accounts can watch up to 5 plugins and see what changed.

Watch limit

Watchlist limit reached

You have reached your current active watch limit.