Download & Extend

Upload images with Image Assist but edit them using TinyMCE

Project:Image Assist
Version:6.x-3.x-dev
Component:Wysiwyg API Plugin
Category:support request
Priority:normal
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

I'm not sure if this is a question for Image Assist or WYSIWYG module...

I need to simply upload an image, attach it to the TinyMCE editor interface and let the user edit it (resize, align...) via the editor interface, but I don't know how to do this.

Currently I have those modules installed:

  • Wysiwyg 6.x-2.0, with TinyMCE 3.2.7
  • Image 6.x-1.0-beta3
  • Image Assist 6.x-3.x-dev

I can upload an image via the camera button in the TinyMCE toolbar, and the Image Assist's interface lets me choose some styling options (resize, align...). Then the image is correctly added to the TinyMCE interface and I can edit it again (resize, align...). But when I save the node, the image settings are always taken from Image Assist, and all the editing done through the TinyMCE interface is lost.

How can I fix this behaviour?

Thank you.

Comments

#1

Project:Wysiwyg» Image Assist
Version:6.x-2.0» 6.x-3.x-dev
Component:Editor - TinyMCE» Wysiwyg API Plugin

This is an Image Assist issue since the conversion between the IA filtertag and the placeholder used in WYSIWYG mode is done by a "Drupal plugin" for Wysiwyg module, implemented in img_assist/plugins/img_assist/img_assist.js. Moving this issue to that queue.

Resizing should work, but alignment is a bit tricky since TinyMCE sets it using style="align:left/right/center;" and the plugin reads it into the generated filtertag by looking at the placeholder's align="left/right/cente" attribute. I guess the plugin could be made to use object.style.align</a> above <code>object.align, but I'll leave that up to the IA guys to decide.

If I remember correctly, there's also a bug which shows up in IE where the plugin simply fails to read the properties from the placeholder and falls back to displaying the tumbnail size.

#2

I am having the same problem, have u managed to find a solution yet? TinyMCE and image assists just dont go all that well together apparently =/

I was previously using IMCE with TinyMCE, it all worked fine except for the fact that the IMCE interface was a real pain to use.

#3

I just abandoned the WYSIWYG module to use the FCKeditor module, which I found really easier to setup.

#4

Dose image assist work with the FCKeditor module though?

I have ironed out most of the kinks i was getting with TinyMCE and image assist but if there is a better option out there, i wil gladly swap over.

#5

It works well for me, but I have no idea if there are better solutions around...

#6

Status:active» closed (won't fix)

Sorry, but images embedded with Image Assist were never supposed to be editable.

nobody click here