hello,
i have a question. is it possible to add default class to the image code. when i upload a picture to have img src... class=something?
i have a question. is it possible to add default class to the image code. when i upload a picture to have img src... class=something?

More specifically, I'm using Drupal and have been using FCKeditor for a long time. With FCKeditor, when I insert an image (IMCE), and select left align, the image is styled with align=left, etc. But ckeditor styles it with a float left.
I really don't want the floats, but, in any case, having images wrapped in classes would solve the problem just as well, probably better.
So where does this default come from and how can I change it?
Edit: just thought of a better search string and found this thread (viewtopic.php?f=6&t=23386&hilit=default+align+image) ... but it also has no replies.
here is described how to change default values for CKEditor dialog windows:
http://docs.cksource.com/CKEditor_3.x/Howto/Default_Field_Values.
In general you should write CKEditor plugin to do this and use code as described in above link.
I'm trying to change already-existing default formatting for images I insert via IMCE. Are you telling me I need to hack the IMCE plugin?
U can try to do this by following config option:
http://docs.cksource.com/ckeditor_api/s ... ifyClasses
It should work also for images... If not pls write then i will try to find another solution for it.
Greetings