Envira Gallery Blog

Digital Photography Tips, Tutorials and Resources

Choose Image Gallery

How to Create an Image Widget in WordPress

by Waseem Abbas on Jan 27, 2016

Share This Post!

Do you want to add an image to your WordPress sidebar? Yes, you can do it without writing a single line of code. In this article, we will show you how to create a simple image widget in WordPress. We will also show you how to create an advanced gallery widget in WordPress.

Simple Image Widget for WordPress

A simple image widget allows you to display a single image in your sidebar. You can link that image to a page or website.

To create a simple image widget, the first thing you need to do is install and activate the Image Widget plugin.

Upon activating the plugin, go to the Appearance » Widgets section in your WordPress admin area.

There you will find Image Widget in the available widgets section. You can either click on the Image Widget and press Add Widget button, or simply drag and drop the widget to the sidebar of your choice.

Add Image Widget In WordPress

After adding the Image Widget to sidebar, you need to click on Select an Image button to upload your photo.

Select An Image

It will show you the Media Library where you need to select the image. You can either upload a new photo or choose from previously uploaded photos.

Upload Files

Once you have selected the image, you need to click on the Insert Into Widget button to add the image in Sidebar.

Insert Into Widget

Your selected image will be available for preview. It will allow you to add title, alt text, related terms, caption, link and more.

Image Widget Settings

After saving the settings, you can go to your photography website to see the image in your WordPress sidebar.

Image Appears At Website

Advanced Image Widget for WordPress

If you want to add multiple images or an entire image gallery in your WordPress sidebar, then you need an advanced image widget plugin.

Envira Gallery allows you to add a beautiful image gallery in your WordPress sidebar.

First thing you need to do is install and activate the Envira Gallery WordPress plugin.

Upon activating the plugin, you need to create an image gallery by going to Envira Gallery » Add New.

Add New Gallery

Next, you need to add a title for your gallery and upload your images.

Upload Images In Gallery

After publishing your image gallery, you need to go to the Appearance » Widgets and add the Envira Gallery widget to the sidebar of your choice.

Envira Gallery Widget

It will allow you to add a widget title and select your gallery from the dropdown. After making the changes, click on the Save button.

Choose Image Gallery

You have successfully added an image gallery in your WordPress sidebar. This is how the image gallery will look in the sidebar of your website.

Image Widget Gallery In Sidebar

We hope this article has helped you to learn how to create an image widget in WordPress. You may also want to check out our guide on how to easily edit images in WordPress.

If you like this article, then please follow us on Facebook and Twitter for more WordPress and photography tutorials.

Share This Post!

Add a Comment

We're glad you have chosen to leave a comment. Please keep in mind that all comments are moderated according to our privacy policy, and all links are nofollow. Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.