First, look directly at the effect demonstration
Preview address of foreground page:
Background upload preview address:
Program introduction
1. The foreground directory program adopts files.photo.gallery
2. Background upload is open source Joe upload, which supports paste upload, click upload, drag upload, progress bar of upload success failure, etc
3. Default upload password (can be seen in the file, and limit the file format to be uploaded)
Source code download
matters needing attention
1. PHP extension installation: GD, mbstring, fileinfo, exif (some pictures cannot be read without opening!!!!)
(The pagoda has GD and mbstring extensions installed by default)
2. Please ensure that the root directory has _uploads
Folder, otherwise an error may be reported!
3. How to modify the upload password and allowed upload types?