Image resizing doesn't happen in JavaScript. In the editor, it appears that the image attributes for width and height are set; this tells the browser to load the full-sized image but to display it at the specified size. That occurs in the dialog/fck_image/fck_image.js script (at least...).
If you really want to resize the image, you'll have to customize the image upload PHP (or Python, or whichever uploader you're using...).
Hi. Yeah I have a system that checks resize parameters from the file name in the img tag, that's why I need to know where the fck resize action happens so I can manipulate the filename (src) of the tag. The script I'm piping all html through uses Imagemagick to do the resizing.
LesBarstow wrote:If you really want to resize the image, you'll have to customize the image upload PHP (or Python, or whichever uploader you're using...).
I think...
Excellent I was looking for the same thing. Any pointers as to how to do this or even where I can find the info?
Re: The JS for image resize
If you really want to resize the image, you'll have to customize the image upload PHP (or Python, or whichever uploader you're using...).
I think...
Re: The JS for image resize
Thanks!
Re: The JS for image resize
Excellent I was looking for the same thing. Any pointers as to how to do this or even where I can find the info?