Hello Lutz! I've been faced with similar problems. Basically, embedding images using the rich text editor currently has several problems:
* If using the upload feature, images are saved directly in binary properties within the website repository. To me, this is very ugly - these "property images" have no metadata, they don't show up in the adminCentral backend, and are generally a pain to deal with. * The fckEditor does not allow use of magnolia's "image variations" feature. This means that the embedded images will always be "full size", possibly scaled by the browser. You can't make use of magnolia's imaging module. * the integration in magnolia does not show previews when picking images, and does not allow upload into DMS. * fckEditor allows setting image attributes (border, height, width, style, etc...) that we don't really want to allow our editor's to touch. Also, the GUI is a little complicated for our editors, who are not all "power-users". * I'll repeat it once more: the fckEditor images have no access to metadata - there's no way to automatically set fields like "alt" or "title" on the embedded image, even when picking a DMS image with metadata. You can't automate WCAG or things like source-credits for photos in this way, which is an important requirement for us. * Finally, there are some bugs (like the one you mention), and fckEditor is a bit outdated anyway. I'm working on solving the problem by writing a new "ckEditor module", based on the newer CKEditor (fckEditor's successor). The new module works similarly to the old fckEditor module, but addresses the problems described above. It works together with an extended repository browser to allow image previews and DMS uploads. I have a first version which is about 50% there. This first version was written without modifying either magnolia or CKEditor, and has some shortcomings. In the next version, I plan to write a custom "magnolia-image" plugin for CKEditor, and a complete replacement for the current repository browser. I think this second version will then finally solve the problem in a nice way. If my project allows, I will share this version with the community. If you do anything in this direction yourselves, I would be very interested. Also, Magnolia 4.4 is slated to ship with its own "ckEditor" plugin (according to the planning on the Wiki :-) ), so I also wonder what the status on that is, and whether it might solve your problems. Regards from Vienna, Richard Unger -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von Lutz Hühnken Gesendet: Dienstag, 16. November 2010 20:38 An: Magnolia User-List Betreff: [magnolia-user] Image upload in fckEditor Hi all, I'm sorry if this is an FAQ but I did google for it and the results I found seemd out-dated (e.g. "http://wiki.magnolia-cms.com/display/WIKIARCHIVE/FCKEditor+image+upload"). The goal is to add inline images using the fckEdit rich text control. In Magnolia CE 4.3.8, I might add. Using "Browse Server" in the image selection pop-up allows me to select an image from the DMS, and after saving, it will be displayed in the paragraph edited. It will not be displayed in the dialog (in the rich text field) however, which makes deleting it difficult, previewing it in the rich text field impossible. I am not sure, but this seems to be what http://jira.magnolia-cms.com/browse/MAGNOLIA-3334 is about. Has anyone successfully managed to use images from DMS inline in rich text? If yes, please let me know how. Alternatively, using "image upload" could be an option. Now, in the magnolia-module-fckeditor there is a class info.magnolia.module.fckeditor.servlets.FCKEditorSimpleUploadServlet How do I configure Magnolia and fckEditor to use it? Thanks for your help, Lutz ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ---------------------------------------------------------------- ---------------------------------------------------------------- For list details see http://www.magnolia-cms.com/home/community/mailing-lists.html To unsubscribe, E-mail to: <[email protected]> ----------------------------------------------------------------
