Z-Blog Application Center > PHP plug-in >Image batch compression tool

Image batch compression tool

  • ID : mo_JpegImager
  • edition : one point five
  • author : Sleeping in the desert ( Author website )  Contact author
  • Official website :
  • system requirements : Z-BlogPHP 1.5.2 Zero
  • Update Date : 2022-11-21 19:12:06   Long time no update
  • amount of downloads : one thousand two hundred and eighty-four
  • Scoring : The average score of 17 people voting is 8.94/10
  • PHP version : 5.2 and higher
  • size : 83KB

Please login

The charging plug-in should have good after-sales service. After sales QQ: "Check the plug-in description after purchase", and remark "plug-in name+order number".


The compression operation is irreversible. Please pay attention to the backup data and select an appropriate folder for compression


For more information, please see the update description below


More interesting and practical SEO tools, please go to ZBlogSEO Toolkit


Plug in function:

1. For those who have a large number of historical articles and whose content and pictures are saved to local sites

2. For servers with a large number of pictures that cause the server disk to fill up and need to free up disk space

3. This plug-in directly starts from the website directory and processes all pictures in the specified directory

4. Some measured stations can be compressed from 20G to 200M (depending on the actual configuration)

The plug-in only supports pictures with the suffix jpg | JPG | jpeg | JPEG | png | PNG | gif | GIF. Other format suffixes will not be processed

Plug ins are valuable, data is priceless, and plug-in operation is irreversible. Please handle with caution

If there are too many pictures, the webpage may display a 50X error (usually 504, running timeout), but it does not affect the actual compression. Do not refresh the page repeatedly

The specific compression conditions can be viewed in reverse chronological order by accessing the designated directory via FTP

If it has not been updated for a long time, it may be that some pictures are damaged and cannot be processed. At that time, you need to "remove" the wrong pictures and run again

Script running is often limited by HTTP timeout and PHP timeout. If there are a large number of pictures in the folder, it may not be able to be processed at one time. If no solution is provided, please search Baidu for a solution

The image compression is operated by the GD library of PHP. If the GD library cannot recognize the image, it may cause the script to report an error. Please remove the image yourself and execute again


2.0:

0. I'm glad that I took the time to update this antique level plug-in

1. Re optimize the code. It will look much better and be refined

2. Adjust some semantic unsatisfied content

3. Replace the image acquisition as an auxiliary function of the ZB system to prevent the image folder from carrying other files and causing it to fail to operate normally


1.6:

1. Optimization

1.1. Now the GIF image can be displayed correctly Skipped

1.2. The problem of script memory usage is reduced to a certain extent, but if the image is too large, an error may still be reported

2. Add

2.1. New optional PNG pictures are compressed in JPEG format without modifying the suffix, but the space occupied by the pictures can be greatly reduced

2.2. New optional GIF images are compressed in JPEG format without modifying the suffix, but the image space can be greatly reduced

2.3. Add the option of whether to compress all the pictures in the folder instead of only those exceeding the specified width and height

2.3.1. It can be compressed in JPEG form with PNG

2.3.1. It can be compressed in JPEG form with GIF


1.5:

1. Repair the bug


1.4:

1. Repair the bug

2. I wish you a happy National Day!


1.3:

1. Optimize the download process

2. Adjust the png image compression mode


1.2:

1. Resolve the bug of the previous version that cannot submit data

2. Add the function of reloading plug-in data again (please use it carefully)


1.1:

1. Clear the dead cycle

2. Optimize multi-level circulation of sub folders

3. Cancel the information acquisition of GIF image

4. Increase the compression speed

5. Clean other known BUGs


1.0:

1. The default directory of pictures is/ Do not use the directory other than the zb_users directory.

2. It is recommended to use the maximum width as the compression standard (preset 1000)

3. It is not recommended to adjust the maximum height (99999 preset)

4. The specific speed depends on the number of pictures and server configuration

5. More pictures may result in 500 pages, but the actual compression effect will not be affected. Repeated refreshing operation can be performed until a normal page appears

6. It is recommended to compress each folder according to the actual number of pictures


Plug in background:

 blob.png


Click after compression


 blob.png

Original image: (size 306K) Since the uploaded image from the zb application center will be automatically compressed, the external image will be called

 1.jpg

After compression: (image quality 85, compressed size 54K)

 9.jpg

After compression: (picture quality 75, compressed size 39K)

 2.jpg

Hello, Z Blog related website has opened the real name system, please log in Bind your phone , and then make comments. Thank you for your support.

Undertake ZB template development and customization; Undertake function plug-in customization

ZBLOG Application Center - Application Purchase and Use Agreement


1. Before purchasing an app, you need to confirm whether the app meets your needs. Digital products do not support trial. According to Article 25 of the Consumer Protection Law, the app is a digital product downloaded online and cannot be refunded once it is downloaded and installed after purchase.
2. The application you purchased in the application center, Only the license of the application, and the ownership of the application still belongs to the application provider.
3. An application can only be used for a single account. Without the consent of the website and the application provider, No secondary release, gift, resale, lease, piracy, etc , otherwise we will Permanently close the user account And reserves the right to continue to investigate relevant responsibilities.
4. If The website containing the application is resold or given away, leased, etc. Please purchase the application with a new account or remove the application Otherwise, it will be deemed as violating the use agreement and permanently canceling the right to use the account.
5. Unless otherwise specified, the purchased applications only include relevant use rights and free update services, and the application center and application provider do not provide additional after-sales installation and other services.
6. The risks in your use of the application are entirely borne by the user, including system damage, data loss and any other risks.
seven Users shall not use this app to engage in any behavior that violates laws, regulations and social public order and good customs in any way. Users must bear all legal responsibilities for the possible consequences of their improper use, and the website and application provider will not bear any responsibility.
eight If the application provider and the website find that the user installs the application on illegal websites such as pornography, gambling, drugs and fraud, they will stop the user's use rights and services, and report the user's illegal information to the network supervision department.
9. The website and application providers reserve the right to change, restrict, freeze or terminate your use of certain content without notifying you and assuming no responsibility for you.


Purchasing Guide


1. Please first Registered account , and Sign in Application Center.
2. Directly click "Buy App" and follow the instructions.


Download Guide


1. The buyer logs in on his Z-Blog website, enters the background, and clicks the "Application Center" menu on the left menu bar.
2. On the home page of the "Application Center", log in using the application center registration account.
3. Enter "My Application Warehouse" to see the successfully purchased applications. Click "Download" to download and install them.


Other precautions


1. If you cannot normally access the application center through the background of your own website, please purchase carefully, because this may cause the application to fail to download and install smoothly.
2. If the paid application cannot be downloaded normally, please check Z-Blog and application updates in the background of your website. If you have updated to the latest version and still cannot download, please contact us in time.
3. The local settings may be overwritten when the update is applied. Please make a backup before the update.