Hi,
I posted the same question already in the Mediawiki-Mailing group. But it seems that nobody has an idea. So here is my problem:
I want to show thumbnails of my images. What I do: * first upload an image * to show the thumbnail enter [[Image:myPic.jpg|thumb|alternative text]] Thats all, isn't it? But no thumbnail is shown, only a frame an 'alternative text' and the enlarge link! No picture at all!
I thought that it could be a configuration problem. In LocalSettings.php I have the following block:
## To enable image uploads, make sure the 'images' directory ## is writable, then uncomment this: $wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/segment/bin/convert";
When I enter '/usr/segment/bin/convert' on the webserver I get the following:
bash-3.1$ /usr/segment/bin/convert Version: ImageMagick 6.1.8 01/18/05 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC ...
This seems to me to be correct. So I guess it is no configuration problem.
Any idea? Can this be a PHP safe mode problem? Because I had some problems activating image uploads. I must run MediaWiki as cgi module. But I get no safe mode restriction error or something like this. Also the subdirectories in 'images' are existing and 777.
Thanks, MB
Problem solved! I manually cleared the cache of my browser => :-)
Thanks, MB
Martin Baumann schrieb:
Hi,
I posted the same question already in the Mediawiki-Mailing group. But it seems that nobody has an idea. So here is my problem:
I want to show thumbnails of my images. What I do:
- first upload an image
- to show the thumbnail enter [[Image:myPic.jpg|thumb|alternative text]]
Thats all, isn't it? But no thumbnail is shown, only a frame an 'alternative text' and the enlarge link! No picture at all!
I thought that it could be a configuration problem. In LocalSettings.php I have the following block:
## To enable image uploads, make sure the 'images' directory ## is writable, then uncomment this: $wgEnableUploads = true; $wgUseImageResize = true; $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/usr/segment/bin/convert";
When I enter '/usr/segment/bin/convert' on the webserver I get the following:
bash-3.1$ /usr/segment/bin/convert Version: ImageMagick 6.1.8 01/18/05 Q16 http://www.imagemagick.org Copyright: Copyright (C) 1999-2005 ImageMagick Studio LLC ...
This seems to me to be correct. So I guess it is no configuration problem.
Any idea? Can this be a PHP safe mode problem? Because I had some problems activating image uploads. I must run MediaWiki as cgi module. But I get no safe mode restriction error or something like this. Also the subdirectories in 'images' are existing and 777.
Thanks, MB _______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On 2006.01.22 12:20, Martin Baumann - mailsgetlost@web.de wrote:
Hi,
I posted the same question already in the Mediawiki-Mailing group. But it seems that nobody has an idea. So here is my problem:
I want to show thumbnails of my images. What I do:
- first upload an image
- to show the thumbnail enter [[Image:myPic.jpg|thumb|alternative text]]
Thats all, isn't it? But no thumbnail is shown, only a frame an 'alternative text' and the enlarge link! No picture at all!
...
Any idea?
I think it may need the size argument, at least the first time.
[[Image:my-pic.png|thumb|200px|alternative text]]
That is something to try.
Hope that helps.
Jim
Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
On 2006.01.22 12:20, Martin Baumann - mailsgetlost@web.de wrote:
Hi,
I posted the same question already in the Mediawiki-Mailing group. But it
seems that So here is my problem:
I want to show thumbnails of my images. What I do:
- first upload an image
- to show the thumbnail enter [[Image:myPic.jpg|thumb|alternative text]]
Thats all, isn't it? But no thumbnail is shown, only a frame an 'alternative text' and the enlarge link! No picture at all!
_______________________________________________ Wikitech-l mailing list Wikitech-l@wikimedia.org http://mail.wikipedia.org/mailman/listinfo/wikitech-l
I had a similar problem due to Apache's httpd.conf file having an alias for the /images/ folder. Removing or renaming the alias in the httpd.conf fixes that issue if that is the case for you.
John
wikitech-l@lists.wikimedia.org