When started blogging, I was not aware about the image file's size, and used a lot wider and sharper images without necessity, some of the files are even 5-7mb in size. As there's no such necessity to using such a large file, even the end-user have to wait for a long time loading such images.
I know I can replace images via WordPress Media Library, but to replace images, I have to upload a new resized, squeezed version of the image to the server and then to delete the older one. Now I got another nice solution — using the Media Library Image Edit option:
With this, I can rescale the image, suppose an image originally was of 1830 × 2619, now I want it to recale to 629 × 900, then I can easily do it.
But, I was actually doing it to reduce the file size (with its dimension) to make a big difference in the occupied Server Disk Spaces. But after the rescale there's a dropdown panel on the right saying:
Restore Original Image
Discard any changes and restore the original image. Previously edited copies of the image will not be deleted.
Restore Image
That seriously means:
- The Original file still resides there (so the original disk space still remains)
- There's a newly sized image added there (additional disk space is occupied)
But I's actually trying to replace the Original with the newly scaled image. Is that possible?
The problem is, after the rescale, I can easily delete the Original using Cpanel, but isn't that cause many other db path errors and db errors that, the Original file is missing?
I'm actually in an unanswered and uncertain state, I'm afraid. :(