Tech

2 Easy Ways To Create An Image Gallery In WordPress

0
gallery-in-wordpress

WordPress is a flexible content management system which gives users total control every aspect of their website. It lets people display all kinds of content in a visually stunning manner on their interfaces. Visual appeal has become an important factor over the years which helps attract and engage more visitors. Website owners are looking to add images to their pages to make them more attractive. In this guide, we are explaining simple methods to create an image gallery in WordPress.

Adding pictures in the CMS is easy but if you add multiple images, then they will be displayed one after another. This will not be an effective way to showcase your pictures. It will also harm the user experience as visitors will have to scroll to see all the photos. An image gallery provides an efficient solution to this issue. Let’s see how you can add one to your website.

1. Adding An Image Gallery Manually

The introduction of Gutenberg as the new default editor in version 5.0 was one of the biggest changes made to WordPress in recent times. It marked a significant shift as the CMS moved towards block-based editing. The tool contains various pre-built blocks which you can modify according to your requirements and then assemble them to create a page. There is a gallery block included in the editor which can be used to display images. Let’s see how you can use Gutenberg’s inbuilt feature to build an image gallery.

i. Open A Page In The Editor

First, select the post or page where you want to create the image display. Log in to your admin dashboard and then select Posts to view all the entries. Then click on the title of the post where you want to make the addition. This will open the post in your editor.

ii. Select The Gallery Block

Click on the Add New icon denoted by the “+” symbol in the editor. Then choose the Common Blocks dropdown menu. You will see the Gallery block listed among the various options. The block will now be added to your editing screen. You can now modify the block to create your picture display.

iii. Upload The Pictures

In the block, you will see two options for adding images. You can click on Upload and then add images one by one to your gallery. This method can be used if you want to use photos stored in your system. In case, you want to add images from your website’s existing library, then you can click on the Media Library tab.

iv. Add captions To The Picture

You have the option of adding a caption to each picture in your display. As soon as you click on an image, a Write caption option will be displayed. You can then enter the relevant text in the field. This caption will be displayed along with the photo on the website.

v. Create Your Gallery

Once you have uploaded all the pictures and added the captions, you can create the gallery by simply clicking the Create a new gallery button. This tab is located in the bottom right corner of the screen.

You will now be directed to the Edit Gallery page. Here you can review your changes and then hit the Update Gallery tab.

vi. Display The Gallery

Once you clicked the Update Gallery tab, the post edit screen will open. In the settings panel on the right-hand side, you can set the number of columns for each row and make some other configurations. There is an option for cropping the pictures which you can activate. In the Link to menu, you can choose the Media File option so that the image file opens whenever the picture is clicked. Choosing the Attachment Page option will open the relevant page. Select None if you do not want to make the photo clickable. Now you can publish the post and finish the process of adding an image gallery in WordPress websites.

2. Using A Plugin To Add The Image Gallery

Did you just convert HTML to WordPress theme? Then you can try this method which involves using a plugin to add the image gallery.

i. Install A Gallery Plugin

The first step is to install a gallery plugin on your interface. In this tutorial, we are using the Envira Gallery which is a high-quality premium tool. You will have to visit the developer’s website to buy this product. In your control panel, go to Plugins > Add new and upload the files of the plugin. Activate the tool and move ahead.

ii. Create A Gallery

Go to Envira Gallery > Settings from your dashboard. You will be asked to provide a verification key which can be accessed from your account on the plugin’s website.

Now, click on the Add New link to create your gallery. You will need to enter the title of the gallery in the specified field. You can add pictures from your system or any other source by clicking the relevant option. Once you select the files, the images will be displayed on the screen.

iii. Add Metadata

Click the pencil icon on any picture and the Edit Metadata screen will open. Here, you will be able to add a caption, title, and alt text for that item.

iv. Configure The Gallery Settings

Hit the Configuration tab on the left-hand side. Now, you can define key gallery settings like the number of columns and the positioning of titles and captions. You can also define the dimensions of the images and thumbnails besides enabling lazy loading on this screen. You can also enable lightbox pop-ups by clicking the relevant tab on the left.

v. Display The Gallery

Open the post/page where you want to add the picture display in your editor. Click on the “+” icon and then choose the Envira Gallery block. Click the dropdown arrow icon and select the gallery you created. Review the settings in the panel on the right-hand side and then publish the post to display the gallery on your website.

Conclusion:

You can choose any of the methods depending upon your convenience to add an image gallery to your interface. In case, you want to create an even more feature-rich display, then you hire a WordPress web development company for the job.

Read About : 15 UK’s Most in-Demand Programming Languages

The BlackBud
The BlackBud Coverup all the trending and latest news based on UK, Politics News, Tech Headlines, Science, Heath, Travel, Sport News, celebrities, showbiz, Business and LifeStyle.

    How Can You Find the Best Packages of PCO Car Rental?

    Next article

    You may also like

    Comments

    Leave a reply

    Your email address will not be published. Required fields are marked *

    More in Tech