Last modified: 2010-05-15 15:38:28 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
Bug 2850 - Thumbnails don't work?
Thumbnails don't work?
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
File management (Other open bugs)
1.5.x
PC Windows XP
: Normal major (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2005-07-13 19:27 UTC by Brad
Modified: 2010-05-15 15:38 UTC (History)
0 users

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


Attachments

Description Brad 2005-07-13 19:27:41 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>
Comment 1 Jan Eglinger 2005-07-14 03:28:26 UTC
What is your environment? Are you using GD Library ?
This might be a duplicate of bug#2720
Comment 2 Brad 2005-07-14 12:27:45 UTC
(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.
Comment 3 Brad 2005-07-14 12:43:03 UTC
Also, it looks like GD is enabled (I see the line "extension=php_gd2.dll" in my php.ini).
Comment 4 Zigger 2005-07-14 13:02:19 UTC
(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 ?
Comment 5 Brad 2005-07-14 13:30:40 UTC
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
Comment 6 Brad 2005-07-14 13:44:15 UTC
My LocalSettings.php looks like this:

$wgEnableUploads		= true;
$wgUseImageResize		= true;
$wgUseImageMagick               = true;

$wgImageMagickConvertCommand = "C:\\Program Files\\imagemagick-6.2.3-q16\\convert.exe";

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


Navigation
Links