I'm working on a part of a site which requires images to be strictly 200x160 pixels. How can I get ckfinder to enforce this if the user is intent on uploading files with a random aspect ratio?
I'll happily take any solution which either...
crops the uploaded image arbitrarily
rejects any file not in in the right aspect ratio (5:4)
rejects any file not exactly 200x160 pixels
I'm fine with coding a crop/resize in php (not so good with javascript) but I'm not sure where I can hook into to intercept the uploaded image.
I'll happily take any solution which either...
crops the uploaded image arbitrarily
rejects any file not in in the right aspect ratio (5:4)
rejects any file not exactly 200x160 pixels
I'm fine with coding a crop/resize in php (not so good with javascript) but I'm not sure where I can hook into to intercept the uploaded image.