Last update at :2023-12-07,Edit by888u
Actually, this site didn’t understand why it needed to build its own image bed at the beginning, because when I first came into contact with the website, I learned a little bit about SEO and knew that if the image quoted external links, the weight would be reduced, and for image keyword optimization, Baidu search As a result, calling pictures is very unfavorable, and I still don’t understand it very well. However, sometimes when sharing content on other platforms, it only supports importing image addresses when sharing pictures. Only then do I find the picture bed useful. So I also collected some drawing tools one after another and slowly shared them with everyone.
What I share this time is the lightweight Sina Picture Bed System: Fantasy Realm, which is an open source work of the two-dimensional Ajue boss. It feels like it is made based on TinkPHP. The program is small and exquisite, and you can use the commonly used LNMP environment. The only thing to note is that PHP requires at least version 5.6.
Project address
https://github.com/178146582/Fantasy-fieldFull site download address: Click here to download Extraction code: x87g Backup download
The installation of Fantasy Realm is also very convenient. Just package the source code and upload it to the root directory of the website, then enter the domain name and install it directly.
Start installing Fantasy Realm
When installing, you only need to fill in the database name, database user name, database password, and then set up an administrator account, just like installing an ordinary PHP website. Note that the verification code cannot be displayed when logging in after installation. You need to enter the following Nginx pseudo-static rules:
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; }Pseudo-static rules in fantasy realm
If you are using the Pagoda panel, select the website on the left side of the Pagoda panel, select Settings behind the corresponding website, then select Pseudo-static on the left side of the dialog box, copy this pseudo-static code and save it.
Fantasy Realm Front Page
Fantasy Realm Backstage Home Page
The front desk of Fantasy Realm Sina Picture Bed System is very two-dimensional. These text descriptions in the front desk cannot be found to be modified in the background. They can be modified directly in the file application\view\Home\index.php. It is only when you look at this site from this path that you feel It's very similar to TinkPHP, but maybe it's an illusion.
The backend of Fantasy Realm is also relatively simple to use. In the "System Settings" on the left, you can set the site title, keywords and description. Whether to enable the visitor upload and registration function, and whether to enable the exploration function, which is the function of randomly viewing pictures at the front desk. Since it is using Sina Picture Bed, of course you also need to enter your Sina account and password here. If the registration function is turned on, you need to fill in the 163 email address to send the registration email. However, it is not easy to use after testing. Fortunately, there is no verification and it does not delay the user's upload of pictures at the front desk.
Fantasy Realm Sina Picture Bed Demonstration Site: http://img.vpsxxs.com Registration has been opened, testing is welcome, and it may close at any time
The advantage of using Sina Weibo as a picture bed is that it does not occupy your own hard drive. The disadvantage is that if the pictures uploaded by the user are censored and deleted, they will only be deleted on your own website, but the pictures will still be saved on Sina Weibo. It's somewhat risky.
The above is the installation tutorial for using the lightweight Sina Picture Bed System Fantasy Realm shared by this site. If you have any questions or experiences during use, you can leave a comment below the article.
Follow this site on WeChat
Welcome to search on the site:How to rent foreign servers, asp.net space, free domain name space, domain name registration number query, Dongguan server rental, European server, Hong Kong high-defense server rental, US host network, domain name value evaluation, US server website ,
发表评论