XZ Pic 1.1 Version Update: Supports Uploading to Qiniu

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.

XZ Pic 1.1 Update Notes

  • Fixed a bug that prevented uploading GIF images
  • Added the option to upload to Qiniu

How to Upgrade?

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.

Configuring Qiniu Cloud Storage

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.

2016-12-26_091345

Access Testing

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.

2016-12-26_091643

Other Information


Comments