>>
|
No. 71007
>>71006
Try this, on the next code:
if (!$this->isreply) {
if (!createThumbnail($this->file_location.".tmp", $this->file_thumb_location, KU_THUMBWIDTH, KU_THUMBHEIGHT)) {
exitWithErrorPage(_gettext('Could not create thumbnail.'));
}
} else {
if (!createThumbnail($this->file_location.".tmp", $this->file_thumb_location, KU_REPLYTHUMBWIDTH, KU_REPLYTHUMBHEIGHT)) {
exitWithErrorPage(_gettext('Could not create thumbnail.'));
}
}
Comment the first if inside of the if brackets, in other words, replace it for:
if (!$this->isreply) {
/*if (!createThumbnail($this->file_location.".tmp", $this->file_thumb_location, KU_THUMBWIDTH, KU_THUMBHEIGHT)) {
exitWithErrorPage(_gettext('Could not create thumbnail.'));
}*/
} else {
if (!createThumbnail($this->file_location.".tmp", $this->file_thumb_location, KU_REPLYTHUMBWIDTH, KU_REPLYTHUMBHEIGHT)) {
exitWithErrorPage(_gettext('Could not create thumbnail.'));
}
}
|