Home Plugin & Theme Resources Standard Post

Standard Post

How to count the number, formats, and sizes of images on a WordPress website

After running a website for a long time, the server space may be heavily used. Perhaps you want to know how much hard disk space the images on your server occupy. What should you do? On a Windows computer, you can right-click on the folder, select Properties, and view the folder size. On a Linux system, you can also use the du command to view the folder size...

Updated on November 1, 2019 About 2 minutes read
统计WordPress网站图片数量、格式和大小的方法

After running a website for a long time, the server space may be heavily used. Perhaps you want to know how much hard disk space the images on your server occupy. What should you do?

On a Windows computer, you can right-click on the folder, select Properties, and view the folder size.

On a Linux system, you can also use the du command to view the folder size, for example, the following command:

Display the disk usage of a directory tree and each of its subtrees in MB.
du -m /home/linux
This shows the MB disk blocks in the /home/linux directory and each of its subdirectories.

But what if I only want to know the total capacity of uploaded image files on the website server, and how much each image format occupies? Is there a simple and quick method?

Of course there is.

Introduction to WP Media Assistant

WP Media Assistant is a plugin used to count the total number of images uploaded to a WordPress website, how many of each different image format there are, and the total disk space used by the images.

统计WordPress图片大小

This type of plugin is typically for one-time use. Install it when you need to run statistics, and uninstall it when you don't, so there's no need to worry about it occupying system resources.

Plugin Usage Method

Download the plugin from the link at the end of this article, upload it to your website, and activate the plugin.

Then, a WPMA link will appear at the bottom of the left navigation bar. Click to enter and you will see the statistics.

Plugin Download

You can download it from the link below and upload it for use, or you can directly search for the plugin name in the WordPress backend to install and use it.

Download Link

Rate this article post
Previous Adding a Reading Time and Progress Bar to WordPress Websites Continue reading content around the same timeline. Next A quick way to add backlinks to a website: Bait Links View the next related tutorial or experience.

AI Website Building Assistant

🤖
Hello! I am the Naibabiji AI Assistant. How can I help you?
Quick Consultation: