LogoLogo
HomeWordPress.orgSupport
Photo Block
Photo Block
  • Introduction
    • Introduction and Overview
  • Getting Started
    • Installation
    • Finding the Plugin's Settings
    • Adding the Photo Block
    • Uploading a Photo
    • Cropping a Photo
    • Editing a Photo
    • Adding a Caption
    • Overlay Captions
    • Global Styles
  • How To's
    • How to Create a Circular Image
    • How to Rotate an Image
    • How to Add Photo Block to the Query Loop
    • How to Popup an Image in a Lightbox
    • How to Take Site Screenshots With ScreenshotOne and Photo Block
  • Useful Links
    • Photo Block Home
    • GitHub Repository
    • WordPress.org Repository
    • Support
Powered by GitBook
On this page
  • Step 1: Upload the Photo
  • Step 2: Crop the Image
  • Step 3: Set the Image Size to Full
  • Step 4: Set the Border Radius to 100%
  • Step 5: Set an Explicit Width and Height, and Set the Image to Cover
  • Conclusion

Was this helpful?

Export as PDF
  1. How To's

How to Create a Circular Image

This how-to will show you how to create a circular image

PreviousGlobal StylesNextHow to Rotate an Image

Last updated 7 months ago

Was this helpful?

To create a circular image in photo block, it's recommended to upload the image, crop it, and then adjust the photo settings. Let's do just that to create a circular image.

Step 1: Upload the Photo

First, insert the photo block.

Go ahead and upload a photo, ideally of a headshot.

Step 2: Crop the Image

Click on the "Crop" option in the block toolbar.

You'll be taken to the crop screen.

Click on the Aspect Ratios dropdown to select a Square aspect ratio.

Go ahead and resize the crop area and when finished, click on the "Apply Crop" button.

Step 3: Set the Image Size to Full

To bring out the full thumbnail, we must set the image size to full. You can adjust these in the sidebar options for the block.

Step 4: Set the Border Radius to 100%

Find the "Padding, Margin, and Border" options in the block sidebar options.

Open up the panel and find Border Radius.

Type in 100%.

Step 5: Set an Explicit Width and Height, and Set the Image to Cover

To make the image smaller, let's give a width and height of 250px. You'll find the sizing under the "Container Sizing" panel in the block sidebar options.

We'll be setting a width and height of 250px and a "cover" for object-fit.

Conclusion

You're now able to preview the image on the frontend.

In this "How To" it was demonstrated how to create a circular image. It involves cropping the image, setting an explicit size, and setting the border radius to 100%.

Adding the Photo Block
Cropping a Photo
Photo Block Upload Interface
Upload a Headshot Image
Crop Option in the Block Toolbar
Crop Screen in Photo Block
Choose the Sqaure Aspect Ratio
Example of Cropping a Square Image
Image Size Options for the Photo Block
Padding, Margin, and Border Options
Border Radius Options
Adding a 100% Border Radius
Container Sizing Options
Setting Width/Height for the Image
Finished Cropped Circular Photo