Media Placeholders
Activate this plugin to redirect all requests for missing uploaded images on your blog to your favorite placeholder image service, such as placehold.it or placekitten.com. Note that although kittens are cute, the…
Envisager une alternative
Media Placeholders shows warning signs in 2026 — compare the alternatives below before installing. It runs on 60+ sites, is rated 5/5 and was last updated 12 years ago, and scores 32/100 on our health check.
- Petite base d'utilisateurs (60+ installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 11 ans
- Uniquement testé jusqu'à WordPress 3,6 (le dernier est de 7,1)
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 Media Placeholders stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| 404 | >100 |
| development | >100 |
| images | >100 |
| placeholders | >100 |
| uploads | >100 |
Adoption de version
Part de sites actifs par version.
Répartition des notes
★★★★★ ★★★★★ 5 sur 2 avis
About Media Placeholders
From the official readme · v0.9.2Description
Activate this plugin to redirect all requests for missing uploaded images on your blog to your favorite placeholder image service, such as placehold.it or placekitten.com. Note that although kittens are cute, the placehold.it service is actually more useful because the background and foreground color can remain consistant across all image sizes (e.g. full size vs thumbnail in a gallery), and so it is easier to see which images in a page are related to each other. (You can change the default placehold.it service to placekitten.com by defining MISSING_UPLOADED_IMAGE_PLACEHOLDER_BUILTIN to be placekitten_color or placekitten_grayscale, or supplying those same values via the missing_uploaded_image_placeholder_builtin filter).
This plugin is for use during development only. It is expected that this plugin will be activated on your local development environment (e.g. on Vagrant or XAMPP), or on your staging server. This plugin is especially useful when working on a team where you share around a database dump but not the uploaded images (which should always be omitted from the code repository), so if you give a database dump to another developer but don’t include the uploaded images, with this plugin enabled they will see a placeholder where the uploaded image appears. This plugin is an alternative approach to what is offered by the Uploads by Proxy plugin.
If you have applied the production database to another environment which lacks the uploaded files, but you know that all images referenced in the database do exist on production, you can define the MISSING_UPLOADED_IMAGE_REDIRECT_SERVER constant or filter missing_uploaded_image_redirect_server to short-circuit the placeholder service and redirect the image request to that server.
This plugin will not work if you are on a multisite network that uses the old system for referring to uploaded files, where the URL includes /files/ which is intercepted by a rewrite rule and passed directly to ms-files.php. See #19235. Similarly, make sure that missing uploaded files get served by the WordPress 404 handler, not Apache/Nginx. If you are using Nginx with the default Varying Vagrant Vagrants config, you’ll want to remove png|jpg|jpeg|gif from the following location rule in nginx-wp-common.conf (or remove it altogether):
# Handle all static assets by serving the file directly. Add directives
# to send expires headers and turn off 404 error logging.
location ~* \.(js|css|png|jpg|jpeg|gif|ico)$ {
expires 24h;
log_not_found off;
}
You can add support for your own favorite placeholder services by filtering missing_uploaded_image_placeholder.
For example, you can add this to your functions.php or drop it into a mu-plugin:
<?php
/**
* Use Flickholdr as placeholder service
* @param null|string $url
* @param array $args {attached_file, width, height, attachment_id}
*/
function my_filter_missing_uploaded_image_placeholder( $url, $args ) {
$attachment = get_post( $args['attachment_id'] );
$tags = join( ' ', array(
$attachment->post_title,
$attachment->post_excerpt,
$attachment->post_content,
$attachment->_wp_attachment_image_alt
) );
$tags = strtolower( preg_replace( '#[^A-Za-z0-9]+#', ',', $tags ) );
$tags = trim( $tags, ',' );
$url = sprintf( 'http://flickholdr.com/%d/%d/%s', $args['width'], $args['height'], $tags );
return $url;
}
add_filter( 'missing_uploaded_image_placeholder', 'my_filter_missing_uploaded_image_placeholder', 10, 2 );
Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.
Journal de modifications
0.9.2
Apply PHPCS fixes and integrate Travis CI
0.9.1
Prevent default WordPress 404 handler from breaking placeholder redirect (#5)
0.9
First Release
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 Media Placeholders alternatives
Tous les 404 plugins →FAQ
Media Placeholders: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Media Placeholders free?
Yes. Media Placeholders is free to download and use from the official WordPress.org plugin directory.
Is Media Placeholders safe to use in 2026?
Media Placeholders shows warning signs in 2026 — compare the alternatives below before installing. It runs on 60+ sites, is rated 5/5 and was last updated 12 years ago, and scores 32/100 on our health check.
How many websites use Media Placeholders?
Media Placeholders is active on 60+ WordPress websites and has been downloaded 4,112 times since it launched in August 2013. It was downloaded 133 times in the last 30 days.
Does Media Placeholders work with WordPress 7.1?
Media Placeholders is officially tested up to WordPress 3.6.1, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Media Placeholders last updated?
The latest version, 0.9.2, was released on February 25, 2015 (12 years ago).
Who makes Media Placeholders?
Media Placeholders is developed and maintained by Weston Ruter.
What are the best alternatives to Media Placeholders?
The most popular alternatives to Media Placeholders are Redirection (2M+ installs), Broken Link Checker by AIOS… (200K+ installs) and Smart Custom 404 Error Page (100K+ 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
