Hi,
I try to limit the size of uploaded image to a maximum of 1600 px, but I don't get it... :-(
That's what I have so far:
class WebImage extends Image {
protected function onBeforeWrite() {
parent::onBeforeWrite();
$this->SetRatioSize(1600, 1600);
}
}
Thanks for any help.
Best, Mario