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)

Easy way to rename image ?

 * MediaWiki version: any

May be its dumb question... i try to find any good path to rename some images in already installed and filled wiki and found nothing. As i know wikipedia use special bot for this task. I can't find any more specific info, bot courses etc.... and i not want bot, i want just button like "article rename". No... reupload not good way for me, one or two images can be reuploaded, 100 or 200 cannot :(

I try found any extension and again found nothing :(

—78.107.42.94 09:54, 30 January 2009 (UTC)


 * As a guess, would require a script to do this, that renames the files as well as changing the database. As for the wikipedia bot, you probably need to contact the person that runs the bot, or wrote it.  If you can track that one, they should be happy to help you out. -- Dr DBW  |  talk  05:08, 13 February 2009 (UTC)


 * Or just enable $wgAllowImageMoving. —Emufarmers(T 14:56, 13 February 2009 (UTC)

I can't display the Logo and images

 * MediaWiki version: 1.13.3
 * PHP version: 5.1.6
 * MySQL version: 5.022
 * URL: http://www.nspcommunity.net/wiki/index.php/Main_Page

(1) the Logo ($wgLogo) does not show in all the pages - I can see it only when I in the edit page.

(2) the icons in the Help:Contents page do not show up. This include the Languages icon at the bottom of the page.

(3) There are some other images which do not show up.

Thanks in advance.

Abe

—Amichelen 23:49, 3 February 2009 (UTC)


 * Set  —Emufarmers(T 02:55, 4 February 2009 (UTC)

Image are redirecting to Main page
My MW runs on php server with safe mode, which I can't turn off. I did things that are writen on Safe mode, now I can upload image, everything is OK, but when I click to name of uploaded image, I don't see picture, but it redirects me to my Main page. Where is the problem? —Jagro 23:08, 7 February 2009 (UTC)
 * MediaWiki version: 1.13.4
 * PHP version: 5.2.0-8+etch13 (apache2handler)
 * MySQL version: 5.0.60-enterprise-gpl-log
 * URL:

Problem with large image resizing

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.8-pl2-gentoo
 * MySQL version: 5.0.70-log
 * URL:

Sounds like I have a bug on my mediawiki setup, with thumb generation I guess.

I posted a large jpg of the logo of my school, and the resized image is clearly lacking some stuff ...

Original :

Resized :

I'm not using any kind of plugin that would modify the way mw is handling images.

Does anyone have a clue about what's going on ? Thank you.

—Bertrand.roussel 21:22, 9 February 2009 (UTC)

Editor Icons do not show up

 * MediaWiki version:1.13.3
 * PHP version: 5.1.6
 * MySQL version:5.0.22
 * URL: http://www.elthvcc.org/gswiki

I do not see the icons (images) (for Bold, Italic, etc.) in the editor. Also, I cannot see the icons in the Help page (Image:Geographylogo.png, Image:PD-icon.svg)

Please help.

Thank you.

Abe

—Amichelen 19:13, 15 February 2009 (UTC)

Problems with internal link option with embedded images
I am having problems linking to pages from embedded images in my project, when I do, even if the image is coded to link to a page, say the main page for example, it invariably links to the image page created when the image was uploaded. I have no interest in hotlinking, or inline linking, I just wish to redirect links from images to other internal pages inside my own wiki. Browsing the image pages for support with image link formats yields the following code: The above yields an embedded image with a hovering cursor caption"link=Pagename"
 * MediaWiki version: 1.13.4
 * PHP version: 5.2.5
 * MySQL version: 5.0.45
 * URL: n/a
 * Extensions: FCKeditor, Quiz

All I want to do is embed an image, and make the image itself a clickable link to another page inside my wiki. I've noticed that anything a I put after a pipe "|" is interpreted as a caption and is injected into the hovering tool tip, if I am not mistaken it is supposed to the "alt=" functionality. I would like to know if there is a line I need to uncomment, add or what ever I have to do make image links work properly, as well as use the rest of the piped image options such as: link= url= alt= The last one making it so the image doesn't link to anything I'd appreciate any help with this, and thank you in advance for your time

—76.113.135.28 19:29, 21 February 2009 (UTC)


 * Upgrade to MediaWiki 1.14. —Emufarmers(T 03:03, 22 February 2009 (UTC)

I did upgraded to 1.14 Emu, and it still doesn't work.


 * 1.14 has this feature and the markup you posted appears to be correct, so I don't see any obvious reason why it wouldn't work. Try purging the page, in case it hasn't re-parsed the markup since the update.  If that doesn't fix it, then you might want to try seeing whether it works with FCKeditor disabled. —Emufarmers(T 11:27, 25 February 2009 (UTC)

Recent Image Feed to Webpage
Anyone got ideas on how can set up a feed of recent images to a webpage? Have got something set up to collect recent edits and new pages http://www.masa.asn.au/masa/content/view/245/1/ and would like to have something similar for new images. -- Dr DBW |  talk  23:32, 25 February 2009 (UTC)