[Koha-bugs] [Bug 3091] Problem uploading patron image.

bugzilla-daemon at liblime.com bugzilla-daemon at liblime.com
Wed Jun 10 07:07:32 CEST 2009


http://bugs.koha.org/cgi-bin/bugzilla3/show_bug.cgi?id=3091





--- Comment #9 from Muhammad Wasim <cmwasim at gmail.com>  2009-06-10 05:07:32 ---
The Image.PM file in the GD directory should have the "newFromJpeg" routine
defined as:

sub newFromJpeg {
    croak("Usage: newFromJpeg(class,filehandle,[truecolor])") unless @_>=2;
    my($class) = shift;
    my($f)     = shift;
    my $fh = $class->_make_filehandle($f);
    binmode($fh);
    $class->_newFromJpeg($fh, at _);
}

Also, check the GD version it should be 2.27. If its missing the above
mentioned routine, try pasting the above code in image.pm or reinstalling the
GD.


-- 
Configure bugmail: http://bugs.koha.org/cgi-bin/bugzilla3/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the Koha-bugs mailing list