WordPress knowledge sharing

ECS quickly builds beautiful and practical online image directory

Files.photo.gallery is a beautiful and practical online photo directory php program. The entire program has only one single php file, which can be used immediately after uploading. It supports previewing online files such as music, pictures, videos, text codes, etc. Suitable for picture display, directory index and other practical.

Photography enthusiasts and photographers often share pictures, which are especially suitable for online display and can be viewed anytime and anywhere by people in different places. Next, we will share how to quickly build a picture directory through ECS.

Program features:

  • Create all file and folder galleries immediately without setting
  • Preview images, video, audio, and code
  • Share files and images with customers, friends, or family
  • Build a simple, beautiful and modern gallery on the website.
  • Preview photo's IPTC, EXIF, GPS, size and size
  • Faster and more comfortable than using FTP

Program function:

  • There is only one file, which can be placed in any directory of the server
  • Search and sort files in real time
  • Advanced list and gallery layout that can be switched in real time
  • Preview photo's IPTC, EXIF and GPS map
  • Use cache mechanism and CDN for fast loading
  • Advanced tree menu navigation displays the entire directory structure
  • Beautiful code highlighter for viewing and editing code formats
  • Optional login to protect access
  • Upload, move, copy and delete files

This program is applicable to all modern browsers Chrome, Firefox, Safari, Opera and Edge, as well as almost all mobile devices. However, it does not work in Internet Explorer.

1. Download and install the pagoda Linux panel

The environment panel that is easy to use at present is Pagoda panel , ECS in Alibaba Cloud Tencent Cloud Choose one that is cheap and easy to use.

These two cloud server vendors both have their own pagoda panels, which can be installed quickly by deploying pagoda panels with one click in the image market.

After installation, if you don't know the password of the pagoda panel account, you can go to SSH client acquisition or modification

2. Register domain name

You can use the domain name to access the website, or you can use the IP address to access the website.

For the convenience of sharing Laowei, I still suggest Register a domain name If you don't want to apply for website filing, you can buy Server outside mainland , you don't need to file the domain name.

3. Deploy the site building environment

The benefit of the pagoda panel is that the site building environment can be deployed with one click during visual operations.

Enter the "Software Store" on the pagoda panel and install php7.4, mysql5.5, nginx 1.20, phpMyAdmin 4.9 and other program versions in turn.

 Enter the "Software Store" on the pagoda panel and install php7.4, mysql5.5, nginx 1.20, phpMyAdmin 4.9, pureftpd and other program versions in turn.

4. PHP extension installation

The following php extensions need to be installed: GD, mbstring, fileinfo, exif (GD and mbstring extensions are installed by default in the pagoda).

Installation method: Go to the software store on the pagoda panel, find the current php version, and click "Settings" on the right.

Click "Install Extension" in the pop-up window. See all the extensions on the right, find the extensions and install them ("Uninstall" is already installed).

 Click "Install Extension" in the pop-up window. See all the extensions on the right and find the extensions to install

5. New Site

Create ftp instead of creating database.

You can use ftp to upload pictures, or you can use the pagoda panel upload function to upload pictures. Lao Wei recommends the latter to be more convenient and fast.

get into https://files.photo.gallery/ , find the download button to download an index.php file.

Lao Wei created 2 directories manually. The following is the program effect demonstration:

 You can use ftp to upload pictures, or you can use the pagoda panel upload function to upload pictures.

This program does not manage the background, and can be accessed in the foreground after uploading pictures.

You can give different names to different directories. The directory name is the classification name.

Like( zero )
Article name: Cloud Server Quickly Builds Beautiful and Practical Online Image Catalog
Article link: https://www.vpsss.net/26820.html
Copyright notice: The resources of this website are only for personal learning and exchange, and are not allowed to be reproduced and used for commercial purposes, otherwise, legal issues will be borne by yourself.
The copyright of the pictures belongs to their respective creators, and the picture watermark is for the purpose of preventing unscrupulous people from stealing the fruits of labor.