Use ImgURL free image bed program to build your own image/attachment static file storage

888u

Last update at :2024-07-08,Edit by888u

Recently, due to the problem of anti-theft linking of Sina's free picture bed (anyway, there are feedbacks that it is not easy to use), many netizens have chosen to build their own picture beds. If there are not many pictures, we can use Qiniu, Youpaiyun, etc. that have free partial storage. If the budget is acceptable and you want more stability and security, you will choose Alibaba Cloud OSS, Tencent Cloud COS, Qiniu Cloud and other professional paid storage (the importance of self-built image beds can be seen from the recent instability of Sina image beds).

In view of cost considerations, some of our netizens will choose a cheap VPS server and build their own picture bed through a free picture program. A few days ago, Snail and Xiao Z talked about the image bed program ImgURL he made, and asked me to introduce it to him when I was free, so that more people could use it. There are still quite a lot of users using this picture bed program, and it should be improving in terms of installation and functionality. I think it has been maintained for some time.

Today, Snail will take some time to find a test server, and then install the ImgURL free image bed program to experience whether the installation process of this program is complicated and how easy it is to use. Finally, if there are users who need it, see if it is suitable for them.

First, ImgURL program and installation environment

1. Program address

Address: https://github.com/helloxz/imgurl/

2. Installation environment

PHP5.6+, PDO_SQLite, GD2, ImageMagick, fileinfo, pathinfo. Because the program is developed using the CodeIgniter framework, pseudo-static must be configured first. Apache pseudo-static file .htaccess is used directly in the root directory. Nginx Pseudo-static needs to be configured by yourself.

location / {try_files $uri $uri/ /index.php?$query_string;}location ~* \\\\.(db3|json)$ {deny all;}location ~* ^/(temp|upload| imgs|data|application|static|system)/.*.(php|php5)$ {return 403;}

In this way, we can start the installation after preparing the required WEB environment and throwing in the source code.

Second, ImgURL free image bed program installation

1. Installation path

Installation address: Our image bed website/install/?setup=1

2. Check whether it meets the requirement

The initial testing environment does not support it, so go and solve it first.

After the installation is completed, we can use it directly.

Third, use of ImgURL image bed program

After simple installation, we can use this picture bed, which supports visitors to upload 10 pictures per day. This depends on the function of our picture bed. If we want to learn some websites to build a copyright-free picture website, it is also possible. If we build our own picture bed for our own use, then we should not allow visitors to upload it, because it is really troublesome to review the pictures or manage them later.

Images can be managed in the background of the image bed. The official test address is also provided here, but I will not provide it.

Test address: http://test.imgurl.org Account: xiaoz Password: xiaoz.me

In summary, even if I use the image bed built by the server, we still need to back up the server regularly. Because when using the server, the data has to be managed by yourself.

Recommended site search: domain name search, buy server high defense, 100m free space, rent server price, domain name query, website virtual host space, US unlimited content host, virtual host rental, game server defense, mainland China ip proxy ,

Use ImgURL free image bed program to build your own image/attachment static file storage

All copyrights belong to 888u unless special state
取消
微信二维码
微信二维码
支付宝二维码