every use of drupal_get_path() or url() in insert_image.php creates incorrect paths.
the use of drupal_get_path() in htmlarea.module:
case 'uploadimage':
$popup = drupal_get_path('module', 'htmlarea') .'/plugins/UploadImage/popups/insert_image.php';
$output[] = " editor.registerPlugin('$plugin', '$popup');";
break;
outputs an incorrect path.
In short, the insert image plugin does not work at all with drupal 4.7.
as well, this line in insert_image.php:
<script type="text/javascript">
<!--
window.resizeTo(600, 100);
causes the pop up window to be 100 pixels high when it shold be at least 550px.
Comments
Comment #1
mtbman commentedIs there any chance of someone who knows what they are doing with this module makeing this work ?
Thanks
mtbman
Comment #2
gordon commentedI am getting rid of this plugin in favor of using img_assist
Comment #3
sopris commentedThis problem still exist, maybe htmlarea has been abandoned?
You can use img_assist with it, though the filters are never processed during preview. There is an error in the case statement.
As well, if youre tired of seeing htmlarea in the log field simply add the following to line:
old
new