Project:Support desk/Sections/Images

__NEWSECTIONLINK__ = Image Support =

images not working at all suddenly
I am an architecture professor and not a php/web/wiki guru and so am really stuck. last year my architecture studio made a really great wiki with literally thousands of images on it. the wiki still works except that NONE of the images appear now. No thumbnails show up, just the image name, and when you try to bring that image up i get the following error message: Not Found The requested URL /images/Wikisplashbeach.jpg was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Its strange as the wiki worked one day and then the next day this happened and nothing had actually altered the wiki.

As I said, i dont know how to do much in terms of scripting so any help would be appreciated. —70.140.186.159 23:26, 21 November 2008 (UTC)


 * Enable $wgHashedUploadDirectory. —Emufarmers(T 07:40, 22 November 2008 (UTC)


 * ah, ha, that was uncommented but set to false. I commented it and while the images do not show, at least not when I dig down to the image page the image will appear. but it still does not appear in the wiki page itself. Now altering that setting does not seem to have any effect.

Zu große Dateien "magick" werden abgelegt (German)

 * MediaWiki version: 1.10.1
 * PHP version: 5.2.6
 * MySQL version: 5.0.37
 * URL: http://www.wikiwaldhof.de

Hallo, habe ein Megagroßes Problem und mein Provider will mir sogar kündigen wenn ich dieses Problem nicht behebe. Habe eine MediaWiki-version 1.10.1 mit ca. 10.000 Seiten und 2.300 Bilder.

Mein Account wurde von goneo inzwischen schon bestimmt zum 20 mal gesperrt, weil übergroße Dateien im Temporären Verzeichnis /tmp (Linux) abgelegt werden.

So wie es ausschaut sind dies Dateien von ImageMagick

Beispiel: > -rw--- 1 12242f422 wheel 1.5G Oct 8 04:48 magick-IoHUlkZS > -rw--- 1 12242f422 wheel 1.5G Oct 8 04:47 magick-PqaESSJn ...

Ich weiß wirklich nicht wo diese herkommen und wie ich das Problem beseitigen kann. Hat jemand eine Idee für mich??? Kann ich zum Beispiel auch die neuste Version installieren so das meine Daten nicht verloren gehen? Es war ja schließlich sehr viel arbeit, die auch umfangreich genutzt wird.

components vom mediawiki: Ald-Hjl-Koord-de.kmz Call Cite DynamicPageList EmbedURL.php ExtensionFunctions.php Inputbox ParserFunctions Picasa2 Picasa2.php Player RateArticle.php Ratings SearchSuggest Wgraph WikiChat.php YouTubeTag.php audio-player audio-player.php dewplayer.swf firestats firestats-mediawiki.php flashmp3.php gallery googleVideo.php lmo mp3.php tab5.php urlify.php wikipdf

Ich würde Euch sehr danken.

Viele Grüße Stefan —194.5.134.185 13:03, 28 November 2008 (UTC)

Blank images not being handled correctly.

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.5
 * MySQL version: 4.1.22-max-log
 * URL: http://www.recipesrealm.com/wiki

Hi, I have installed mediawiki to my site using my server's, Affilorama, auto-installation, but it is not handling image files as it should. I have made the "image folder" writable and set $wgEnableUploads = true; I have altered very little else so it should be working correctly. Images can be uploaded, but the blank frame which should appear if the named image does not exist is not. The blank frame which I refer to is the one which links to the upload screen with the message "No file by this name exists, you can upload it." I have tried many ways to resolve this issue and have just completed a re-installation.

Any help would be greatly appreciated.

Many thanks, Colin —89.242.245.151 13:01, 11 December 2008 (UTC)

Add external images

 * MediaWiki 1.13.2
 * PHP 5.2.6 (cgi)
 * MySQL 5.0.67-log

I've been trying to add external images with a hyperlink to affiliates. I've yet to enable external linking, but uploaded the banner and added:



But for some reason, link= shows up in the title. I've checked wiki logs and such and tried others like click or click-url... i've tried adding the url in quotes but no luck.

Have i missed a setting?

—216.221.84.194 21:15, 12 December 2008 (UTC)

(RESOLVED) passthru disabled

 * MediaWiki version: 1.13
 * PHP version: 5
 * MySQL version:4.1.12
 * URL:

My hosting provider disabled 'passthru' function and I am getting the following warning message when I try to include an thumbnail using the following syntax

Warning: passthru has been disabled for security reasons in ////includes/GlobalFunctions.php on line 2030

How to thumbnail without using this function

Thanks in advance

PS: exec is also disabled

—59.160.174.12 13:34, 6 January 2009 (UTC)

In LocalSettings.php; set $wgUseImageMagick = false.

Thumbnail images not being displayed correctly.

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.5 (cgi)
 * MySQL version: 4.1.22-standard-log
 * URL: internal

Can someone please help me or direct me to the correct area.

I am displaying thumbnail images of .png files and they are being displayed incorrectly. The top 10% (approx) of the thumbnail image is white and the bottom 10% is gone. A sample can be found here http://www.darrenw.net/badthumb.JPG  I have coloured the white bit in red. When you compare the thumbnail with the full image you can see the bottom bit is gone. Its like the image has been moved down during the thumbnail creation.

The image is a .png file 640x512.

I am displaying the thumbnail like this:



Can someone please help or provide me with some clues as to what's going on.

Thanks in advance, Darren.

—203.134.124.36 02:37, 7 January 2009 (UTC)

(RESOLVED) Image Linking Problem

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.0-8+etch13 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch8-log
 * URL: http://cabsav.grapevinenet.com.au/kb/index.php/Main_Page

Hey guys, I can't create a hyperlink link from any of my images.

I tried following the instructions here but the images keep being linked back to themselves.

Code I have tried include the following:





Am I missing a plugin or something?

Thanks for all your help

—Mickeylieu 03:01, 15 January 2009 (UTC)


 * The link parameter is only available in MediaWiki 1.14+. Use the Click extension, upgrade to SVN, or just wait until 1.14 is released (should be any day now). —Emufarmers(T 06:18, 15 January 2009 (UTC)


 * That is awesome, thanks man!!! :D Mickeylieu 04:20, 21 January 2009 (UTC)

(RESOLVED) upload page

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.6
 * MySQL version: 5.0.51a
 * URL: http://www.zonstraal.be

Can somebody tell me where to change the value, "500MB" on the "Special:Upload" page? This is after the text "maximum uploadsize" I search everywhere but can't find it.

Thanks in advance. Jan Bakker (B)

—94.110.29.6 17:29, 18 January 2009 (UTC)


 * The value is automatically set to $wgMaxUploadSize or upload_max_filesize, whichever is smaller. The value should automatically accurately represent the maximum size of uploads, but if you want to hardcode it, change the $1 in the MediaWiki:Upload-maxfilesize system message. —Emufarmers(T 20:50, 18 January 2009 (UTC)

Click Images to Page Within Category, Not Image Page

 * MediaWiki: 1.10.1 (upgrading to 1.14 when out)
 * PHP: 5.2.6 (apache2handler)
 * MySQL: 5.0.67-standard-log
 * URL: http://www.masa.asn.au/masawiki/index.php/Main_Page

What I would like to do is generate a list of images, which you then click on and it takes you to a page. I see this will be added to the core of 1.14. However, I would really like to be able to do this via categories, as it would make it much easier to maintain the list long term, as things change, need to be updated etc. Something like you add the category to the image, then within that tag you put the page you want it to link to when you click on the image thumbnail displayed within the category list. Does that make sense? — Dr DBW |  talk  00:19, 22 January 2009 (UTC)


 * Thinking about it further, it seems that if the image linking was available within the gallery tag, that would be good as well. Anyone know if that is possible?  Just going to have a search around myself now. -- Dr DBW  |  talk  23:04, 22 January 2009 (UTC)

(RESOLVED) Link a article with a picture

 * MediaWiki: 1.13.2
 * PHP: 5.2.0-8+etch13(cgi-fcgi)
 * MySQL: 5.0.32-Debian_7etch8-log
 * URL:

Hi I'm trying to link a article with a picture. I think the right command must be. But it still open the pictures information instead of the link to the "main-page". thanks for help


 * See three threads above:
 * "The link parameter is only available in MediaWiki 1.14+. Use the Click extension, upgrade to SVN, or just wait until 1.14 is released (should be any day now). —Emufarmers(T 06:18, 15 January 2009 (UTC)"
 * -- :bdk: 09:08, 22 January 2009 (UTC)

Empty textfield after save or preview with MSIE

 * MediaWiki: 1.13.2
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.45-community-nt-log
 * Windows Server 2003
 * URL: (internal wiki)

When I try to edit an save a page with MSIE, I sometimes (about 50%) get after clicking on 'Save page' an edit page with no content in the wpTextbox1. The same happens sometimes when clicking 'Show preview'. It never happens with Firefox.

80.67.144.184 13:55, 28 January 2009 (UTC)