[wp-hackers] Method for adding additional percentage values to image editor?

Otto otto at ottodestruct.com
Tue Apr 30 22:38:27 UTC 2013


On Tue, Apr 30, 2013 at 3:14 PM, Josh <joshua.sibelman at gmail.com> wrote:
> I'm looking for a way to add additional options to the image editor's percentage reduction buttons. Currently the smallest is 60%, but 50% would be very useful for those of us working with high-density images for Retina displays. I haven't been able to find anything in the Codex for modifying this.
>
> Any ideas?

Those are hardcoded into
/wp-includes/js/tinymce/plugins/wpeditimage/editimage.html .

-Otto


More information about the wp-hackers mailing list