Flickr

Go back to the list of Blocks

With the Flickr embed block, you can add photos and videos from Flickr to your posts and pages. However, when you click any photo or video, it will take you to Flickr where you can see photos and play videos. 

You can also embed photo albums and galleries with the next/previous arrow links. You don’t need a Flickr account to embed photos or videos.

Note: With video, the page/post only displays the image of the video. There will be no play/pause button. By clicking on the video, it will be redirected to the corresponding Flickr page to play.

You can only share those photos and videos which are visible to everyone(public). Some publishers put restrictions by setting privacy.

Embedded image from flickr


Steps to embed Flickr photos or videos to your post or page

  1. Find your photo or video on Flickr.com, and copy the URL of the photo, album, gallery or video from the browser bar.
  1. Add Flickr embed block to your post or page



Detailed instructions on adding blocks can be found here.


  1. Paste the link into the textbox.
  1. Click the “Embed” button

If the link can be successfully embedded into the post/page, you will see the preview in your block 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.

  1. Click on the Preview button on the top right corner of the page/post.

Embed Photo Album and Gallery

You can embed a photo album and gallery to your post/page. The page/post will display the first photo of the album or gallery with the next and previous arrow link.

Block Toolbar Block Toolbar

Besides the Mover and Drag & Drop Handle, the Block Toolbar for the  Flickr embed shows four buttons:

  • Transform to
  • Change alignment
  • Edit URL, and
  • More Options.

Transform to:

Group

You can transform a Flickr embed into a Group. This would give you the ability to change the background color around the Flickr embed.

Left: Editor view of a Flickr Embed as a group with Color Settings controls

Right: Flickr embeds with a green background.

Change Alignment – use reusable Block 

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

Note: “Wide width” and “Full width” alignment needs to be enabled by the Theme of your site. 

Edit URL

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

More Options:

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

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.

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 Block

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

トップ ↑

Block Settings Block Settings

Advanced

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.

The advanced section lets you add a CSS class to your block.

Changelog

  • Updated 2020-08-18
    • Added “Move To” and “Copy” section under More Options
  • Updated 2020-08-17
    • Screenshots as per WordPress 5.5
  • Created 2020-06-30

この記事は役に立ちましたか ? どうすればさらに改善できますか ?