by default, fckeditor will accept all kind of image size we upload, and sometimes the image is too big by width or height. Is there any tricks to prevent this? Let say if the image width is more than 500px, then reduce the width to 500px automatically. Thx in advance.
Wed, 09/24/2008 - 05:10
#1
Re: resize image
Re: resize image
Did you have any luck?
Re: resize image
its probably not the cleanest code but it works for resizing jpegs, pngs and gifs, see below. the part added is in a block marked with a /**...***/:
this is for FCKeditor version 2.6.4
Re: resize image
what if the file isn't an image?