Picture Element Responsive and Retina Images
WordPress has introduced the srcset feature into core which is great but this plugin goes a step further to help theme developers use the picture element with a fallback to a standard image tag and srcset.
Envisager une alternative
Picture Element Responsive and… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 10 years ago, and scores 23/100 on our health check.
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Pas de mise à jour dans 9 ans
- Uniquement testé jusqu'à WordPress 4,7 (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 Picture Element Responsive… stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| photo | >100 |
| responsive images | >100 |
| retina images | >100 |
Adoption de version
Part de sites actifs par version.
About Picture Element Responsive and Retina I…
À partir du Lisez-moi officiel · v1.0.0Description
WordPress has introduced the srcset feature into core which is great but this plugin goes a step further to help theme developers use the picture element with a fallback to a standard image tag and srcset.
This plugin also offers support for on the fly image generation plugins. In fact it’s hugely encouraged to use one as this plugin can cause image uploads to slow down otherwise.
It also offers support for 2x and 3x images for retina screens so you can serve the best image possible for your visitors.
Define image sizes
First you need to define your image sizes, similar to add_image_size. This particular function is optional but recommended because it also creates 2x and 3x images for retina.
E.G. add_image_size_for_picture('mobile_images', 320, 0, true);
Using images in your template
Once your sizes are defined you can call them in your template like so:
generate_picture($some_attachment_id, [
'mobile_images' => '(max-width: 320px)'
], [
'class' => 'some-class-name',
'data-item' => 1
]);
The second argument array is in the format of image size name : media query that way you can specify as many different responsive sizes as you need to.
The third argument allows you to add attributes to the source/img tag.
Integrating with on the fly image generation plugins
Adding upload sizes to wordpress and slow down the image upload significantly as we generate three times as many images that you add a size for. This can cause the upload to time out if you are using a server with a low amount of cpu cores.
To solve this we recommend using a plugin that will create these images independent of the upload and not affect users. For this purpose we have three filters available for you to change the functions we call underneath the hood.
responsive_retina_images_add_size_function is the function to call when adding a new size, by default this calls `add_image_size`
'responsive_retina_images_source_function is the function to call when pulling the image from the database, by default this calls `wp_get_attachment_image_src`
responsive_retina_images_source_function_index is the index at which to access the url returned from `responsive_retina_images_source_function`, by default this is `0`
For example if you were to integrate with Fly Dynamic Image Resizer you could add the following to your functions.php.
add_filter('responsive_retina_images_add_size_function', function() { return 'fly_add_image_size'; });
add_filter('responsive_retina_images_source_function', function() { return 'fly_get_attachment_image_src'; });
add_filter('responsive_retina_images_source_function_index', function() { return 'src'; });
Installation
- Upload the plugin or install via the WordPress interface and activate it.
- Add your image sizes using the
add_image_size_for_picture, this follows the same syntax asadd_image_size - In your template call
generate_picturewith the arguments of the attachment_id, an array of the image sizes you want to use, and then any attributes you want to add to the source/img tags.
Journal de modifications
1.0.0 – Initial version of the plugin
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 Picture Element Responsive an… alternatives
All picture plugins →FAQ
Picture Element Responsive and Reti…: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Picture Element Responsive and… free?
Yes. Picture Element Responsive and… is free to download and use from the official WordPress.org plugin directory.
Is Picture Element Responsive and… safe to use in 2026?
Picture Element Responsive and… shows warning signs in 2026 — compare the alternatives below before installing. It runs on 10+ sites and was last updated 10 years ago, and scores 23/100 on our health check.
How many websites use Picture Element Responsive and…?
Picture Element Responsive and… is active on 10+ WordPress websites and has been downloaded 1,788 times since it launched in February 2017. It was downloaded 42 times in the last 30 days.
Does Picture Element Responsive and… work with WordPress 7.1?
Picture Element Responsive and… is officially tested up to WordPress 4.7.40, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
When was Picture Element Responsive and… last updated?
The latest version, 1.0.0, was released on February 23, 2017 (10 years ago).
Who makes Picture Element Responsive and…?
Picture Element Responsive and… is developed and maintained by christhewanderer.
What are the best alternatives to Picture Element Responsive and…?
The most popular alternatives to Picture Element Responsive and… are ImageMagick Engine (60K+ installs), Easy Watermark (30K+ installs) and Simple User Avatar (20K+ 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
