1
khchung
bug report: image height checking
  • 2004/3/11 8:32

  • khchung

  • Just popping in

  • Posts: 3

  • Since: 2003/7/24


I am not sure whether this is reported or not, but I can't find this after performing a search.

Xoops 2.0.6 checks image height against the width limit. In class/uploader.php:

Quote:
function checkMaxHeight()
{
if (!isset($this->maxHeight)) {
return true;
}
if (false !== $dimension = getimagesize($this->mediaTmpName)) {
if ($dimension[1] > $this->maxWidth) {
return false;
}
} else {
trigger_error(sprintf('Failed fetching image size of %s, skipping max height check..', $this->mediaTmpName), E_USER_WARNING);
}
return true;
}


Login

Who's Online

328 user(s) are online (184 user(s) are browsing Support Forums)


Members: 0


Guests: 328


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits