Hello I am using a java based image uploader called aurigma, and setting it up using php code.
I have some resizing options that can be set on width or height.
I want to do a check where I say:
If ((image I am uploading width) > (image I am uploading height)){
$converter->setThumbnailFitMode("Width");
}else{
$converter->setThumbnailFitMode("Height");
}
How do I check the file size that I am uploading to aurigma and set conditions based on this. i.e.
Have a look at: http://php.net/manual/en/book.image.php.