Last modified: 2010-05-15 15:38:28 UTC
== Thumbnail Help== I have this same code on my own wiki page and it doesn't work! I'm using 1.5. It doesn't show the a thumbnailed image when I use the "thumb" option. There's just a red X where the image should be showing up. Is there some option I didn't set? Thanks. <pre>[[Image:Cafe_Lipstick.jpg|thumb|191px|left|Sample thumbnail]]</pre>
What is your environment? Are you using GD Library ? This might be a duplicate of bug#2720
(In reply to comment #1) > What is your environment? Are you using GD Library ? > This might be a duplicate of bug#2720 I'm using Windows XP, Mediawiki 1.5beta3, PHP Version 3.4.0 (from the TSW package TSW_3.4.0.exe on sourceforge). Can I do anything in my current environment to fix the problem? Or do I need to download a new PHP? Thanks for the help.
Also, it looks like GD is enabled (I see the line "extension=php_gd2.dll" in my php.ini).
(In reply to comment #2) >... > I'm using Windows XP, Mediawiki 1.5beta3, PHP Version 3.4.0 (from the TSW package TSW_3.4.0.exe on sourceforge). Can I do > anything in my current environment to fix the problem? Or do I need to download a new PHP? Thanks for the help. >... The Saint WAMP (TSW) 3.4.0 has recent enough components: Apache 2.0.50, MySQL 4.0.20, PHP 5.0.0. Did you see Ashar's first suggestion in bug 2848 comment 1 ? Are thumbnail files appearing in the "images" sub-folders ? Can you check the PHP error_log ?
Yes I saw his comment. I installed ImageMagick and changed the approproate lines in LocalSettings.php to enable it. But still have the same result. The images are not being generated in "images" subfolders. As a result I see the following errors in the error log: [Thu Jul 14 09:18:59 2005] [error] [client 132.224.125.91] File does not exist: C:/Program Files/TSW/Apache2/htdocs/mediawiki/images/thumb/a/ad/100_0170.JPG/191px-100_0170.JPG, referer: http://132.228.122.89/mediawiki/index.php/Brad%27s_Playground
My LocalSettings.php looks like this: $wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "C:\\Program Files\\imagemagick-6.2.3-q16\\convert.exe";