---
title: "How to Install and Use the Lightbox Gallery Plugin in WordPress"
description: "In this tutorial we will show you how to add a photo gallery to your WordPress website using the Lightbox Gallery plugin. First, we will walk you through installing and activating the Lightbox..."
url: https://www.inmotionhosting.com/support/edu/wordpress/using-lightbox-gallery/
date: 2016-05-17
modified: 2022-10-07
author: "InMotion Hosting Contributor"
categories: ["WordPress Hosting", "WordPress Tutorials"]
type: post
lang: en
---

# How to Install and Use the Lightbox Gallery Plugin in WordPress

In this tutorial we will show you how to add a photo gallery to your WordPress website using the Lightbox Gallery plugin. First, we will walk you through installing and activating the Lightbox Gallery plugin. Then, we will show you how to create a Gallery and add it to a Page/Post with a shortcode.

- [Install and Activate Lightbox Gallery Plugin](#install)
- [Creating a Gallery and Adding to a Page/Post](#add)

## Install and Activate Lightbox Gallery Plugin

1. [Log in to your WordPress Dashboard](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/).
2. Click **Plugins** in the *navigation* menu, then the **Add New** button.![Adding a New Plugin](https://www.inmotionhosting.com/support/wp-content/uploads/2016/05/wordpress_lightbox-gallery_wordpress-plugins-add-new.png)
3. Type **lightbox** in the search box, then click the **Enter** key.
4. You will see *Lightbox Gallery* listed, click the **Install Now** button.![Install Lightbox Gallery Plugin](https://www.inmotionhosting.com/support/wp-content/uploads/2016/05/wordpress_lightbox-gallery_lightbox-gallery-install-now.png)
5. Click the **Activate Plugin** link when you see a message stating you “*Successfully installed the plugin Lightbox Gallery*.”![Activating the Lightbox Gallery Plugin](https://www.inmotionhosting.com/support/wp-content/uploads/2016/05/wordpress_lightbox-gallery_activating-lightbox-plugin.png)

## Creating a Gallery and Adding to a Page/Post

After installing and activating the Lightbox plugin, we will now show you how to create your gallery, and add it to a Page/Post.

1. [Log in to your WordPress Dashboard](https://www.inmotionhosting.com/support/edu/wordpress/logging-into-wordpress-dashboard/) (if you aren’t logged in already), then click the **Lightbox Gallery** link.
2. Click the **Add Lightbox Gallery** button.![Add Lightbox Gallery in WordPress](https://www.inmotionhosting.com/support/wp-content/uploads/2016/05/wordpress_lightbox-gallery_adding-lightbox-gallery.png)
3. Enter a title for your gallery, then click the **Add New Images** button to select or upload your images. Click the **Select** button when you are done.
4. There are additional settings for the Gallery on the bottom of the page. Feel free to choose them as needed, then click the **Publish** button to create your gallery.![Publishing a Lightbox Image Gallery](https://www.inmotionhosting.com/support/wp-content/uploads/2016/05/wordpress_lightbox-gallery_publishing-gallery.png)You will then see a *Post published* message.
5. Copy the *Shortcode* in the *Photo Gallery Shortcode* section.![Copying Gallery Shortcode](https://www.inmotionhosting.com/support/wp-content/uploads/2016/05/wordpress_lightbox-gallery_photo-gallery-shortcode.png)
6. Navigate to the *Page/Post* you want to add the gallery to, and open it. **Paste** the shortcode into the page, then click the **Update** button. You will then see your new gallery displayed on the Page/Post.![View of Lightbox Gallery in a WordPress Post](https://www.inmotionhosting.com/support/wp-content/uploads/2016/05/wordpress_lightbox-gallery_lightbox-gallery-in-wordpress.png)

Congratulations, now you know how to add a photo gallery to your WordPress website using the Lightbox Gallery plugin!
