Under the dialog "Image properties", select "appearance" then "alignment".
Select "right" for example.
Look at the HTML code: Only local images are allowed.
align="right" is missing

Comments

rgraves’s picture

I'm also having this problem. Didn't have this problem when I was using Drupal 5.

rgraves’s picture

I figured it out. It was adding it to the 'style' attribute (e.g. style="float: right;") instead of the 'align' attribute (e.g. align="right").

I added 'style' to the list of valid elements in tinymce/plugin_reg.php:

$plugins['advimage']['extended_valid_elements'] = array('img[class|src|alt|title|hspace|vspace|width|height|align|style|onmouseover|onmouseout|name]');

Alternatively, if you want it to use 'align' instead, you can add this line to the plugin_reg.php file:

$plugins['advimage']['inline_styles'] = array('false');
nicoloye’s picture

Issue summary: View changes
Status: Active » Closed (outdated)