Website Images
If there’s anything most important in a blog, it is images. A picture is worth a thousand words; good images can provide richer content than text alone, and when combined, they create excellent results.
However, there are several issues to be aware of regarding images; improper handling can negatively impact the blog itself. The main concerns are image file size and loading speed.
Image Size
For instance, consider a real-life photo taken with an ESP32 CYD hardware setup using a smartphone camera. When uploaded to a blog, these original camera shots typically range from 1–10 MB. Loading such files on mobile devices will result in slower performance and high data consumption.
Similarly, computer screenshots usually occupy several hundred KB each. While one image per post may be acceptable, a well-written article often includes multiple images—three or five of them add up to several megabytes in total. On mobile devices, reading even a few articles can consume over 100 MB of data, and the loading speeds will noticeably slow down, severely degrading the user experience.
Page load speed is a critical indicator of website quality. Text contributes very little to overall file size, while resource references inherent to WordPress are unavoidable. The primary factor affecting total volume, however, is images themselves.
At this point, image optimization becomes essential: balance quality with compression and control maximum dimensions. Standard compression can reduce original file sizes by about one-third, whereas aggressive compression can achieve even smaller reductions—down to one-tenth or less. For example, a 1 MB image can be compressed down to 300 KB, or if resized (e.g., max width of 800 pixels), it might shrink further to just 10–100 KB. With an average image size of 100 KB, three images would only consume 300 KB—minimal data usage and nearly instant loading times.
Without compression, a single 3 MB image multiplied by three becomes 9 MB (or up to 10+ MB including overhead), causing significant slowdowns upon site load and poor overall experience. The difference between compressed and uncompressed images is often negligible visually, so it’s crucial to apply appropriate compression and limit maximum dimensions—unless you’re running a professional photography blog where maintaining high image quality is paramount.
Image Hosting
There’s also a concept known as "CDN" (Content Delivery Network), which hosts files on servers geographically closer to users, enabling faster access and better performance.
This raises another question: Should images be hosted on a CDN, or kept within your own blog’s directory? Which is better, and why?
In this article, I recommend storing all images directly on your WordPress media library rather than using an external CDN. The advantage lies in having all resources unified under one system—either everything loads successfully together, or nothing does at all. This simplifies backups and migration processes, preventing scenarios where text remains visible but images fail to load due to CDN expiration, file loss, or other disruptions.
Generally, CDNs require payment and often involve content moderation policies—covering adult content, violence, terrorism, and more. Even if your content complies with rules, there’s still the risk of false positives, manual review delays, and lack of privacy control.
By contrast, self-hosting images on your independent WordPress site eliminates both costs and censorship concerns. You have full control over image quality, dimensions, file size, and upload frequency—all decided by you without external interference.
Tips
Images come in various formats such as JPG, PNG, GIF, and WebP. WebP was recommended years ago, but support remains incomplete on some platforms—for example, iOS has historically provided limited or inconsistent backing.
To ensure maximum compatibility across devices: stick with JPG, PNG, and GIF. If you prioritize modern features or optimized performance for web-specific scenarios, try WebP—as demonstrated in this very article, where images are compressed and converted to WebP format.
As long as image quality remains acceptable during compression, the resulting file sizes will be manageable regardless of format chosen.