WordPress Folder Gallery – How to create a WordPress gallery from a folder on web server

Product:

Wonder Gallery

Tutorial:

This tutorial will guide you how to create an image and video gallery from a folder on your WordPress web server.

The images and videos in the gallery will be dynamically retrieved from the folder. That's, if you upload image and video files to this folder or remove files from it, the plugin will automatically find the change and update the gallery.

Step 1 - Upload image and video files to a folder on your WordPress web server

For image, the plugin supports jpg, jpeg, gif and png files.

For video, the plugin supports mp4 and m4v files.

If myimage.jpg and myimage-thumb.jpg are found in the folder, myimage-thumb.jpg will be used as the thumbnail of the image.

If myvideo.mp4, myvideo-thumb.jpg and myvideo-poster.jpg are found in the folder, myvideo-thumb.jpg will be used as the thumbnail, myvideo-poster.jpg will be used as the poster image.

Step 2 - Create a gallery by using WonderPlugin Gallery

In WonderPlugin Gallery, create a new gallery, in step 1, click the button "Import Folder".

In the "Import Folder" dialog, select the folder where you have uploaded the image and video files.

Please note, the plugin will only search files in the selected folder, it will not loop through its subfolders.

WordPress folder gallery

In the Options tab, you can choose to sort the images and videos by the filename or the modified date.

wordpress-folder-gallery-options

Step 3 - Add the gallery shortcode to a WordPress post or page

Save the gallery and add the generated shortcode to a WordPress post or page. For more information about how to use the plugin, please view the quick start tutorial: How to create a WordPress image and video gallery.

An online demo is as follows: