Gallery from files


The gallery to be displayed is in the server’s file system, under the main library of WordPress in a folder. (This could be the wp-content/uploads folder.) You can upload images into this folder on the administrator interface, through FTP, or any other way. When you call the plugin through shocode, you need to specify the folder from where it needs to read the images. The plugin reads the images from this folder.

For modifying an already existing gallery (adding or deleting images) you don’t need to log in to the WordPress administrator interface – it’s enough to modify the images from the folder. The plugin does everything else automatically (if you set it this way).

For displaying, it will choose one of the available samples and displays the gallery itself with that sample.

Supported image types: .gif, .jpg, .jpeg, .png

Main functions

  • Image resizing
    On the administrator interface of the plugin, it will resize the chosen images as set. The uploaded images through the plugin are automatically resized. (It keeps the orientation in mind.)
  • Image crop
    You can crop images in the plugin’s administration interface while maintaining the appropriate ratio. (It keeps the orientation in mind.)
  • WebP support
    The plugin will create and use a WebP version of the images, as configured.
  • Thumbnail usage
    The thumbnails – in the set size – will be created automatically, if needed. They can be manually re-generated.
  • Watermark usage
    It will automatically apply the watermark on the plugin’s interface as set, but this can also be done manually.
  • Automatic mode
    You don’t even need to log in to the WordPress administrator interface! You copy the image to the correct folder, eg. through FTP, and the plugin does everything else automatically. (Resizes the image, generate the thumbnail, apply the watermark – as it’s set.)
  • Handling text
    The text of the images can be given individually, or in groups. (For storing, it uses descript.ion files.)
  • Template usage
    For displaying, the gallery uses templates, which can be given – in shorcode – individually as well. The usage of custom templates is supported with the actual (child) theme. Because of this, the functioning mode works well with other accessories (fancybox, dearbox, etc…).
  • Simple content inserting
    The plugin uses it’s own button for inserting content, through which the folder can be chosen and the main parameters can be set.
  • Paged display
    At the displaying of the gallery, it can be given (globally and individually), on how many pages the image is present. Between the created pages, you can navigate through.
  • Import an existing gallery
    Import default WordPress galleries already defined in the content by copying images.

Detailed Description and Examples

On the extension’s website


Facebook support group


  • Gallery display
  • The image in a popup window
  • Folder display
  • Inserting content
  • Choosing the gallery
  • Handling the galleries
  • Options
  • Crop image


  1. Update your WordPress page
  2. Upload the plugin files to the /wp-content/plugins/gallery-from-files directory, or install the plugin through the WordPress plugins screen directly.
  3. Activate the plugin through the Plugins screen in WordPress
  4. Set the default settings in the Settings -> Gallery setting screen on “Setting” tab
  5. You are done, you can now paste the galleries shortcode into the content.


April 11, 2021
I am glad to find this plugin, very helpful to display pictures from folders, I like it, found what I had been looking for.
January 27, 2021
This plugin does a great job of generating WebP variants of the images in the folder you point it at. If you're able to work completely outside of the WordPress media library and put just one copy of each image into the target folder then you may get good results. I don't know, unfortunately, since I've always used WP's built-in default mechanisms for uploading and generating multiple variants in the media library. Sadly this plugin has no ability to filter the folder contents and so it's useless to me. On the positive side the developer responded almost instantly to my emailed questions to explain the problem which was very helpful. My search continues but your mileage may vary.
December 29, 2020
It does exactely what it has to do. Easy to configure and to use. Fast and responsive support.
November 20, 2020
I tried a few gallery plugins but none of them organized the images into separate folders. All appeared only in bulk on the admin interface. With this plugin, however, I can customize what I upload and which folder to display on different pages. With this plugin I was able to create an E-photobook. Thanks for that.
Read all 4 reviews

Contributors & Developers

“Gallery from files” is open source software. The following people have contributed to this plugin.


“Gallery from files” has been translated into 1 locale. Thank you to the translators for their contributions.

Translate “Gallery from files” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Support Windows server (XAMPP)


  • The “|” character’s line break into the description


  • WordPress 5.7 compatibility


  • Add template attribute on admin interface to copy shortcode


  • Add import from default WordPress gallery


  • Leaving the exif_imagetype() function


  • Modify Classic Editor check


  • Change home folder definition (due to Debian installs)
  • Add support for *.jpeg images


  • When using Gutenberg, the paste button is not called


  • Add display shortcode in browse galleries


  • You can switch to renaming files


  • Fix a small bug


  • Revised template management.


  • Check imagewebp() support in server


  • Check 5.6 compatible


  • Minor bug fix


  • Add “orderby” option in shorcode
  • Add order and orderby selector to backend list


  • New features


  • Error correction


  • Add COUNT variable on folder(s) template


  • Support quote charaters in description


  • Revamped template management, WebP support


  • Add function: Image crop in backend


  • Small error fixed


  • First published version