PhotoFetch
Search the WordPress Photo Directory (wordpress.org/photos) and import CC0 photos straight into your Media Library.
Utiliser avec prudence
PhotoFetch works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (<10 installations actives)
- Très peu de critiques jusqu'à présent
Comment s'accumule-t-il ?
Côte à côte sur les installations, les mises à jour, les évaluations et le supportTéléchargements quotidiens
Les pics de téléchargement suivent généralement une nouvelle version - chaque site qui met à jour automatiquement compte comme un téléchargement.
Classements
Where PhotoFetch stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| importeur | >100 |
| médias | >100 |
| photo directory | >100 |
| photos | >100 |
About PhotoFetch
À partir du Lisez-moi officiel · v2.0.0Description
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,
etc.) — 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.includes/class-photofetch-api.php::normalize_item()is where
the raw JSON from the Photo Directory gets mapped into predictable
sizes/alt/authorfields — it tries several plausible shapes
(media_details.sizes, an embedded featured-media object, a bare
source_url, etc.). If wordpress.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 (seePhotoFetch_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” — seephotofetch_generic_title_placeholdersfilter) are
treated as no title at all, and a fallback title is derived from the
photo’s slug instead (e.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
only the photographer credit line (e.g. “Photo by Jane Smith, via the
WordPress Photo Directory.”), 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-checkswp_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_authorattachment
meta for your own reference, in addition to the caption credit above.
Installation
- Upload the plugin files to the
/wp-content/plugins/photofetchdirectory, or install the plugin through the Plugins > Add New screen in wp-admin directly. - Activez le plugin via l'écran plugins dans WordPress.
- That’s it — no configuration is needed and no API key or account is required. Look under Media > Photo Directory, use the “Photo Directory” button next to Add Media in the classic editor, or use the “Photo Directory” tab inside the native media picker (Set Featured Image, Add Media, an Image block’s Media Library button, etc.).
Journal de modifications
Renamed to PhotoFetch. Breaking change: file names, text domain, and all internal identifiers changed. Deactivate and remove the old plugin, then install this one fresh.
2.0.0
Renamed the plugin from “Photo Directory Importer” to “PhotoFetch.” Unlike the 1.3.16 rename, this one is a full internal rebrand, not just the public-facing name:
* Main plugin file renamed from photo-directory-importer.php to photofetch.php; every includes/class-pdi-*.php file renamed to includes/class-photofetch-*.php; the bundled .pot file renamed to languages/photofetch.pot.
* The Text Domain (and every translation call’s domain argument) changed from photo-directory-importer to photofetch, matching the new slug — same requirement as the 1.3.14 and 1.3.16 fixes.
* Unlike 1.3.16, this time the internal-only identifiers were deliberately included: all PDI_* class names (PDI_API, PDI_Importer, PDI_Plugin, PDI_Settings) are now PhotoFetch_API, PhotoFetch_Importer, PhotoFetch_Plugin, PhotoFetch_Settings; the PDI_* constants are now PHOTOFETCH_*; every pdi_-prefixed hook, filter, nonce, AJAX action, option, and meta key (including the _pdi_source_id/_pdi_source_url/_pdi_source_author/_pdi_imported attachment meta) is now photofetch_-prefixed; and every pdi-* CSS class, script/style handle, and HTML id is now photofetch-*.
* This is a breaking change for existing installs: deactivate and remove the old plugin, then install this one fresh. Site functionality and every imported photo’s existing attachment meta are otherwise unaffected — only the identifiers above changed, not what they do.
1.3.17
- Fixed the phpcs findings from a fresh run against the renamed plugin:
an equals-sign alignment warning inclass-pdi-plugin.php‘s author-link
rewriter, missing short descriptions in three doc comments (one each in
class-pdi-importer.php andclass-pdi-settings.php, two total in the
latter), andlanguages/index.php‘s file comment switched from a//
line comment to the required/** ... */docblock style.
1.3.16
- Renamed the plugin from “WP Photo Directory Importer” to “Photo
Directory Importer” — WordPress.org’s plugin guidelines prohibit “WP” or
“WordPress” in a plugin’s name, since it implies an official affiliation
the plugin doesn’t have. This touched everything tied to the old name:
thePlugin Nameheader, the main plugin file
(wp-photo-directory-importer.php→photo-directory-importer.php),
theText Domain(and every translation call’s domain argument, to
match — same requirement as the 1.3.14 fix), the bundled.potfile’s
name and contents, and the@packagedocblock tag across every PHP
file. Internal-only identifiers (thePDI_*class names,pdi_–
prefixed hooks/filters/nonces,pdi-*CSS/JS handles) were left
untouched, since none of them spell out “WP” or “WordPress” and
changing them would be an unrelated, unnecessary breaking change.
1.3.15
- Fixed incorrect plural handling in the browse screen and media-picker
tab: several “N selected”/”N imported” strings picked between exactly
two hardcoded forms using acount === 1check in JavaScript — correct
for English, but impossible for a translator to adapt to a language
with three, four, or six plural forms (Russian, Polish, and Arabic,
among others). Now useswp.i18n._n(), which consults the current
locale’s real plural-forms rule instead. Along the way this also fixed
a visible English-language bug: the single-photo “quick import” success
message was using the plural template with the count hardcoded to 1,
producing “1 photos imported.” - Added a bundled
.potfile (languages/photo-directory-importer.pot)
and aDomain Pathheader, so translators have a starting point instead
of needing to generate one themselves before they can begin.
1.3.14
- Fixed a Plugin Check error: “Mismatched text domain. Expected
‘photo-directory-importer’ but got ‘pdi’.” WordPress.org requires the
Text Domain header, and every translation function’s domain argument,
to exactly match the plugin’s own folder/slug. Changed the domain from
pdi tophoto-directory-importereverywhere: the plugin header
and all translation function calls across every PHP and JS file.
Internal-only identifiers that happen to start withpdi_(hooks,
filters, nonces, meta keys, transient keys) were deliberately left
untouched, since those aren’t text domains. - Reformatted a handful of PHP statements that became excessively long
purely from the domain string’s length.
1.3.12
- On the Plugins list page, each contributor’s name now links to their
own wordpress.org profile (https://profiles.wordpress.org/username)
instead of the whole comma-separated author list linking to one shared
GitHub URL — the standard plugin header format only supports one link
for the entire “Author” string, so this rewrites the row directly via
theall_pluginsfilter. - Added a “Settings” link to the plugin’s row on the Plugins page,
appearing first among the action links, right next to “Deactivate”.
Pour les développeurs
Est-ce votre plugin ? Montrez les chiffres.
Ajoutez un badge en direct à votre site, docs ou github readme. Il se met à jour par lui-même - aucun compte n'est nécessaire.
Best PhotoFetch alternatives
All importer plugins →FAQ
PhotoFetch: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is PhotoFetch free?
Yes. PhotoFetch is free to download and use from the official WordPress.org plugin directory.
Is PhotoFetch safe to use in 2026?
PhotoFetch works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use PhotoFetch?
PhotoFetch is active on <10 WordPress websites and has been downloaded 241 times since it launched in October 2026. It was downloaded 98 times in the last 30 days.
Does PhotoFetch work with WordPress 7.1?
Yes. The developer has tested PhotoFetch up to WordPress 7.1.5, the latest release. It requires WordPress 5.8 or newer.
What PHP version does PhotoFetch need?
PhotoFetch requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was PhotoFetch last updated?
The latest version, 2.0.0, was released on October 16, 2026 (2 months ago).
Who makes PhotoFetch?
PhotoFetch is developed and maintained by Topher.
What are the best alternatives to PhotoFetch?
The most popular alternatives to PhotoFetch are WordPress Importer (2M+ installs), Starter Templates & Sites P… (70K+ installs) and Blogger Importer (50K+ installs).
Propulsé par PageForge
Un modèle et une feuille de calcul. Une vraie page pour chaque recherche.
PageForge transforme chaque ligne d'un CSV en une page WordPress avec son propre titre, URL, SEO et schéma, construit sur la mise en page que vous Déjà conçu. Gratuit sur WordPress.org.
- CSV et XLSX, plus Google Sheets sur les professionnels et les entreprises
- Son propre titre, URL, SEO champs et schéma pour chaque page
- Fonctionne avec l'éditeur de blocs, Elementor, Divi et Avada
- Gratuit sur WordPress.org, pas de carte de crédit
