This is a more advanced image dialog mostly based on code contributed by Michael Keck. This one supports mouseover/out image swapping.
Installation Instructions
- Copy the advimage directory to the plugins directory of TinyMCE (/jscripts/tiny_mce/plugins).
- Add plugin to TinyMCE plugin option list example: plugins : "advimage".
- Add this "a[name|href|target|title|onclick]" to extended_valid_elements option.
Advimage plugin options | |
advimage_styles | This option should contain a semicolon separated list of class titles and class names separated by =. The titles are the ones that get presented to the user in the styles drop down list and and the class names is the classes that gets inserted. |
advimage_update_dimensions_onchange | This option enables you to control if the image dimensions should be updated with new data if the image src field is changed. This option is enabled by default. |
Initialization Example
tinyMCE.init({ theme : "advanced", mode : "textareas", plugins : "preview" });