TinyMCE remove-base-64-image

"TinyMCE remove-base-64-image" immediately removes images dropped into the TinyMCE editor with Firefox and alerts the user with the reason.

Author:Jon Collier (profile at wordpress.org)
WordPress version required:3.5.1
WordPress version tested:3.5.2
Plugin version:1.0.2
Added to WordPress repository:22-03-2013
Last updated:03-07-2013
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:0
Rated by:0
Plugin URI:http://www.pixeltiger.co.uk/plugins-public.ht...
Total downloads:1 379
Active installs:10+
plugin download
Click to start download

Firefox allows a user to drag and drop an image from their desktop into the TinyMCE editor (Visual), where it is immediately converted to base64 code, which is undesirable as the image file size is much larger than the equivalent added by the standard WordPress method because...

  • base64 images are larger than binary images
  • WordPress would normally have 'crunched' the image to give various different sizes, including a thumbnail, all smaller than the original

To prevent this, "TinyMCE remove-base-64-image" contains a small piece of javascript that checks the TinyMCE editor every 1.5 seconds and immediately removes any base64 image found, also displaying an alert message:

'Sorry, dragging images into the editor is blocked as it will cause your webpages to load slowly, please use the "Add Media" button!'.

If you manage multiple WordPress sites this plugin will save you time checking if your clients are unwittingly crippling their page downloads.

A PixelTiger plugin.


Screenshots
FAQ
ChangeLog