$suffix in Media.php
-
Hi all,
Bit of a weird request, this one. I would like to change the suffix that WordPress inserts when creating thumbnail and medium image sizes. I had a look at media.php in the wp-includes folder and found that this variable ($suffix) is declared on line 360:
$suffix = “{$dst_w}x{$dst_h}”;
Instead of having the new image widths and heights inserted into the name ($dst_w and $dst_y) I would just like to have “thumb” and “medium” i.e. when uploading “image.jpg” wordpress creates “image-thumb.jpg” and “image-medium.jpg”.
Hope that makes sense.
Any help, as ever, would be greatly appreciated.
Cheers.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘$suffix in Media.php’ is closed to new replies.