XZ Pic 1.1 Update: Qiniu Cloud Storage Support and GIF Bug Fix

xz picimage hostingqiniu cloud storagegif upload fixfile backup
Published·Modified·

XZ Pic (Xiao Z Image Hosting) is a simple image hosting program that is ready to use out of the box. It enables fast image uploads to a local server or Qiniu Cloud, supporting one-click copying of HTML and Markdown links for convenience.

XZ Pic 1.1 Update Notes

  • Fixed a bug that prevented GIF image uploads.
  • Added an option to upload to Qiniu Cloud.

How to Upgrade

If you previously downloaded XZ Pic version 1.0, it supports a smooth upgrade to version 1.1. However, for safety, please back up your data before upgrading, then download the 1.1 version and completely overwrite the existing installation.

Configuring Qiniu Cloud Storage

If you do not have a Qiniu account, please visit Qiniu Cloud Storage to register, create an object storage bucket in the backend, and fill the information into the qnconfig.php file.

In qnconfig.php, you need to fill in the Qiniu AccessKey and SecretKey (obtained from Qiniu backend -> Personal Panel -> Key Management), the bucket name (name of the object storage), and the saveType parameter. The saveType parameter has two options: if set to FALSE, images are saved only to Qiniu; if set to TRUE, images are saved to both the local server and Qiniu.

Configuration Interface

Access Test

If you have completed the upgrade to version 1.1 and configured Qiniu, simply visit your domain. You will see an additional upload option available, as shown in the screenshot below.

Upload Interface

Other Notes

XZ Pic 1.1 Demo Address: Xiao Z Image Hosting Source Code: https://github.com/helloxz/xz-pic