Closed shahzadthathal closed 8 years ago
Show me var_dump($this->crop_info)
;
in my case i had this error when i sumbit my form without cropping the image after the load. What's the better way to avoid it? For now i put hidden submit button and when the user click on crop, i show it using jquery.
@Lordfef,
if (!empty($this->crop_info[0])) {
// crop image
}
thank's @bupy7 i think also your solution, but i think is better to manage it client side before validation. It's possible?
@Lordfef add this code in a custom validator
The reason for closing: No answer.
I got this issue:
Undefined offset: 0