Last modified: 2010-05-15 15:48:15 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T11381, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 9381 - ImageMagick image resizing thumbnails fail on Windows
ImageMagick image resizing thumbnails fail on Windows
Status: RESOLVED WORKSFORME
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.9.x
PC Windows XP
: Highest normal (vote)
: ---
Assigned To: Nobody - You can work on this!
:
: 9382 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-03-22 12:52 UTC by Ahmad
Modified: 2010-05-15 15:48 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Ahmad 2007-03-22 12:52:15 UTC
Hi ... 
I have problem with resizing image ... when I use the script [[image:learn.jpg]]
it works fine and it shows the image with its original dimensions ... but when I
tried this [[image:learn.jpg|left|300px]] i got the following error:
"Incomplete GD library configuration: missing function imagecreatefromjpeg"

so I installed ImageMagick-6.3.3-Q16, and I put 
$wgImageMagickConvertCommand ="C:\Program Files\ImageMagick-6.3.3-Q16\convert.exe";
in the localsetting.php instead of 
$wgImageMagickConvertCommand ="/usr/bin/convert";

but now when its loading the page it just shows a rectangle (that there will be
an image) and after loading nothing appears... no image at all !!!!

waiting for your help 
regards,
Comment 1 Brion Vibber 2007-03-22 14:14:13 UTC
*** Bug 9382 has been marked as a duplicate of this bug. ***
Comment 2 Brion Vibber 2007-03-22 14:17:29 UTC
(changed summary for clarity)
Comment 3 Rob Church 2007-03-22 18:18:20 UTC
* Use double-backslashes in the path instead of singles, or convert to
forward-slashes
* Ensure that the user Apache runs as has read and execute permissions on the
convert binaries
* Ensure that the same user has read and write permissions on the thumbnail
directories
Comment 4 Ahmad 2007-03-23 11:31:45 UTC
mmmm.... But I'm using ISS 5 ... and where is that "convert binaries" in order
to set permissions ?!!
Comment 5 Rob Church 2007-03-23 15:42:53 UTC
(In reply to comment #4)
> mmmm.... But I'm using ISS 5 ... and where is that "convert binaries" in order
> to set permissions ?!!

Then check that the two users IIS uses (IUSR_*) have the permissions. The
"convert" binary can be found in the installation path for ImageMagick.
Comment 6 Ahmad 2007-03-24 03:41:30 UTC
(In reply to comment #5)
> (In reply to comment #4)
> > mmmm.... But I'm using ISS 5 ... and where is that "convert binaries" in order
> > to set permissions ?!!
> 
> Then check that the two users IIS uses (IUSR_*) have the permissions. The
> "convert" binary can be found in the installation path for ImageMagick.

* I'm sure that the converter works because when I opened the image/thumb
directory I       found thumbs with the sizes I've tried on.
* I gave permission for both the IUSR_*  and IWAM_* on both the Image directory
and the whole directory that contains the the "convert" ....
but unfortunately it still don't show any image and don't give me any error ...
just an empty rectangle with image size while loading ,and nothing after that ...!!!

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links