In the 0.9.3-3 version of File.php, the makeThumbnail()
function doesn't really work with GIF files (because GD
doesn't support writing them). I fixed this by saving
thumbnails of GIF files as JPG files (with
appropriately changed extension). I also added an
optional flag to calling parameters to request
replacing the original file with the thumbnail if
desired. (A useful capability when uploading images
from unsophisticated users.) This flag is initialized
to FALSE to avoid conflict with existing code. This
patch is NOT relative to the CVS version but to the
0.9.3-3 version of File.php (which might be the same, I
don't know). It tests fine as a replacement for the
original makeThumbnail as used by the photoalbum
module. I haven't tested the replace file capability yet.
Patch file with new makeThumbnail
Logged In: YES
user_id=398373
The replace file capability works fine. Testing complete.