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.
Steps to embed an Imgur post in your post or page:
- Head over the Imgur URL of the post you want to embed and copy the URL of the post from the browser bar.
2. Add an Imgur Embed block to your post
Detailed instructions on adding blocks can be found here.
3. Paste the Imgur URL from Step 1 in the text box
4. Click on the “Embed” Button
If it’s a link that can be successfully embedded you will see a preview in your editor.
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 link.
5. Click on “Preview” to see how it will look on the front end of your page
Besides the Mover and Drag & Drop Handle, the Block Toolbar for the Imgur embed shows four buttons:
- Transform to
- Change alignment
- Edit URL, and
- More Options
You can transform an Imgur embed block into a Group. This would give you the ability to change the background color around the Imgur embed.
- Align Left
- Align Center
- Align Right
- Wide Width (if supported by your Theme)
- Full Width (if supported by your Theme)
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
Hide Block Settings
The Hide Block Settings option hides (or shows) the Block Setting panel in the editor’s sidebar.
Copy can be used to copy a selected block and then you can paste it wherever you want in the editor.
Duplicate can be used to duplicate selected block.
Insert a new block before the selected block(s).
Insert a new block after the selected block(s).
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
The Edit as HTML option allows you to modify the HTML code of the embed block.
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.
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.
With the Remove Block option, you can delete the selected block from your content.
Copy- On clicking the copy button the imgur embed will be copied to clipboard.
Move to- Move to will allow to move the embed to different sections within the editor.
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.
この記事は役に立ちましたか ? どうすればさらに改善できますか ?