1. Support
  2. Knowledge Base
  3. Tutorial
  4. How to embed images in WordPress plus adding a caption

How to embed images in WordPress plus adding a caption

WordPress is a content management software, and content means texts, information, sharing stories. Are images associated with that? Most certainly. Although books can go without a single image throughout the whole book, websites and blogs of any kind are usually more versatile and good stories require good pictures to complement the overall essence of the story being told.

Images in WordPress
Image Source: Simon – Pixabay.com / License: CC0 Public Domain

Talking about a vacation in a beautiful country without sharing any of the pictures that were taken during this vacation, make a fairly weak story, and people will not be as receptive towards sharing it with their friends, as they would be if high-quality images were embedded alongside the original story.

Images can often rescue your articles / posts from complete disaster, especially when it comes to tutorials and technical guides. Many webmasters find it easier to understand when a picture complements a particular piece of content. How exactly do you insert images in your WordPress posts and what else should you know about images on the web in general? Let’s find out.

Inserting an image in a WordPress post

Whenever you click the Posts => Add New button in your WordPress dashboard, you’re greeted with a page that is home to the WYSIWYG content WordPress editor. Below the part where you enter the post title, you will see a button called Add Media, where you can upload one or more images to your post. These are not featured images though, for more information on featured images please see: How to use featured images in WordPress.

Add Media

Once you finish uploading an image of your choice, you will see a page very similar to this:

Media Image

On the right hand side, there’s an image editing options panel in which you can specify several settings, including the dimensions of the image you would like to use, and also to specify a particular “caption” that describes your photos the best.

In the example, we have used the phrase “caption example”. Captions are a great way to avoid having to write multiple paragraphs about the picture you are sharing with your readers, and instead caption it right from the media editor. This is how it could look like in a real post:

WP Caption Example

So the basic process of embedding an image, including caption, in a WordPress post is quite straightforward, and easy as some would say.

What about other techniques? One other way to embed images in WordPress is by using a Gallery Plugin – although WordPress also offers built-in support for galleries. WordPress gallery plugins will more often than not come with a set of unique features that will greatly enhance the way you insert images in your WordPress posts. Which is the absolute best WordPress gallery plugin, you might ask?

NextGEN Gallery
Image Source: Screenshot – WordPress.org

The NextGEN Gallery plugin has been downloaded more than 10+ million times, and is often considered as the leading WordPress gallery plugin available. NextGEN Gallery greatly enhances the image uploading and managing process for your WordPress images. Some of the most recognized features are:

  • Multiple-image upload.
  • Ability to import image meta data.
  • Easy add/delete/arrange/sort images feature.
  • Edit photo thumbnails.
  • Create custom albums from your existing galleries.

On top of all those amazing features, with NextGEN Gallery you will be able to display your images in two different ways; as slideshow images, and as thumbnail galleries. Both of which will provide an extensive list of features for having full-control over how the pictures look and feel to the reader.

This particular gallery plugin has a very easy learning curve, and has been built with beginners in mind. One thing this gallery plugin will not do however, is optimize your images for optimal performance. This is still a feature that developers are trying to figure out how to implement natively in the plugins they create.

Luckily for WordPress users, a website called TinyPNG has launched a freely available WordPress plugin that will optimize all the images you upload automatically.

Compress JPEG & PNG images

Compress JPEG PNG images
Image Source: Screenshot – WordPress.org

TinyPNG has long been known as a reliable image compression service, and to have that compressing functionality integrated directly into your image uploading process is great. As you upload images to your WordPress media library, the Compress JPEG & PNG images plugin will automatically detect the type of the image and use the appropriate image compression service (TinyPNG or TinyJPG respectively) to optimize your images before they’re fully uploaded.

Thanks to the lightning fast servers that TinyPNG service uses, this process is pretty much seamless and doesn’t interfere with your overall image uploading process. On average JPEG images are compressed by 40-60% and PNG images by 50-80% without visible loss in quality.

Image optimization has long been associated with improvements in site speed, and thus improvement in the number of people who visit your site and even interact with it. Page speed is also a very well known Google ranking factor, so there really is no reason not to use an image optimization plugin, unless you want to do each optimization manually.

As mentioned before in this article, in WordPress there also is an option to upload featured images. Featured images are a great standardized way to assign images to posts that will be used as thumbnails on archives, in widgets and often automatically within the post content. Featured images are not embedded within the post content, but uploaded by using the particular option:

Set Featured Image
You can set featured images in WordPress very easily

All WordPress themes by MH Themes make use of this great feature. That means when you upload a featured image to a post, the image will be inserted on single posts right away and also WordPress will generate several thumbnails that will be shown throughout your theme on archives, in widgets or else. And adding a featured image is as easy as clicking a button. Here you can find more information: How to use featured images in WordPress.

Was this article helpful?

Related Articles

Stay in touch with us!

Join our newsletter and we let you know about new theme releases,
as well as important updates and discounts.