hi All
FCKeditor is definitely the most powerful opensource WYSIWYG editor.
Thank you to the FCKeditor team.
My question has been posted here by others before but no satisfactory answer to date.
How to tweak FCKeditor so that it will automatically resize the display width of the
image on the page (if the image exceeds a maximum limit)?
That is, I am not talking about reducing the file size of the image before uploading
or uploading the actual image and creating a small filesize image for display (which would be
ideal).
Rather, I am referring to the html display size, e.g., <img src="image.jpg" width="200" height="150">
Right now, the user has to manually modify the width and height.
Wouldn't it be nice, FCKeditor can automatically reduce the width if it exceeds a pre-defined limit.
For example, if the width the upload image is 1000 pixel, FCKeditor will reduce it to 600 pixel.
Of couse, the aspect ratio of the image should be kept intact.
This way, uploaded images will not cause havoc to the page display.
Thank you.
cmgui
FCKeditor is definitely the most powerful opensource WYSIWYG editor.
Thank you to the FCKeditor team.
My question has been posted here by others before but no satisfactory answer to date.
How to tweak FCKeditor so that it will automatically resize the display width of the
image on the page (if the image exceeds a maximum limit)?
That is, I am not talking about reducing the file size of the image before uploading
or uploading the actual image and creating a small filesize image for display (which would be
ideal).
Rather, I am referring to the html display size, e.g., <img src="image.jpg" width="200" height="150">
Right now, the user has to manually modify the width and height.
Wouldn't it be nice, FCKeditor can automatically reduce the width if it exceeds a pre-defined limit.
For example, if the width the upload image is 1000 pixel, FCKeditor will reduce it to 600 pixel.
Of couse, the aspect ratio of the image should be kept intact.
This way, uploaded images will not cause havoc to the page display.
Thank you.
cmgui
Re: how to limit the display size of image automatically?
Are there any developments or ideas on this out there?
G
Re: how to limit the display size of image automatically?
to your stylesheet
Re: how to limit the display size of image automatically?
Hi Alfonsoml ,
Nice idea. Trouble is the max-width property is not supported by Internet Explorer (up to 7 and possibly 8 too).
G
Re: how to limit the display size of image automatically?
If you like any other solution you might need to code it (it will be quite easy)
Re: how to limit the display size of image automatically?
hi can you please let me know in which file i can set this.
in which stylesheet