Closed (fixed)
Project:
Image
Version:
4.6.x-1.x-dev
Component:
gd toolkit
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Feb 2005 at 21:33 UTC
Updated:
1 Jun 2007 at 10:32 UTC
I'm running 4.5.0 and GD2. My image gallery will not upload jpegs, when I try to create content > image or directory upload them it will not work. It seems to have no problem with .gifs. When I try to upload a .jpg it is similar to how others describe their problems in this forum.
Nothing happens at all, no logs no blank page. It just attempts to connect to the site and then just shows Done.
Comments
Comment #1
autowitch commentedProblem seen in 4.6.0 as well.
Appears to come from a problem in calling the toolkit's (gd in this case) resize function. I'm still researching this.
Comment #2
walkah commenteddoes your GD have JPEG support enabled? This si fairly easy to check... create a PHP file as follows:
phpinfo();then check the "GD" section of that output to make sure JPEG reads "enabled".
Comment #3
profpek commentedhi running drupal 4.6.3 with php5 and gd2. could nt post anything except png and gifs. till a came a cross a post mentioning jpeg not jpg. opened up image.inc and there is the following line
$extensions = array('1' => 'gif', '2' => 'jpg', '3' => 'png');simply change to
$extensions = array('1' => 'gif', '2' => 'jpeg', '3' => 'png');and everything workedhope this is of some help
Pek
Comment #4
Texta commentedHi
I've got the same problem. Tried profpeck's suggestion of making that change in image.inc, but I still can't upload jpgs.
From phpinfo...
PHP Version 4.3.11
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with TTF library
JPG Support enabled
PNG Support enabled
WBMP Support enabled
Ideas?
Comment #5
guardian commentedIt works with 5.1 version
Comment #6
(not verified) commented