Title: Theme Image Block
Author: Happy Prime
Published: <strong>डिसेंबर 16, 2025</strong>
Last modified: फेब्रुवारी 20, 2026

---

प्लगइन शोधा

![](https://s.w.org/plugins/geopattern-icon/theme-image-block.svg)

# Theme Image Block

 [Happy Prime](https://profiles.wordpress.org/happyprime/) कडून

[डाउनलोड करा](https://downloads.wordpress.org/plugin/theme-image-block.1.1.1.zip)

 * [तपशील](https://mr.wordpress.org/plugins/theme-image-block/#description)
 * [पुनरावलोकने](https://mr.wordpress.org/plugins/theme-image-block/#reviews)
 *  [इंस्टॉलेशन](https://mr.wordpress.org/plugins/theme-image-block/#installation)
 * [डेव्हलोपमेंट](https://mr.wordpress.org/plugins/theme-image-block/#developers)

 [समर्थन](https://wordpress.org/support/plugin/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 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',
        ]
    );
    ```

## ब्लॉक्स

हे प्लगइन 1 ब्लॉक प्रदान करते

 *   Theme Image Display an image from the theme's images directory.

## स्थापना

 1. Install and activate the plugin.
 2. Register theme images using the `register_theme_image()` function.
 3. Register theme image styles using the `register_theme_image_style()` function.
 4. Use the Theme Image block in the editor to insert registered images.

## समीक्षा

ह्या प्लगइनसाठी कोणतेही समीक्षण नाही.

## योगदानकर्ते आणि विकसक

“Theme Image Block” हे मुक्त स्रोत सॉफ्टवेअर आहे. पुढील लोक या प्लगइनच्या निर्मितीत
योगदान केले आहे.

योगदानकर्ते

 *   [ Happy Prime ](https://profiles.wordpress.org/happyprime/)
 *   [ Jeremy Felt ](https://profiles.wordpress.org/jeremyfelt/)
 *   [ slocker ](https://profiles.wordpress.org/slocker/)
 *   [ philcable ](https://profiles.wordpress.org/philcable/)

[भाषांतर करा “Theme Image Block” तुमच्या भाषेत.](https://translate.wordpress.org/projects/wp-plugins/theme-image-block)

### विकासातील आग्रह?

[कोड ब्राउझ करा](https://plugins.trac.wordpress.org/browser/theme-image-block/),
[SVN संग्रहालय](https://plugins.svn.wordpress.org/theme-image-block/) तपासा, किंवा
[विकास लॉग](https://plugins.trac.wordpress.org/log/theme-image-block/) च्या [RSS](https://plugins.trac.wordpress.org/log/theme-image-block/?limit=100&mode=stop_on_copy&format=rss)
द्वारे सदस्यता घ्या.

## बदलांची यादी

### 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

 * Initial release.

## मेटा

 *  आवृत्ती **1.1.1**
 *  शेवटचा अद्यतन **3 महिने पूर्वी**
 *  सक्रिय स्थापना **10 पेक्षा कमी**
 *  वर्डप्रेस आवृत्ती ** 6.8 किंवा मोठा **
 *  परीक्षित केले आहे **6.9.4**
 *  PHP आवृत्ती ** 7.4 किंवा मोठा **
 *  भाषा
 * [English (US)](https://wordpress.org/plugins/theme-image-block/)
 * टॅग्ज:
 * [images](https://mr.wordpress.org/plugins/tags/images/)[media](https://mr.wordpress.org/plugins/tags/media/)
 *  [प्रगत दृश्य](https://mr.wordpress.org/plugins/theme-image-block/advanced/)

## मूल्यांकन

अजून कोणतीही पुनरावलोकने सबमिट केलेली नाहीत.

[Your review](https://wordpress.org/support/plugin/theme-image-block/reviews/#new-post)

[सर्व पुनरावलोकने पहा](https://wordpress.org/support/plugin/theme-image-block/reviews/)

## योगदानकर्ते

 *   [ Happy Prime ](https://profiles.wordpress.org/happyprime/)
 *   [ Jeremy Felt ](https://profiles.wordpress.org/jeremyfelt/)
 *   [ slocker ](https://profiles.wordpress.org/slocker/)
 *   [ philcable ](https://profiles.wordpress.org/philcable/)

## समर्थन

काहीतरी सांगायचं आहे का? मदतीची आवश्यकता आहे का?

 [समर्थन फोरम पहा](https://wordpress.org/support/plugin/theme-image-block/)