Publish: 2016-12-26 | Modify: 2017-09-04
XZ Pic (Xiao Z Image Hosting) is a simple image hosting program that allows you to quickly upload images to a local server (or Qiniu) and provides one-click copying of HTML and Markdown links for easy sharing.
If you previously downloaded version 1.0 of XZ Pic, you can smoothly upgrade to 1.1. However, for safety reasons, please make a backup before upgrading and then download the 1.1 version to completely replace the old version.
If you don't have a Qiniu account yet, please visit Qiniu Cloud Storage to register. Create an object storage in the backend and fill in the information in the qnconfig.php
file.
In qnconfig.php
, you need to fill in the AccessKey/SecretKey of Qiniu (obtained from Qiniu backend -> Personal Panel -> Key Management), the bucket name (name of the object storage), and the saveType
parameter. There are two options for saveType
: if set to FALSE, the image will be saved to Qiniu only; if set to TRUE, the image will be saved to both the local server and Qiniu.
If you have successfully upgraded to version 1.1 and configured Qiniu, simply visit your domain and you will see an additional upload option, as shown in the screenshot below.
I come from China and I am a freelancer. I specialize in Linux operations, PHP, Golang, and front-end development. I have developed open-source projects such as Zdir, ImgURL, CCAA, and OneNav.