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)

(RESOLVED) 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)


 * from the IRC channel I got the suggestion that the API may be able to help. Using that you can get wikitext of the new images page, so might be able to use that to generate the webpage.  Still looking into it. -- Dr DBW  |  talk  05:01, 6 March 2009 (UTC)

Image link in conjunction with frame

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.6
 * MySQL version: 5.0

I'm not sure if this is a bug or just I'm missing something. If we want image with no link (external or file page) we use: However if we add the frame parameter it creates the link to the image page again like. In the documentation is says that link cannot be used in conjunction with thumb, as this is always meant to link to the larger version of the image. But how about using just frame with no thumb? I just want to have an image with caption and no link.

Thanks in advance! —Rocco08 18:46, 2 March 2009 (UTC)

(RESOLVED) Cannot Upload Some File Types

 * MediaWiki version: 1.14
 * PHP version: 5.26
 * MySQL version: 5.1.30
 * URL:

wiki 1.14 can not upload files suchs as *.zip, *.xlsx, *.docx. Please help. —153.108.64.1 07:29, 4 March 2009 (UTC)


 * Manual:$wgFileExtensions -- Dr DBW |  talk  00:47, 5 March 2009 (UTC)

Images which don't link anywhere.
Basically I have downloaded Click extension and I can link a picture to a article but I want a picture which does not link anywhere. Is that possible. 86.136.108.50 17:47, 9 March 2009 (UTC)


 * MediaWiki: 1.13.2
 * PHP: 5.2.8 (cgi-fcgi)
 * MySQL: 5.0.32-Debian_7etch8-log
 * Url: http://www.userdirectory.co.uk

Image specifications not working, the piping doesn't function.

 * MediaWiki version: 1.13.4
 * PHP version: 5
 * MySQL version: 5
 * URL: http://www.myrealestatetool.com/help

For some reason, when I try using pipes to format my images, like this:

I get an internal server error. If I just have demo1.jpg it works just fine. I need to be able to format the images to thumbnails and include alignment. What can I do to fix this?

—65.41.141.243 19:18, 9 March 2009 (UTC)


 * MediaWiki version: 1.10.1
 * PHP version: 5.2.0
 * MySQL version: 5.0.15
 * URL:

Hello,

I am using wiki for some time now, and it has become an important being in my organization. I was wondering though, if there is a way to keep all the images in the database instead of the Images folder, I was looking for a solution and found nothing yet, hopefully you can help,

Thanks.

—87.68.84.143 13:50, 18 March 2009 (UTC)

Adjust image to 100% of screen

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.8 (cgi-fcgi)
 * MySQL version: 5.0.32-Debian_7etch8-log
 * URL: http://www.hugs.no

I really need this!

Cause it's so many different PCs that are going to look at the Wiki. And it looks crazy at some!

—83.109.7.174 16:15, 24 March 2009 (UTC)

images in /images/ folder do not load

 * MediaWiki version: 1.14.0
 * PHP version: 5.2.5 (cgi-fcgi)
 * MySQL version: 5.0.51a-community-nt
 * URL: http://212.37.244.173/dnwiki.en

Using ftp, I uploaded a few images to the /images/ folder. I try to link on a page using: but it does not show the image. When I try to upload the same image it is showing in the document which I do not want. I run the maintenance script rebuildImages.php but still I am getting the problem.

Thanks,

—212.37.244.173 07:06, 15 April 2009 (UTC)

First and foremost, I am no expert, but I am just wondering why you are using ftp and not the "Upload file" link that comes with your MediaWiki. &mdash; PM Poon 17:32, 1 May 2009 (UTC)

Slideshow in MediaWiki

 * MediaWiki version: 1.13.3
 * PHP version: 5.2.6-5 (apache2handler)
 * MySQL version: 5.0.32-Debian_7etch6-log
 * URL: http://rafnem.hi.is/hiwiki/index.php/Main_Page

I am getting acquainted with MediaWiki in connection with a school information project. This is very promising and started me thinking of a wider application: Would it be possible to use MediaWiki for a photogallery, with thumbnails and slide show for all photos belonging to different categories?


 * 1) I have a collection of photos, say for the years 1942-1972.
 * 2) I put one photo in each article in the wiki, describing what is taking place, and categorizing it, by year, by name of the people seen in the photo and any other imaginable feature.
 * 3) If I after this choose the category "1957" all photos belonging to that category should be presented in a thumbnail gallery with the option of a slideshow and all or part of the description. If I choose the category "Vehicle" all photos in that category would be presented, ordered by year.

The same goes for many pictures in a single article. Even using the tag I can't see an easy way to move between the pictures, I have to back out of each one and drill down to the next.

—Icepalm 11:52, 19 April 2009 (UTC)

Error creating thumbnail: convert.exe: unable to open image :Permission denied @ blob.c/OpenBlob/2439

 * MediaWiki version: 1.14
 * PHP version: 5.2.4
 * MySQL version: 5.0.5
 * URL: http://mymoney.hatalasystemsgroup.com/Wiki/index.php?title=File:BWPositive.jpg

Been battling this for a few days now, it's been one thing after another. This is on Windows and IIS, as indicated by the error message. I seem to have run out of options I can think of/find. Any help would be appreciated.

—Chris 16:00, 20 April 2009 (UTC)

Hi Chris, I am no expert but I have encountered this problem before. Are you on shared hosting? If so, your webhost may not be allowing ImageMagick. Two of my webhosts use GD instead, in which case, you just need to set $wgUseImageMagick = false; and it will work fine. &mdash; PM Poon 17:26, 1 May 2009 (UTC)

$wgUseSharedUploads

 * MediaWiki version: 1.14.0
 * PHP version:  5.2.8
 * MySQL version: 5.0.77-community
 * URL: http://aseanpedia.com

Hi, I am operating multiple wikis and I think the use of $wgUseSharedUploads is a good idea. However, the instructions at Manual:$wgUseSharedUploads assume some background knowledge and are incomprehensible for a novice like me:

If you operate multiple wikis, you can define a shared upload path using $wgSharedUploadPath. If $wgUseSharedUploads is set, the wiki will look in the shared repository if no file of the given name is found in the local repository (for, [[Media:..]] links).

Thumbnails will also be looked for and generated in this directory.

Uploads to the wiki will NOT be put there - they will be put into $wgUploadDirectory.

Supposing I create a new wiki called imagewiki.com and a database called Imagedb:
 * How should I tweak my LocalSettings.php? Do I need to tweak both the LocalSettings.php for aseanpedia.com and also for imagewiki.com?
 * Can I use a "false" (unregistered) domain name? &mdash; PM Poon 17:21, 1 May 2009 (UTC)

Thumbs are not centered
Look here Help:Images and scroll down to "Thumbs". The picture and the text is not centered within the lighter area arround it. --Lastwebpage 20:05, 7 May 2009 (UTC)