How does the student party build a travel photo album website that can be shared with everyone?

Build a travel photo album website that can be shared with everyone

It has become an important part of our personal recreation to travel around every holiday and experience the customs in different places. Every time we travel, we will harvest a large number of photos. Whether these photos and videos are stored in the mobile phone or in the camera memory card, it will make the limited storage space even more stretched. And these photos and videos are stored on the computer, which is inconvenient to share with everyone. But now, we can use the combination of album management software piwigo and cpolar to build our own photo sharing website, which can take advantage of the huge storage space of the computer and share it with everyone anytime and anywhere. Now, let's see how to do it.

In order to facilitate our picture management, we use piwigo, an open source picture management software, as the carrier of our travel photos. And this webpage program can perfectly adapt to our commonly used phpstudy, we only need to paste the piwigo webpage folder into the phpstudy webpage folder, and set up the piwigo operating environment to install it. The operating environment of piwigo mainly includes php, MySQL, Nginx, SQL-front, etc. We can find and install these software in the main program of phpstudy in the form of phpstudy plug-ins. After phpstudy has installed these software plug-ins, we can officially enter the installation procedure of the piwigo web page.

First, you need to copy all the piwigo webpage files to the webpage folder of phpstudy, then click "Create Website" on the upper left of the "Website" page, and phpstudy will pop up the environment setting interface for creating a new website. On this page, we can set the domain name, port, database information, root directory information and other content of the piwigo website.

img

After completing these settings, find the "Manage" button on the right side of the new entry, click this button to see the "Open Web Page" option. Click "Open Webpage" to enter the installation program of piwigo on the local computer. Here, we only need to follow the prompts and enter the previously set database name, user name and password, and then enter the administrator user name and password of piwigo itself, and then click "Start Installation" at the bottom of the installation page to enter the automatic installation program.

img

After the Piwigo web program is installed, the page will automatically jump to the website photo album setting page, where we can click "Create the first new photo album" to create a new photo album. Piwigo is thoughtful about this step, which also means that we have successfully installed piwigo on the local computer and it is already running normally.

img

Next, we need to create a blank data tunnel that can last for a long time and stably. To do this, we need to enter the official website of cpolar, click the "Reserve" button on the left side of the main page, and enter the data tunnel reservation setting interface. On this page, we find the "Reserve second-level subdomain name" field and perform several simple settings, mainly for the "Region", "Second-level domain name" and "Description" fields. After completing these 3 settings, click "Reserve" on the right side of the field to create a blank data tunnel that can exist stably for a long time.

img

When the data tunnel in the cpolar cloud is established, we can proceed to the last step, which is to set up the cpolar client on the local computer, and associate the reserved blank data tunnel with our skin-outsourcing travel album. On the cpolar client of the local computer, we find "Create Data Tunnel" under "Tunnel Management" on the left side of the main interface. In this case, we also need to fill in some basic content to associate the blank data tunnel reserved by cpolar cloud with the local piwigo web page.

img

After completing this part of the settings and clicking the "Create" button at the bottom of the page, we can find the network address for accessing the local piwigo album from the public Internet from the "Online Tunnel List" under the "Status" item

img

img

It is not difficult to see from the above introduction that it is not complicated to build a personal photo website that can share travel photos with everyone, and the high scalability and customized theme function of piwigo can also make our photo website more personal. If you want to get more detailed website building guidance, you can refer to our series of articles "Using Cpolar to Build a Picture Website". If you want to use this website for commercial use, you can also add https protocol support and custom domain name settings for the website on the cpolar client. Using cpolar to publish a personal travel picture website is just one application scenario of cpolar's intranet penetration function, and the data tunnel created by cpolar can also be applied in more scenarios.

Guess you like

Origin blog.csdn.net/qq_57761637/article/details/131846519