Imgur Embed

Go back to the list of Blocks

Using the Imgur Embed block you can include an Imgur post into your post/page, so your visitor can stay on your site to view the Imgur post directly, without redirecting to Imgur. Also note that you don’t need an Imgur account to embed an image, GIF or video, although it needs to be public.

Imgur Embed block

Steps to embed an Imgur post in your post or page:

  1. Head over the Imgur URL of the post you want to embed and copy the URL of the post from the browser bar.
How to copy the URL from an Imgur post.

2. Add an Imgur Embed block to your post.

How to quickly add an imgur embed block using the slash command

Detailed instructions on adding blocks can be found here.

3. Paste the Imgur URL from Step 1 in the text box

How to paste the URL of an imgur post into an Imgur Embed block

4. Click on the “Embed” Button

If it’s a link that can be successfully embedded you will see a preview in your editor.

Preview of an Imgur Embed block

If you use a URL that can’t be embedded, the block shows the message “Sorry, this content could not be embedded.” You will have two choices: Try again with a different URL or convert to a link.

Error when embedding an Imgur post

5. Click on “Preview” to see how it will look on the front end of your page

Preview of an Imgur post in the Imgur Embed block

Block Toolbar

Each block has its own block-specific controls that allow you to manipulate the block right in the editor. The Block Toolbar for the Imgur embed shows four buttons:

  • Transform to
  • Block moving tools
  • Change alignment
  • Edit URL, and
  • More Options
Block toolbar in the in the Imgur Embed block

Transform to:

Transform tool in the Imgur Embed block

You can transform an Imgur embed block into a Paragraph, Columns or Group block. Changing an Imgur embed block into a Group block would give you the ability to change the background color around the Imgur embed.

Editor view of an Imgur Embed as a group with Color Settings controls
Editor view of an Imgur Embed as a group with Color Settings controls
Imgur embed with a blue background.
Imgur embed with a blue background.

Block-moving tools

Block moving tools in the Imgur Embed block

Use the block-moving tools to move the block up and down the editor. Use the six dots icon to drag and drop the Imgur Embed block and reposition it anywhere on the editor. Alternatively, click on the up and down arrows to move the block up or down the editor.

Get the details on moving a block within the editor.

Change Alignment in the Imgur Embed block

Change Alignment:

The block toolbar for the Imgur Embed block has options for alignment.

  • Align left – Make the block left-aligned.
  • Align center – Make the block alignment centered.
  • Align right – Make the block right-aligned.
  • Wide width – Increase the width of the block beyond the content size.
  • Full width – Extend the block to cover the full width of the screen.

The “Wide width” and “Full width” alignment settings must be enabled by your WordPress theme. 

Edit URL

Via the edit URL, you can change the Imgur Embed URL in the embed block. Overwrite the existing URL and click on the “Embed” Button

Edit URL in the Imgur Embed block

More Options:

More options in the Imgur Embed block

Hide Block Settings

The Hide Block Settings option hides (or shows) the Block Setting panel in the editor’s sidebar.

Copy

Copy can be used to copy a selected block and then you can paste it wherever you want in the editor.

Duplicate

Duplicate can be used to duplicate selected block.

Insert Before

Insert a new block before the selected block(s).

Insert After

Insert a new block after the selected block(s).

Move To

If you select Move To, you will get a blue line inside your content, you can then use the arrows to move that line, up and down to where you want the selected content to be moved into, hitting return on your keyboard at that point moves the block to that position.

Edit as HTML

Edit as HTML in the Imgur Embed block

The Edit as HTML option allows you to modify the HTML code of the embed block.

Lock

Since WordPress 6.0, you can lock the block to disallow moving and/or removing. If you lock the block, the “Lock” icon will be shown in the Block Toolbar.

Lock in the Imgur Embed block

For more details about Lock, refer More Options.

Add to Reusable blocks

Using the Add to Reusable blocks option lets you add the selected block to a list of reusable blocks, so you can use them on other posts or pages as well.

Group

Select the Group option if you want to create a group of blocks and treat them as a unit. You can for instance add a common background color or other blocks to the group.

Remove Imgur

With the Remove Imgur option, you can delete the selected block from your content.

Top ↑

Block Settings

Besides the Advanced section, the Imgur embed has only one setting in the “Block Settings” sidebar: Media Settings.

Media settings

Media settings in the Imgur Embed block

Via the Media Settings you can control the behavior of your post embed when viewed from a smaller device, like on a phone screen.

The Toggle switch turns on or off the resize functionality for smaller devices. The default setting is “on” or blue.

“Off:” This embed may not preserve its aspect ratio when the browser is resized. In the off position, the toggle switch is gray.

“On:” This embed will preserve its aspect ratio when the browser is resized. The toggle switch turns blue in the “On” position.

Advanced settings

The advanced tab lets you add a CSS class to your block, allowing you to write custom CSS and style the block as you see fit.

Advanced settings in the Imgur Embed block
The advanced section lets you add a CSS class to your block.

Top ↑

Changelog

  • Updated 2020-08-01
    • Content and screenshots added for 6.0
    • Added ALT tags for the images
  • Updated 2020-11-27
    • screenshots 5.6
    • removed Edit HTML, Add to reusable Blocks and Media sections from More Options and Advanced settings sections.
  • Created 2020-09-07

Was this article helpful? How could it be improved?