Table of contents
Get the industry’s fastest WordPress hosting◦ 100% network uptime
◦ Comprehensive security
◦ 24/7 support

WordPress Guide → Images

WordPress images: How to add them and where to find free photos

images for wordpress

They say that a picture is worth a thousand words, and it’s probably true. Which means images are one of the most powerful tools for engaging your website visitors. Whether it’s a blog post, product page, or gallery, visuals add life to your content and create a stronger connection with visitors than words alone.

However, uploading and managing images on your WordPress site can be tricky if you’re not familiar with the right tools and techniques. Let’s talk about how to use images effectively on your WordPress site—from uploading to optimization.

Get fast, reliable hosting for WordPress

Power your site with the industry’s fastest, most optimized WordPress hosting

Why images matter for your website

You probably already know this, but just in case:

However, images that are too large or improperly optimized can slow down your site, which could turn away visitors. So, balancing quality with performance is key.

How to upload images to WordPress

Uploading images to WordPress is easy, and there are several ways to do it.

1. Use the WordPress media library

The media library is where all the images, videos, and other files you upload to WordPress are stored. To upload an image:

A. Log in to your WordPress dashboard.

B. Navigate to Media > Add New Media File.

wordpress image in media library

C. Click Select Files and choose the images from your computer that you want to upload or drag the images into the drop zone. You can select multiple images at once.

Once uploaded, the images will appear in the Media Library, and you can insert them into your posts and pages.

2. Upload images directly to posts and pages

You can also add images while creating or editing posts and pages.

In the Classic Editor:

In the Block Editor:

A. Click the [+] to add a new block and select Image.

add wordpress image to page

B. Choose Upload to upload the image directly or Media Library to select an image that’s already been added.

upload wordpress image to page

Best practices for image sizes and formats

While uploading images is easy, optimizing them is just as important to keep your site fast and efficient.

Image sizes

Before uploading, resize your images to fit the layout of your site. Large images (over 1MB) can slow down your website significantly, so aim for a file size of less than 100KB, if possible. You can resize images using photo editing software or online tools like TinyPNG before uploading them.

In WordPress, you can also control the image size when inserting it into a post or page. WordPress offers several default sizes, including Thumbnail, Medium, Large, and Full Size. It’s best to use the appropriate size for the space it will occupy, which helps reduce page load times.

Image formats

WordPress supports several image formats, but keeping your site light for best performance generally means sticking with a newer, compressed format:

There are a lot of online tools that make it very easy to convert your larger image files (like JPEG or PNG) to a WebP or AVIF file.

WordPress does also support larger image formats, like:

Adding image alt text for SEO

One of the easiest ways to improve your site’s SEO is by adding alt text (alternative text) to images. Alt text describes an image to search engines and is important for accessibility. If the image doesn’t load, the alt text is displayed in its place. Alt text is also read by screen readers for visually impaired users.

Here’s how to add alt text:

In the Block Editor, you can also add alt text to an image in the sidebar.

wordpress image alt text example

How to organize and manage images in WordPress

As your website grows, your Media Library can get crowded. Organizing your images properly will save time and reduce clutter.

Using image categories

You can install plugins like WP Media Folder to organize your media files into folders. This can help keep everything tidy, especially if you have a large number of images.

Using image captions and descriptions

Captions can provide context for images, and descriptions give more detailed information. When you upload an image, you can add both of these elements to enhance the image’s usability. They’re also helpful for SEO.

How to optimize images for faster loading

Slow-loading images are frustrating to users, which makes them bad for SEO as well. Fortunately, there are several ways to optimize images:

Where to get free images for your WordPress site

If you’re not a photographer and you don’t have a budget for professional stock photos, don’t fret. There are several free photo libraries where you can download beautiful, high-resolution images to use.

Most of these images are free to use, even for commercial purposes, but it’s always a good idea to double-check the license for each image just to be sure. It’s also usually a good idea to give some sort of attribution to the artist, in a caption, footnote, link, etc.

Ready to get started?

Get the fastest, most secure WordPress.org hosting on the market.

Trust us to help you choose the ideal hosting solution

Loading form…