Media Pair
Pair a mobile image in the Media Library once and output responsive picture elements automatically across WordPress.
Utiliser avec prudence
Media Pair works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 56/100 on our health check.
- Testé avec le dernier WordPress (7.1)
- Petite base d'utilisateurs (plus de 10 installations actives)
- Très peu de critiques jusqu'à présent
- Nécessite PHP 8.1 ou plus récent
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 Pair stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| art-direction | #9 |
| images | >100 |
| mobile | >100 |
| photo | >100 |
| sensible | >100 |
Adoption de version
Part de sites actifs par version.
About Media Pair
À partir du Lisez-moi officiel · v1.0.2Description
Media Pair adds art direction to WordPress Media Library images. Upload a desktop image, pair a separate mobile composition once, and the plugin outputs semantic <picture> markup across blocks, featured images, and theme image functions.
- Mobile image pairing in the Media Library, block editor, and media list
- Automatic
<picture>output via core WordPress filters - Support for Image, Featured Image, Gallery, and Media & Text blocks
- Inline content images via
wp_content_img_tag - Global breakpoint and enable/disable settings
- Admin hints in the Media Library, featured image metabox, and block editor
media_pair_get_picture()helper for themes and ACF blocks
Comment cela fonctionne
Media Pair stores a link between a desktop attachment and a separate mobile attachment. When WordPress renders the desktop image on the frontend, the plugin wraps it in a <picture> element:
- A
<source>tag serves the mobile image at or below your configured breakpoint. - The original desktop
<img>remains as the fallback for larger screens.
Pairing happens once per image in the Media Library. You do not need to configure individual posts, blocks, or pages. Anywhere WordPress outputs that attachment — featured images, Image blocks, galleries, theme templates, or custom code using wp_get_attachment_image() — the paired markup is applied automatically.
The frontend uses pure HTML and CSS media queries. No JavaScript is loaded for visitors.
Configuration
Pairing images
- Open Media → Library and select a desktop image.
- In the attachment details, find the Mobile image field.
- Click Select, choose a separate mobile composition from the library, and save.
- The pair saves automatically. Use Remove to unlink the mobile image.
You can also manage pairs from:
- The Mobile pair column in the Media Library list (includes a filter for paired/unpaired images)
- The Media Pair panel in the block editor sidebar for Image and Featured Image blocks
- A hint in the post Featured image metabox when the selected image has an active pair
Each mobile image can only be linked to one desktop image. An image already used as someone else’s mobile variant cannot be given its own pair.
Paramètres du plug-in
Go to Settings → Media Pair:
- Enable Media Pair — Turn frontend
<picture>output on or off globally. - Mobile breakpoint (px) — Screen width at which the mobile image is used. Default:
767. Screens at or below this width load the mobile source. - Picture CSS class — CSS class added to generated
<picture>elements. Default:media-pair. - Data cleanup — When enabled, all pairing metadata is removed if you uninstall the plugin.
Where output appears
Media Pair hooks into standard WordPress image rendering:
wp_get_attachment_image()— theme templates, widgets, and custom codepost_thumbnail_html— featured imageswp_content_img_tag— inline images in post and block content, including Image, Gallery, and Media & Text blocks
Images without a mobile pair are left unchanged.
Pour les développeurs
Use media_pair_get_picture( $attachment_id, $size, $attr, $context ) in themes or ACF blocks when you need explicit control over picture output.
Use the media_pair_should_use_pair filter to allow or skip pairing for specific attachments or render contexts.
Intimité
Media Pair does not send data to external services and does not track users.
Installation
- Téléchargez le dossier
media-pairdans/wp-content/plugins/ - Activate the plugin through the Plugins screen
- Open any image in the Media Library and choose a Mobile image
- Adjust settings under Settings → Media Pair
Journal de modifications
1.0.2
- Compatibility: tested with WordPress 7.1
1.0.1
- Security: escape admin UI output with native WordPress functions
- Security: avoid unverified request input when detecting the attachment edit screen
1.0.0
- Communiqué initial
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 Pair alternatives
All art-direction plugins →| Rang | Plugin | Installations actives |
|---|---|---|
| 1 |
|
50+ |
| 2 |
|
10+ |
FAQ
Media Pair: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Media Pair free?
Yes. Media Pair is free to download and use from the official WordPress.org plugin directory.
Is Media Pair safe to use in 2026?
Media Pair works, but test it on a staging site before relying on it in 2026. It runs on 10+ sites and was last updated 4 months ago, and scores 56/100 on our health check.
How many websites use Media Pair?
Media Pair is active on 10+ WordPress websites and has been downloaded 374 times since it launched in July 2026. It was downloaded 69 times in the last 30 days.
Does Media Pair work with WordPress 7.1?
Yes. The developer has tested Media Pair up to WordPress 7.1.5, the latest release. It requires WordPress 6.0 or newer.
What PHP version does Media Pair need?
Media Pair requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Media Pair last updated?
The latest version, 1.0.2, was released on August 19, 2026 (4 months ago).
Who makes Media Pair?
Media Pair is developed and maintained by Bogdan Bendziukov · Pluginarium.
What are the best alternatives to Media Pair?
The most popular alternatives to Media Pair are Responsive Picture Block (50+ installs) and Content Art Direction (10+ 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





