Skip to main content

Storage

After running Files Gallery for the first time, a folder _files will get created, used to store cache, config and optional include files. The _files folder is purposely excluded and not visible from the Files Gallery view. By default, the following will get created:

# ROOT
├── cache
│   └── folders
│   └── images
│   └── menu
├── config
│   └── config.php

However, with several additional options, it could look like this:

# ROOT
├── config
│   └── config.php
├── cache
│   └── folders
│   └── images
│   └── menu
├── css
│   └── custom.css
├── include
│   └── head.html
├── js
│   └── custom.js
│   └── tasks.php
├── zip

Change storage path

You can change the storage path from config options storage_path by default set to _files subfolder. You won't normally need to change the storage path, but it might be useful if you want to share image resize cache with other Files Gallery installations, or if you don't want to store anything in the folder where Files Gallery exists, or if you want to move storage outside of the server's web root.