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

153 user(s) are online (80 user(s) are browsing Support Forums)


Members: 0


Guests: 153


more...

Donat-O-Meter

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

Latest GitHub Commits