Dec 02, 2025
Yoga K.
5min Read
Dec 02, 2025
Yoga K.
5min Read
Using images can make your WordPress blog posts more appealing, as they break up lengthy text. Moreover, adding images will help you illustrate your points.
With the right image optimization strategy, you can also improve your WordPress site performance and position in search engine results pages (SERPs). The process involves various practices like optimizing the image size, file format, and ratio.
In this article, we’ll show you how to add images to a WordPress blog post or page via the block and classic editors, as well as the Media Library. You will also learn how to edit the image size and details in the WordPress CMS.
Download all-in-one WordPress cheat sheet
The block editor, also known as Gutenberg, is the default WordPress editor that uses blocks to add elements like images, paragraphs, and headings. It also enables you to add a post to a dedicated blog page using the Query Loop block.
Adding images with the Gutenberg editor is relatively easy. All you have to do is upload an image file from your local computer, select one from the Media Library, or insert it via a URL. In this section, we’ll go over all these methods.
First, log in to your WordPress dashboard and create a new post. In the post editor screen, insert the Image block using the Toggle Block Inserter button. Alternatively, use the keyboard shortcut /images to quickly add the Image block to the editor.

To add an image file from your computer, follow the steps below:
Here is an example of an image in a blog post:
Alternatively, try inserting images from the Media Library. Here are the steps:
The Image block enables you to insert an image using a custom URL. To do so, follow the instructions below:

Moreover, WordPress enables you to set a featured image or a post thumbnail. Here are the steps to do so:

WordPress 6.2 comes with Openverse integration, allowing you to add openly-licensed images directly from your editor.
To access this feature, select the block inserter from the top-left corner of the editor screen and open the Media tab. Click Openverse and select or search for any image to add it to the editor. WordPress will automatically store the image in the media library.
To add images using the classic WordPress editor, you will need to install the Classic Editor plugin. This is because newer WordPress versions don’t have the classic editor by default.
Once the plugin is activated, set the classic editor as default. From the WordPress dashboard, navigate to Settings → Writing → Default editor for all users. Then, check the Classic editor option and click Save Changes to confirm.
Unlike the block editor, adding images to a WordPress post using the classic editor can be done via the Media Library. Here are the steps:

The WordPress Media Library is a library that stores media files, such as videos, images, audio, and documents, in one directory. It also lets you upload multiple images at once.
Follow the instructions below to upload images to the Media Library:
WordPress enables you to edit images, such as changing the size and adding details. In this section, we will show you how to use these features.
You can crop and scale an individual image via the Media Library. Follow the steps below:

It is also possible to change the WordPress images sizes to fit your preference and help optimize your images for increased web page speed and enhanced user experience.
Here are the steps to create custom sizes for these WordPress images:
Alternatively, you can edit the image dimensions directly in the block editor. This is useful if you want to adjust the image based on the content around it.
To do so, open the post or page that contains the image you want to edit, and follow these steps:
Alternatively, you can use the Width and Height fields to define a custom dimension.
Additionally, WordPress lets you edit the details of the images. For example, you can add alternative text or alt text, a description, and a caption.
In this section, we will show you how to insert details into your images. Follow the instructions below:
Adding images to a WordPress website is a great way to make your content look more engaging and enhance your SEO performance.
In this article, we provided a complete guide about adding images to your site via the WordPress block editor, the classic editor, and the Media Library. The methods are similar, so you can choose one that fits your preference.
Hopefully, this article has helped you understand how to add images in WordPress. If you have questions or difficulties, feel free to comment below, and we will give you answers. Good luck!