How to optimize images in WordPress using Directadmin
-
Images can significantly impact your website’s load time, so it's essential to optimize their size without losing quality. Here are two ways to optimize images in WordPress using Directadmin:
Option 1: Use Plugins
The easiest way to optimize images in WordPress is by using plugins.
-
Install a Plugin: There are numerous plugins available in the WordPress repository like Smush, EWWW Image Optimizer, TinyPNG, among others. Pick one and install it to get started.
-
Configure the Plugin: After installing the plugin, configure its settings: select the optimization level, choose which image types to optimize, and decide whether to optimize existing images or optimize new images only. Some plugins offer additional settings.
-
Run Image Optimization: Run image optimization once the settings are adjusted; the plugin will optimize all existing images in your media library and automatically optimize any new images that you upload going forward.
Option 2: Manually Optimize Images
An alternate way is to optimize images without plugins is by compressing them before uploading them to WordPress.
-
Select Images to Optimize: Review your media library and optimize each image underneath the download link.
-
Resolution Optimization: If the image resolution is larger than the image container, resize it by reducing both the dimensions and resolution in an image editor like Photoshop, GIMP, or Preview for Mac.
-
Compress Images: Compress images using free online tools like TinyPNG or Compressor.io or any paid alternative. Compressing reduces the overall file size whilst retaining image quality.
-
Compress Multiple Images: Compress many images simultaneously by uploading them in a batch, compressing them as a whole, and downloading them as a zip file.
-
Upload the Compressed Images: After compressing all images, upload them to the media library. New images should be around 60-80% smaller.
These are two ways to optimize images in WordPress using Directadmin. The plugin method is easier to manage when dealing with dozens of images, while manual optimization allows for more granular control of image quality and file size.
-