if I add this code in my theme function.php
add_image_size('thumb' , 130, 65, true ); // Thumb
add_image_size('max' , 610, 305, true ); // Maximum
add_image_size('min' , 270, 135, true ); // Minimum
…the file names of uploaded images is:
- photo-name-130x65.jpg
- photo-name-610x305.jpg
- photo-name-270x135.jpg
- photo-name.jpg
How can I rename them to the following (by default)?
- photo-name-thumb.jpg
- photo-name-max.jpg
- photo-name-min.jpg
- photo-name.jpg
And if someone wonders why I want to do this is because: If in the future I decide to change theme, logically I might change because of the new theme the dimensions of the photos. So for what reason should I create too many dimensions when I can just replace them from the original, without taking to much space and so I won't delete the previous sizes and create 404 error in the indexing of the photos in Google.