I was wondering if it is possible to modify the way WordPress handles image uploads. If I upload an image now, the default filenames for the various sizes include the dimensions, something like the following:
image-100x100.jpg
, image-300x300.jpg
, image-600x600.jpg
, and image.jpg
.
While this may be useful in some cases, I need these file names to be a bit more versatile, something like the following:
image-thumb.jpg
, image-medium.jpg
, image-large.jpg
, and image.jpg
.
Does anyone have any ideas how I could accomplish this? Thank you for reading. As always, any ideas or suggestions are appreciated.
You may be able to use WordPress’ native post images, for which you can define resize dimensions using
add_image_size
. I think this is a 3.0+ feature.