I have a code to show an image and specific attributes like its width and height
echo $this->Html->image('../upload/industries/'.$cooperation->industry->logo, ['style' => 'max-width:100%;max-height:100%']);
list($width, $height, $type, $attr) = getimagesize("../upload/industries/".$cooperation->industry->logo);
echo $width."-".$height ;
The path value in getImageSize() is not working in my code, Please help me to solve it
thank you