I just want to know if it's possible to configure the editor to prevent him to use width and height attributes in his code when the image his using his default width and height.
I mean, let say I have an image that has a width of 640 and a height of 480. When I place it in the editor, without resizing the image in the editor, I want him to only write something like this in his code
But when I resize the image in the editor, I want it to put it's original code
The problem is that I made an image transformation applet, I want to let people resize/transform images right on the server ... but I want the changes to be applied right on the content in the editor unless the user defined a specific width and height within the editor.
If it's not possible to get a 'manner A and B' to function, I would then prefer the editor to prevent using width and height attributes at all, is that possible?
Thanks a lot.
I mean, let say I have an image that has a width of 640 and a height of 480. When I place it in the editor, without resizing the image in the editor, I want him to only write something like this in his code
<img alt="img alt text" src="path-to-image" />
But when I resize the image in the editor, I want it to put it's original code
<img width="specified-width" height="specified-height" alt="img alt text" src="path-to-image" />
The problem is that I made an image transformation applet, I want to let people resize/transform images right on the server ... but I want the changes to be applied right on the content in the editor unless the user defined a specific width and height within the editor.
If it's not possible to get a 'manner A and B' to function, I would then prefer the editor to prevent using width and height attributes at all, is that possible?
Thanks a lot.