Did you know pages with strong visuals get up to 94% more views and longer sessions? That margin shows how important the image tools in the editor are for your content and conversions. In this short guide you’ll learn how the WordPress Gutenberg image block speeds up visual storytelling. You can add visuals fast via the Add Block button, the /image shortcut or hotkeys, ultimately saving time on the page.
The toolbar gives control with tools like align, crop, duotone, link, replace and convert to a cover for overlay text. Media options include Upload, Media Library, Insert from URL and Openverse so assets can live with your site. You can also resize with drag handles or exact settings and choose wide or full width when themes allow. There are quick edits available like crop, zoom, rotate and undo. You’ll also find captions, alt text, borders and accessibility basics to make content both usable and discoverable. Let’s dive in and see how we can use this tool effectively.
Key Takeaways
- You can insert visuals quickly using multiple shortcuts and drag flows.
- Toolbar actions (align, crop, duotone, replace) let you refine looks without leaving the editor.
- Media choices include local uploads, URL inserts, and Openverse imports for dependable asset control.
- Resizing supports drag handles, preset percentages, and precise dimensions for consistent layouts.
- Quick edits and Undo reduce risk while you experiment with composition.
- Captions, alt text, and title attributes improve accessibility and SEO for your pages.
Process Thousands of Images in Minutes
Batch generate alt text for your entire WordPress media library with AI-powered precision.
What’s New and Why the Image Block Matters in 2026
Recent releases have reshaped how you add and manage visuals inside the editor. The net result is that it creates faster turns, fewer broken assets and less context switching when you build a page.
How Current Updates Shape your Workflow
You can now undo edits like crop and rotate, so you can test things out without worrying! Plus, you can set a featured image right from the More options menu, which saves a step when you’re publishing.
Images you choose from Openverse will automatically upload to your media library. If you have missing files copied from other documents, you can also re-upload them to fix broken images. You can drag-and-drop images for your various design layouts not only from the inserter but also directly into an empty paragraph block.
Where This Fits in your Content Strategy
The image block is versatile with captions, links, inline alignment and conversion to cover let you reuse visuals across hero, body and callout sections. Atoolbar-first approach brings align, replace and quick edits within reach, while block-level settings keep sizing and border style in the same flow.
| Feature | Benefit | Best use |
|---|---|---|
| Undo for edits | Safe experimentation; faster iteration | Crop/rotate during layout |
| Set as Featured Image | One-click page identity setup | Hero images and post thumbnails |
| Openverse auto-upload | License-safe assets in your library | Bulk content and evergreen pages |
| Drag-and-drop + drop-to-create | Fewer clicks, more natural placement | Rapid layout and wireframing |
Image SEO in your Browser- A Practical Guide to Alt Text Generation with a Chrome Extension
Discover the power of alt text generation Chrome extensions. Our how-to guide shows you how to enhance image SEO and accessibility directly in your browser.
Read MoreHow Content Teams Can Fix Image Alt Text While They Edit Pages
Learn how to fix image alt text on your website with our step-by-step guide. Improve accessibility and SEO with high-quality alt text.
Read MoreStop Ignoring Your Image SEO: Chrome Workflows for Busy Marketers in 2026
Boost your website's visibility with our expert guide on image SEO Chrome workflows. Learn how to optimize your images for better search engine rankings.
Read MoreHow AI Is Transforming Image Management for Websites in 2026
Transform image management with Img Alt Gen Pro's advanced ai for images technology. Enhance accessibility and SEO for your content-heavy site. Get started with 10 free tokens.
Read MoreHow 2026 AI Is Changing Digital Accessibility in Images
Discover how AI is revolutionizing digital accessibility in images with advanced alt text generation. Learn more about ai accessibility solutions for your website
Read MoreHow to Use AI to Manage Large Image Libraries in 2026
Discover top tools for large image library processing. Learn how AI-powered solutions can streamline your image management tasks and improve accessibility.
Read MoreHow AI Models Are Trained to Describe Images in 2026
Learn how ai model training works and why it's crucial for your website's image descriptions. Improve your site's accessibility with high-quality alt text generated by advanced AI models.
Read MoreHow to Build AI-Powered Image Workflows
Learn how to build ai powered image workflows for content, SEO, and UX teams. Discover the tools and techniques to streamline your image processing and improve accessibility.
Read MoreHow Computer Vision in E-Commerce Boosts SEO, UX and Conversions
Discover how computer vision in ecommerce can boost your online store's SEO, UX, and conversions. Learn the benefits and best practices for implementation today.
Read MoreThe Tech Behind AI-Generated Image Alt Text and How it Works
Improve your website's accessibility with AI-generated image alt text. Find out how Img Alt Gen Pro can help you create accurate and contextually relevant alt text for your images.
Read MoreHow to Automate Image Metadata with AI in 2026
Discover how to automate image metadata using advanced AI technology. Enhance your content's visibility and compliance with automated alt text and more.
Read MoreWhat is Alt Text? A Complete Guide for Beginners (2025)
Hey! Ever worry what happens if your product photo breaks? This Alt Text guide for beginners is your casual, easy-to-read intro to the world of...
Read MoreGetting Started
Getting visuals into your post should be fast and error-free, so here is our we suggest to do it right. Start with using a simple routine so every contributor follows the same steps and avoids broken assets.
Using Add Block, the Image Shortcut and Hotkeys
Insert the image block quickly with the Add Block button, type /image and press Enter or hit a hotkey. This keeps your writing flow intact and reduces context switching in the editor.
Upload, Media Library, Insert from URL, and Openverse
In addition, choose Upload to add a new file or pick an asset from the media library, so keeping your media library organized is vital. Then, paste a URL with Insert from URL and use the import-to-library option to copy a local version. Openverse lets you search licensable visuals that become part of your media collection.
Drag-and-Drop from Inserter and Dropping into Empty Paragraphs
Lastly, drop a visual into an empty paragraph to auto-create the correct block. You can also drag items from the inserter onto an existing block to replace content, then after insertion, confirm size and settings and finally add alt text and captions for accessibility and SEO.
Master the Image Block Toolbar for Faster Editing
A well-used toolbar saves minutes on every page and keeps your workflow tight. By learning the quick actions, you spend less time hunting through panels and more time refining content.
We then suggest to align controls to flow visuals with text or isolate them for emphasis. The drag handle and move arrows reorder content quickly while preserving layout.
- Add or edit captions directly below the visual to keep attribution and context consistent across posts.
- Replace swaps the file but keeps sizing and settings intact, avoiding layout rework during final edits.
- Click Crop to open in-place editing: zoom, choose aspect ratios like square, rotate, Apply, and rely on Undo to revert changes safely.
- Add a link from the toolbar and pick Attachment Page, Media File, or a Custom URL to match your user path.
- Apply duotone filters for brand tone without altering originals. Use Add text over image to convert to a Cover and place headlines or CTAs on top.
Change the block type if design needs shift and open More options for advanced actions. Mastering these icons and buttons will make everyday editing faster and more consistent.

Resize, Align and Place Images for Clean Layouts
Proper sizing and placement turn visuals into purposeful parts of your story. Therefore, use a mix of quick visual tools and precise controls so your pages look balanced on every device.
Drag Handles vs. Precise Width/Height in Settings
Additionally, use drag handles for fast, visual resizing. They let you test proportions without math, then open the settings panel to set exact width or height and you will need to decide which preset you want. Your options are 100%, 75%, 50%, and 25% and make sure to keep size consistent across pages.
Inline Images in Paragraphs, Plus Wide and Full Width Styles
To make a visual sit beside text, insert it above the paragraph, choose left or right alignment and the element will merge into the paragraph for a magazine-style flow.
After merging, tweak dimensions so lines don’t crowd the copy. The wide and full width styles (theme-dependent) let a visual stretch beyond the normal content side margins for a more immersive effect, while fitting within your design.
- Start with drag handles, refine with settings for pixel-perfect results.
- Use presets to save time and keep a consistent content rhythm.
- Preview on mobile with spacing that works on desktop may need changes for stacked layouts.
| Method | Best use | Quick tip |
|---|---|---|
| Drag handles | Rapid layout testing | Resize, then lock values in settings |
| Preset percentages | Consistent site-wide sizing | Use 50% for side illustrations |
| Inline alignment | Text-wrapped callouts | Insert above paragraph, align left/right |
| Wide / Full width | Hero shots and immersive breaks | Check theme paddings in preview |
Never Write Alt Text Manually Again
AI-powered alt text generation for WordPress. Install, connect, and start generating perfect descriptions in under 2 minutes.
WordPress Gutenberg Image Block
How you source and link visuals affects uptime, user flow and SEO. Make sure to choose where a visual lives and where it points before you publish as that decision prevents broken assets and improves the visitor experience.
Attachment Page, Media File or Custom URL Linking Options
You can set a link target to an Attachment Page, the original Media File or a Custom URL. We recommend to use the Attachment Page when you want a media-focused view, then pick Media File for direct access to the file itself.
Choose a Custom URL when the goal is to drive readers to a related page or resource, then try to link only when users gain a clear benefit and avoid linking decorative visuals.
Importing External Images into your Media Library
Insert from URL shows an import option so you can copy an external asset into your media library and importing gives you control and avoids downtime if the remote host removes the file.
However, some hosts block external handling so if import fails, upload locally or select an existing item from the library to keep the page reliable.
Copy-Paste from Google Docs and Re-Uploading Missing Images
Pasting from Docs often surfaces a prompt to upload assets to your Media Library, therefore click it to prevent broken visuals later. We also suggest to keep filenames descriptive and hyphenated to aid organization and SEO.
- Reuse items from the library to cut duplicate files and speed builds.
- When linking to a Media File, confirm file type and size to avoid heavy downloads.
- Document your import and linking rules so every contributor follows the same process.
| Link target | Best use | Quick tip |
|---|---|---|
| Attachment Page | Media-focused view | Use for galleries and image portfolios |
| Media File | Direct file access | Check file size before linking |
| Custom URL | Drive visits | Link to related content or product pages |
Accessibility and SEO Essentials
Good alt text and captions make your pictures more than just visuals, they turn them into content that’s easy to search, accessible to everyone and works for all your potential clicks.
Alt text and Captions That Improve Usability and Rankings
We suggest to always write concise, meaningful alt text that explains what the visual shows or why it matters. This helps screen readers and gives search engines useful context. Make sure to use captions to add context, credit sources, or summarize a chart. Captions improve comprehension and can boost time on page when they clarify complex content so set alt text in the block settings as soon as you add the item in the editor so accessibility isn’t an afterthought. Lastly, avoid keyword stuffing, don’t have any missing alt text and describe the picture naturally and purposefully.
- If a visual is decorative, leave the alt empty so assistive tech skips it.
- Keep filenames descriptive to aid organization and relevance.
- Test periodically with a screen reader to confirm descriptions work.
Title Attribute
Use the Title attribute only for extra notes or internal annotations because many browsers do not show it, so prioritize alt for accessibility and SEO impact.
| Item | Best practice | Why it matters |
|---|---|---|
| Alt text | Concise, descriptive phrase | Accessibility and search context |
| Caption | Add context or credits | Improves reader understanding |
| Title attribute | Optional notes only | Limited display support |
| Contrast & overlay | Check readability when text overlays | Ensures legibility on the page |
Trusted by Thousands of WordPress Sites
Join agencies, developers, and content creators who've automated their alt text workflow.
"IMG Alt Gen Pro saved us countless hours. The quality is consistently excellent and our SEO rankings improved dramatically."
Design Polish
You might need some small visual tweaks, like a thin frame or a slight radius. This can lift perceived quality across your site and then, use the editor’s side panel for quick style passes and save heavier work for external tools.
Border Color, Width, radius and Theme-Provided Styles
In the settings panel you can pick border color, set width and apply radius values that match your layout. These parameters help separate visuals from background and improve focus.
You will notice that many themes include ready-made styles such as rounded, bordered or framed, so make sure to choose a theme option to keep a consistent look without manual tuning.
Applying Filter Effects and Custom CSS Classes
Always apply duotone or other filters from the toolbar to get on-brand tones while leaving the original file untouched and then test filters in both light and dark sections so subjects remain clear.
In addition, use the Advanced tab to add a custom CSS class, this then targets the class in your stylesheet for repeatable treatments across pages and you will see the precise control it gives you without repeating inline edits.
- Use subtle radius and light borders for product shots and portraits.
- Document preferred combinations so contributors apply them consistently.
- Avoid heavy retouching in the editor; export complex edits from a dedicated tool.
| Style | Best use | Quick tip |
|---|---|---|
| Subtle border | Portraits, diagrams | 1px–2px with soft color |
| Rounded | Profiles, thumbnails | Use small radius, consistent across site |
| Duotone filter | Branding banners | Check contrast for readability |
Advanced Controls and Workflow Boosters
A few in-editor tools change the way you assign hero visuals and build jump links, so use them to speed publishing, reduce context switching and keep edits inside the editor.
Set as Featured Image Directly From the Block
You can open the More options button on the block and choose Set as Featured Image to assign a hero visual to the post or page without opening the document panel.
Then, confirm the chosen image is sized and composed for cards, archives, and social previews, because when you swap visuals late in the flow, you use the same control to keep the process quick and consistent.
HTML Anchors for In-Page “Jump Links”
In Advanced settings add an HTML anchor attribute to a block so readers can jump to a specific spot on long pages.
- Keep anchor IDs short and descriptive (example: fig-product-01).
- Pair anchors with clear headings and captions so the jump lands on useful context.
- Test links on mobile and desktop to confirm smooth scrolling and accuracy.
| Action | Best use | Quick tip |
|---|---|---|
| Set as Featured | Hero visuals for post lists | Use the More options button in the block |
| Create anchor | Long guides and galleries | Short IDs, pair with headings |
| Retest after edits | Layout or template changes | Confirm card previews and thumbnails |

Developer Corner
A solid attribute model and clear asset paths make custom rendering reliable across environments, so try to build attributes as integers that reference your media library IDs, so server-side rendering can remain deterministic.
Rendering and Saving Attributes
Instead of saving full image data, just save the foreground and background image IDs as simple integer attributes in your block.json. Then, in your render.php file, that’ll handle all the official markup for you, including the sizes, alt text and loading attributes!
BlockControls, Inspector Controls and Media Toolbars for Better UX
Use Block Controls for toolbar actions and Inspector Controls for sidebar panels, then add a Media Toolbar or picker so editors can replace or remove a file with one click.
Passing Plugin Image URLs to JavaScript
If you need to share server-side paths with your JavaScript, the easiest way is to use wp_localize_script('handle', 'js_data', [ 'my_image_url' => plugins_url('assets/img.svg', __FILE__) ]). Or, for secure encoding, you can use wp_add_inline_script with wp_json_encode.
Using Webpack Imports for Images Inside Custom Blocks
If you’re using bundled assets (like with Webpack or similar tools), just import your images directly into your JavaScript like this: import asset from './hero.jpg'. Then, you can easily reference that asset variable in your JSX! Just keep in mind that SVGs might get inlined into your code, so you’ll want to test that behavior to make sure it works with your security model.
- Save IDs as integers and render with wp_get_attachment_image for consistent front-end output.
- Use BlockControls + InspectorControls and clear icons so editors know replace/remove actions at a glance.
- Store dual sources (foreground, background) as separate attributes and style interactions with css classes.
- Pass URLs to JS via wp_localize_script or wp_add_inline_script and encode data with wp_json_encode.
- Prefer webpack imports for distributable assets and test SVG handling before release.
| Attribute | Editor area | Rendering tip |
|---|---|---|
| foregroundImage (int) | Inspector panel picker | Use wp_get_attachment_image(…, ‘full’) |
| backgroundImage (int) | Block toolbar / sidebar | Render minimal markup; style with css class |
| assetPath (string) | Script localization | Expose via wp_add_inline_script with wp_json_encode |
Conclusion
To wrap up, just turn all these tips into a simple routine for every post. Quickly add images using the Add Block menu, the /image shortcut, or drag-and-drop, then choose Upload, the media library, Insert from URL or Openverse to bring in the file you plan to keep. You can then make quick edits right there, set the size and alignment and use the toolbar to turn it into a Cover if you need text on top and finally, only link if it helps your reader and never forget to write great alt text and captions!
Start Free. Scale as You Grow.
No subscriptions. No monthly fees. Just flexible, affordable tokens that never expire.
Get 10 free tokens when you sign up. No credit card required.
- 1 token = 1 image
- Works with any image type
- All languages included
- Tokens never expire
WordPress Gutenberg Image Block FAQ
Use the Add Block button, type /image as a shortcut, or hit the hotkeys to insert a new media area. You can also drag-and-drop from the inserter or drop an asset into an empty paragraph to place a file without opening the full media library.
You can upload from your device, choose from the Media Library, insert from a URL, or use Openverse for free media. Each option affects whether the file is imported into your media collection or linked externally, so pick the method that suits your workflow.
Use the block toolbar to replace, move, or change block type. The toolbar also includes alignment and link tools. For precise placement, use drag handles to resize visually or set exact width and height in the block settings panel.
The inline editor offers crop, zoom, rotate, and aspect ratio controls for fast adjustments. Use Undo to revert mistakes. For advanced styling, convert the asset to a Cover block to add text and overlay effects.
Inline images sit inside paragraphs and follow text flow. Wide and Full width styles break out of the content column to span larger areas. Your theme controls exact behavior, so check theme-provided styles and use CSS classes if you need custom sizing.
