Not sure it's a bug or a feature request. The feature is currently 'semi-present' :-)

The tinymce plugin looks for the 'resizable' key in the asset macro to allow objects to be resizable.
Nothing sets this value currently, so no asset is resizable with tinyMCE (well, they are, but the dimensions snap back to the original size as soon as the asset is unfocused)

Attached patch adds a default 'resizable' flag along with the default 'width' and 'height' form elements in the wizard.
It also disables resizing for imagecache formats and mp3 players (and it also fixes the dimensions of the mp3 player to the correct 290x24px size that is generally recommended for the 1 pixelout player.

NB : the patch contains additional diff lines unrelated to the actual code changes - probably because of invalid line endings in asset_wizard.inc ?

CommentFileSizeAuthor
asset_resize.patch5.59 KByched

Comments

wmostrey’s picture

Status: Needs review » Fixed

Thanks again yched, this will be rolled out tonight.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

theorichel’s picture

1. In which version has this been rolled out? Nothing seems to have happened with a 5.x verson as far as I can see
2. Can I simply paste this code over the similar code in the modules?
3. I suppose upgrading to the Moxiecode 2.1 is no solution, this is a Drupal problem isnt it?

Many thanks

TR