Best WordPress Theme & Plugin For Photographers

Imagely Blog

Digital Photography Tips, Tutorials and Resources
How to add an image to WordPress and make edits, with an Image block crop frame over a misty valley photo

How to Add an Image to WordPress and Make Edits (Beginner’s Guide)

Written By: author avatar Mariona Torrent Pi
author avatar Mariona Torrent Pi
Mariona is a Growth Specialist at Imagely, where she helps photographers get their work online and found in search. She has been writing about marketing and WordPress for over four years, and came to it from an advertising agency in Barcelona.
    

Picking the photo for a blog post often takes longer than writing the post. You scroll through the shoot, find the frame that tells the story, and then WordPress asks where it should come from.

Getting it onto the page is the quick part. The questions come right after: why is it so big, how do you straighten it, and did that crop just ruin your original?

This guide shows you how to add an image to WordPress with the block editor, how to crop, rotate and scale it, and which settings are worth a minute of your time. And every edit covered here leaves your original photo there to go back to.

If you have a whole shoot to share rather than one picture, the last section shows a faster way to do it with a free gallery.

How to Add an Image to WordPress With the Image Block

Every photo in a post or page lives inside an Image block. Open the post you’re working on and click where you want the photo to go.

Then click the + button at the top left of the editor, type “Image” in the search box and click the Image block. If you’d rather keep your hands on the keyboard, type /image on an empty line and press Enter.

An empty Image block appears with three buttons, and each one is a different way to bring your photo in.

WordPress block editor with an empty Image block showing the Upload, Media Library and Insert from URL buttons

Which button you pick depends on where the photo is right now: on your computer, already on your site, or somewhere else online.

Upload an Image to WordPress From Your Computer

Click Upload and choose the photo from your computer. WordPress places it in the block and saves a copy to your Media Library automatically, so you can reuse it in other posts later without uploading it again.

Before you upload, it helps to export the photo at a sensible size rather than straight off the camera. A huge file looks the same on the page but takes longer to load for your visitors.

Add an Image From the WordPress Media Library

If the photo is already on your site, click Media Library instead. A window opens with everything you’ve uploaded so far. Click the photo you want, check the Attachment Details panel on the right, and click Select.

WordPress Media Library window with a misty valley photo selected and its Attachment Details panel on the right

That Attachment Details panel is worth a second look. The alt text you type there becomes the default whenever you insert that photo, which saves you writing it again in each new post.

Insert an Image Into WordPress From a URL

Click Insert from URL, paste the web address of the image and press Enter. The photo shows up in your post, but it isn’t saved to your site yet.

Until you save it, WordPress is only borrowing the image from the other website. If that file is moved or deleted, your post can end up with a broken image. Some websites also block this kind of borrowing altogether.

That’s why I’d click the Upload to Media Library button in the block toolbar right away. It saves a real copy to your site. It’s also worth sticking to images you have permission to use, even when they’re one paste away.

Other Ways to Add an Image to WordPress

The three buttons cover most situations, and a few shortcuts also add an image to WordPress:

  • Drag and drop: drag a photo from your computer straight onto the page or into an empty paragraph.
  • The Media tab in the inserter: on some sites it includes free Openverse images, which WordPress saves to your Media Library for you.
  • Copy and paste: paste text with images from Word or Google Docs. If an Upload to Media Library button appears on an image, click it.

Whichever route you take, you end up with the same Image block, so everything in the rest of this guide still applies.

How to Edit an Image in WordPress (Crop, Rotate, Flip and Scale)

You don’t need to go back to Lightroom for a quick crop or a sideways phone photo. WordPress has two built-in image editors, and they treat your original file differently.

The one in the post is for “this photo, on this page”, while the one in the Media Library is for fixing the photo itself.

Crop and Rotate an Image in the WordPress Block Editor

Click the image in your post and choose Crop in the toolbar above it. An Edit media window opens with two tabs, Crop and Details. If you’ve followed an older tutorial that shows a small crop bar on the toolbar, this window is what replaced it.

Edit media window in WordPress with the Crop tab open, showing Rotate, Flip, Zoom and Aspect ratio controls

On the Crop tab, drag the handles for a free crop, or pick a shape from Aspect ratio, such as Square – 1:1. Use Zoom to get closer for a precise edge.

Rotate turns the photo left or right. For a slightly tilted horizon, drag the ruler under the image to straighten it by degrees. Flip mirrors the photo horizontally or vertically.

The Details tab holds the photo’s Title, Alt text, Caption and Description, plus file info like the file name and the date you added it. When you’re happy, click Save. Cancel throws the changes away, and Reset, Undo and Redo sit at the bottom of the window.

Saving doesn’t touch your original. WordPress keeps the edited photo as a brand-new image in the Media Library, with “-edited” added to the file name, and the original stays there untouched for the next post.

Edit an Image File in the WordPress Media Library

When the photo itself needs fixing, go to Media > Library in your dashboard, click the image and then click the Edit Image button. This editor changes the same Media Library item, so the next time you insert that photo, you get the fixed version.

WordPress Edit Image screen with the Crop, Scale and Image Rotation buttons above a landscape photo

To crop, drag a box over the part of the photo you want to keep, then click Crop. The button stays greyed out until you’ve drawn that box. Hold Shift while you drag to keep the proportions locked.

To make the file smaller, click Scale, type a new Width or Height and click the Scale button. Photos can only be scaled down, not up, and WordPress suggests scaling before you crop, flip or rotate. If you’d like this done for you on every upload, our guide to automatic image resizing shows how.

The Image Rotation dropdown has Rotate 90° left, Rotate 90° right, Rotate 180°, Flip vertical and Flip horizontal. Some web hosts don’t support rotation, and WordPress will tell you if yours is one of them.

Finish with Save Edits, or click Cancel Editing to walk away with nothing changed.

Restore the Original Image in WordPress

Changed your mind about an edit you made here? WordPress keeps your original upload as a backup. Open the same Edit Image screen and look for the Restore original image section, then click Restore image.

Don’t worry if you can’t find it on a fresh photo. That section only appears once an image has been edited and saved. Restoring also leaves your earlier edited copies on the server rather than deleting them.

Key Takeaway

  • Crop from the post when you only need the change on that page. WordPress makes a new copy and leaves your original alone.
  • Use Media > Library > Edit Image to fix the photo itself: scale it down, rotate it or flip it.
  • After a Media Library edit, Restore original image brings back your first upload.

WordPress Image Settings That Matter

Once your photo is in place, click it and you’ll see two sets of controls: the toolbar above the image and the sidebar on the right. If the sidebar is hidden, click the Settings icon next to the Save or Publish button.

Landscape photo inserted in a WordPress post with the Image block toolbar above it and the alt text field in the sidebar

The sidebar has three tabs along the top: the first holds the image and its alt text, Settings (the gear icon) holds Resolution, and the third, Styles, holds the style options. You won’t need every option in them. The five settings below, spread across the sidebar and the toolbar, are the ones that change how your photo looks and behaves for visitors.

Image Alt Text in WordPress

Alt text is a short description of the photo for people who use screen readers, and it gives search engines context too. You’ll find the Alternative text field on the first tab of the sidebar. Describe what’s in the frame, like “bride and groom laughing under an oak tree at sunset”.

One detail catches a lot of people out. Alt text typed in the block only applies to that photo in that one post. To set it once for every future use, add it in the Media Library instead.

If a photo is purely decorative and adds no information, tick Mark as decorative and leave the field empty.

WordPress Image Size and Resolution

On the Settings tab, Resolution picks which version of your photo WordPress shows. The choices can include Thumbnail, Medium, Large and Full Size, depending on your theme and how big your original was.

For most blog posts, Large is the size to pick. Save Full Size for the photos where every bit of detail matters, like a landscape you want people to linger on.

Under Dimensions on the Styles tab, Width, Height and Aspect ratio only change how the photo looks on the page, and they don’t touch the file itself. Leaving Aspect ratio on Original and setting just the width usually keeps things tidy.

WordPress Image Alignment

Click the Align button in the toolbar to choose where the photo sits: None, Align left, Align center or Align right. If your theme supports them, you’ll also see Wide width and Full width, which let a strong photo stretch past the text.

Image block Align menu in WordPress listing None, Wide width, Full width, Align left, Align center and Align right

Want text to wrap around a photo? Make the image smaller first, then choose Align left or Align right.

The Link button in the toolbar decides what happens when someone clicks your photo. You can paste a web address, search for one of your own pages, or pick one of the ready-made options.

Image block link menu in WordPress with Link to image file, Link to attachment page and Enlarge on click

For photographers, Enlarge on click is the one to know. It opens the photo bigger in a lightbox without sending visitors away from your post. The menu also has Link to image file and Link to attachment page, and once a link is set you can choose to open it in a new tab or remove it.

This button links the photo, not the caption. To link words inside a caption, select those words and use the small text toolbar that pops up.

Add a Caption to a WordPress Image

Click Add caption in the toolbar and type under the photo. A caption is visible text your readers see, so it’s a good place for the story behind the shot or a photo credit.

Landscape photo in a WordPress post with the caption Morning fog rolling over the valley at sunrise underneath

Be careful with the same button once a caption exists. It changes to Remove caption, and that deletes the text rather than hiding it. Our full guide to image captions covers styling and more.

One last toolbar trick: the three-dot More options menu has Set as featured image, which makes this photo the post’s main picture. Our guide to featured images explains where that image shows up.

One Image block per photo works well for a handful of pictures. With 20, 50 or 200 photos from a wedding or a trip, it turns into one block, one crop and one alt text after another. Meanwhile, your Media Library fills up with loose files.

A gallery is the easier route here. Imagely, the free WordPress gallery plugin built for photographers, puts a whole shoot in one tidy gallery instead of a long scroll of separate blocks.

With the free plugin, you get:

  • Upload the whole set at once: drag and drop your photos or upload a ZIP file, all into one gallery.
  • Reuse what you’ve already uploaded: build a gallery from photos already in your Media Library.
  • Automatic resizing: big camera files are shrunk for the web, and Imagely keeps a copy of the original automatically.
  • Lightbox browsing: visitors click any photo to open it larger and move to the next one with arrows, without leaving the page.

The habits from this guide carry over, too. Each gallery photo has its own Alt Text and Description fields, and the Description is what shows as the caption.

Imagely gallery on the front end of a WordPress site showing a grid of landscape photos

Already made a WordPress Gallery block? The Convert to Imagely Gallery button on the block turns it into an Imagely gallery, and your alt text and descriptions come along.

Share a whole shoot in one gallery

You can stay on the free plan for as long as it fits. Paid plans add more layouts later, such as Mosaic and Masonry, but you don’t need one to get your first gallery live.

FAQs About Adding Images to WordPress

Does cropping an image in WordPress change the original photo?

No. When you crop from the Image block, WordPress saves the result as a new image with “-edited” in the file name and leaves the original in your Media Library. When you edit in Media > Library, WordPress keeps your first upload as a backup, and you can bring it back with Restore original image.

Why does my image look blurry in WordPress?

Usually the block is showing a smaller version of the photo than the space it fills. Click the image, open the Settings tab and change Resolution to Large or Full Size. If that doesn’t help, the file you uploaded may be too small, so I’d export a larger version and upload it again.

Is it safe to add an image to WordPress from a URL?

It works, but the image still lives on the other website until you click Upload to Media Library in the block toolbar. If the original file moves or gets deleted, your post shows a broken image. Only use images you have permission to use.

How do I wrap text around an image in WordPress?

Make the image smaller first, either with the resize handles or the Width setting under Dimensions. Then click the Align button in the toolbar and choose Align left or Align right. The text next to it will flow around the photo.

Why doesn’t my alt text show up when I use the same image again?

Alt text you type in the Image block only applies to that one post. To make it the default for every future use, add the alt text to the photo in the Media Library. New inserts will pick it up from there.

How do I add a lot of images to WordPress at once?

For a whole shoot, a gallery is much faster than one Image block per photo. With the free Imagely plugin, you can drag and drop your photos or upload a ZIP file into one gallery, and they’re resized for the web as they go up.

Now you can add an image to WordPress, fix its crop or rotation, and set it up so it looks sharp and works for every visitor. When you’re ready to share a full set, be sure to check out our post on how to create a WordPress image gallery.

Don’t have Imagely yet? Get started today!

For more photography tips and WordPress tutorials, check out our blog.

Disclosure: Our content is reader-supported. This means if you click on some of our links, then we may earn a commission. See how NextGEN Gallery is funded, why it matters, and how you can support us.

author avatar
Mariona Torrent Pi Growth Specialist
Mariona is a Growth Specialist at Imagely, where she helps photographers get their work online and found in search. She has been writing about marketing and WordPress for over four years, and came to it from an advertising agency in Barcelona.

Experience the Imagely Difference

Best WordPress Theme & Plugin For Photographers

Enter the URL of your WordPress website to install

Upgrade to Imagely Pro

Imagely is perfect for photographers, designers, bloggers, and creative professionals who want more than just a gallery.

Built in eCommerce and print fulfillment

90+ themes and designs

Tons of customizations and options

14 day money back guarantee

Popular on Imagely Right Now!

How to Add a Lightbox to WordPress (Free and Pro Options) tutorial card from Imagely, with a glowing neon frame around leaves

How to Add a Lightbox to WordPress (Free and Pro Options)

A visitor taps one of your gallery thumbnails. What opens next decides whether they keep…
Ultimate List: Best WordPress Plugins for Photographers

25 of the Best WordPress Plugins for Photographers (2026 Guide)

WordPress is one of the most popular platforms for photographers looking to create a stunning,…

Add A Comment