[wp-hackers] specific file name for uploaded images - -small.jpg instead of 300x300.jpg
hi_word at hotmail.com
Thu Apr 17 03:57:46 UTC 2014
I would like to be able to save a file similar to how WP does, but instead of the file size at the end of the file I want specific words.
Best I can find via searching online is: https://codex.wordpress.org/Class_Reference/WP_Image_Editor
And frankly I don't know if this is right or much less how to use it. Even the examples online are not very flushed out.http://wordpress.stackexchange.com/questions/91038/how-can-i-use-wp-save-image-editor-file-filterhttp://qandasys.info/hook-for-saving-an-image-after-editing/
Basically, I want for a custom image size the file to save instead of -300x300.jpg to be -small.jpg
More information about the wp-hackers