Where does WordPress store images on the website?

Tutorials 0 lượt xem
Where does Wordpress store images on the website? thumbnail

Hello fellow students!

Surely everyone has seen the article on managing the gallery in wordpress and also knows how to manage the gallery and upload images already. However, are you wondering where on the website does wordpress store gallery content such as images? Here I will guide you.

WordPress usually stores images in the wp-content > uploads folder . In it, it saves images by year, month, for easy management such as backup, photo editing, etc.

Wordpress usually stores images

The storage divided by year and month is up to you to set at the Settings Library menu. Then click to sort files by folder based on year, month. If you uncheck this feature, all images will be saved straight to the uploads folder , which in the long run will be very messy and difficult to manage.

Wordpress usually stores images

Now try accessing a certain month directory to see how wordpress stores images. Here you can see that each image is divided into several images with different sizes. The creation of more images is automatically generated, for use in many different purposes, such as thumbnails, avatars, etc.

Wordpress usually stores images

Auto-generated image resizing can also be changed in Media settings.

Wordpress usually stores images

summary

WordPress has a fairly scientific and simple way of storing content for users to easily backup. However, creating multiple images with different sizes is the weak point of wordpress. Because in the long run this folder takes up a lot of storage resources. According to me, the website sells customers’ phones after 2 years of operation, the capacity of the uploads folder has reached 4Gb. Therefore, few people use wordpress to make a special website that needs a lot of images, such as a classifieds website.

However, there are ways to reduce the size of your photo folder. For example, optimize images before uploading, then delete unused images after a while. Or use another server to store images for wordpress… I will guide you in the following articles!

Bài viết liên quan