Theme Image Block
The Theme Image Block plugin allows you to register images from your theme and make them available as blocks in the WordPress editor. This is useful for logos, icons, and other images that are part of your theme’s…
Envisager une alternative
Theme Image Block shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 10 months ago, and scores 36/100 on our health check.
- Petite base d'utilisateurs (<10 installations actives)
- Très peu de critiques jusqu'à présent
- Uniquement testé jusqu'à WordPress 6,9 (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 Theme Image Block stands todayWordPress.org Classements de recherche
Position en direct dans la recherche de plugins, Top 100| Mot-clé | Position |
|---|---|
| images | >100 |
| médias | >100 |
About Theme Image Block
From the official readme · v1.1.1Description
The Theme Image Block plugin allows you to register images from your theme and make them available as blocks in the WordPress editor. This is useful for logos, icons, and other images that are part of your theme’s design system.
Usage
Registering Theme Images
Theme images should be registered using HappyPrime\ThemeImageBlock\register_theme_image(). This is likely best done on the init or after_setup_theme action.
HappyPrime\ThemeImageBlock\register_theme_image(
'happy-prime-logo',
[
'title' => 'Happy Prime Logo',
'description' => 'The Happy Prime logo.',
'alt' => 'Happy Prime',
'path' => 'images/happy-prime-logo.svg',
'width' => '300',
'height' => '',
'variations' => [
'small' => [
'path' => 'images/happy-prime-logo-small.svg',
'width' => '100',
'height' => '100',
],
'medium' => [
'path' => 'images/happy-prime-logo-medium.svg',
'width' => '200',
'height' => '200',
],
'large' => [
'path' => 'images/happy-prime-logo-large.svg',
'width' => '300',
'height' => '300',
],
],
'sizes' => '(max-width: 600px) 100vw, 300px',
]
);
Registering Theme Image Styles
Theme image styles should be registered using HappyPrime\ThemeImageBlock\register_theme_image_style(). This is likely best done on the init or after_setup_theme action.
HappyPrime\ThemeImageBlock\register_theme_image_style(
'hero',
[
'name' => 'Hero',
'width' => 'clamp(10rem, 100vw, 60rem)',
'height' => 'auto',
]
);
Installation
- Installez et activez le plugin.
- Register theme images using the
register_theme_image()function. - Register theme image styles using the
register_theme_image_style()function. - Use the Theme Image block in the editor to insert registered images.
Journal de modifications
1.1.1
- Prevent fatal error on activation.
- Improve HTML processing when rendering output.
- Fix reference to renamed global JavaScript variable.
- Fix textdomain mismatch.
- Improve support for multiple theme image blocks in one editor view.
1.1.0
- Initial release on wp.org.
1.0.0
- Version initiale.
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 Theme Image Block alternatives
Toutes les images Plugins →FAQ
Theme Image Block: quick answers
Réponses directes, extraites des données en direct WordPress.org.
Source : WordPress.org
Is Theme Image Block free?
Yes. Theme Image Block is free to download and use from the official WordPress.org plugin directory.
Is Theme Image Block safe to use in 2026?
Theme Image Block shows warning signs in 2026 — compare the alternatives below before installing. Was last updated 10 months ago, and scores 36/100 on our health check.
How many websites use Theme Image Block?
Theme Image Block is active on <10 WordPress websites and has been downloaded 548 times since it launched in December 2025. It was downloaded 60 times in the last 30 days.
Does Theme Image Block work with WordPress 7.1?
Theme Image Block is officially tested up to WordPress 6.9.12, while the latest release is 7.1.5. It may still work, but try it on a staging site first.
What PHP version does Theme Image Block need?
Theme Image Block requires PHP 7.4 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was Theme Image Block last updated?
The latest version, 1.1.1, was released on February 20, 2026 (10 months ago).
Who makes Theme Image Block?
Theme Image Block is developed and maintained by Happy Prime.
What are the best alternatives to Theme Image Block?
The most popular alternatives to Theme Image Block are Autoptimize (800K+ installs), WebP Express (300K+ installs) and Responsive Lightbox & Galle… (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
