Simple and beautiful directory program: files.photo.gallery

Simple and beautiful directory program: files.photo.gallery

 September
2020-10-30 / 3 comments / 1247 reading / Checking for inclusion

brief introduction

 files-app.jpg

Files. Photo. Gallery is a simple and beautiful directory program, directly upload index. PHP can be used. Supports online preview of music, pictures, videos, text codes, etc. Suitable for picture display, Catalog Index and other requirements.

Official website: https://files.photo.gallery/
demonstration: https://files.photo.gallery/demo/

Download and install

https://cdn.jsdelivr.net/npm/files.photo.gallery/index.php
Yes, just index. PHP

PHP extension installation: Gd, mbstring, FileInfo, exif
(GD and mbstring extensions are installed by default)

Partial configuration

About 18 lines: root directory configuration 'root' = [1jeemaa1] ', / / leave blank, default

 //Root configuration 'root' => '', // root path relative to script.  'start_ path' => false, // start path relative to script. If empty, root is start path

About 21 lines: authorized login

 //Authorized login 'username' => '', 'password' = [1jeemaa1] ', / / fill in the parameter to open, leave blank to close

About 62 lines: exclude files or directories

 //Exclude files or directories 'files_ Exclude '= [1jeemaa1]', / / \ (png|jpe? G) $/ I '/ Note: exclude suffix png.jpeg.jpg 'dirs_ Exclude '= [1jeemaa1]', / / \ / MI8 | / Doc / 222 (\ / |) / I '/ Note: exclude the directory mi8.doc.222 'allow_ symlinks' => true, // allow symlinks

For more settings, please refer to the official website: https://forum.photo.gallery

About authorization

Open source code, function completely free of charge, unlimited use. Unauthorized open each time will pop up the authorization window, of course, you have the ability to support the author to buy genuine.

Share a happy link: https://cdn.jsdelivr.net/gh/yyingc/js@v2.0/files.js
Just localize JS at the bottom of index.php
<script src="<? php echo config::$assets ?> js/files.js"></script>

zero

Comments (3)

cancel
  1.  head portrait
    Dark
    Android Pie · Google Chrome

    good thing

    reply
  2.  head portrait
    Self taught examination results
    Windows 7 · Google Chrome

    All right!!!

    reply
  3.  head portrait
    Xia Mu Guizhi
    Windows 7 · Google Chrome

    Good stuff~

    reply