Project:Support desk/Sections/Images

__NEWSECTIONLINK__

= Image Support =

Problems showing images on my new wiki
Pictures from Wikimedia Commons sometimes show, sometimes not. It is completely unpredictable. Very unsatisfacory indeed. Can somebody help? —87.104.58.186 08:49, 13 January 2010 (UTC)
 * MediaWiki version: 1.15.1
 * PHP version:
 * MySQL version:
 * URL: http://wikilinksworld.info


 * MediaWiki version:
 * PHP version:
 * MySQL version:
 * URL: http://wikilinksworld.info

Some of the images (from Wikimedia Commons) show, some don't. The pattern seems to be completely illogical and unpredictable. Am I really the only one to whom this has happened. What can the reason be. And how (if at all) can it be solved?

—87.54.18.7 11:04, 13 January 2010 (UTC)

Wikimedia Commons Image doesn't show in my wiki

 * MediaWiki version: 1.16 Alpha
 * PHP version: 5.2.12
 * MySQL version: 5.1.41-community
 * URL: http://115.20.149.56/Wiki

I changed source on this way in localsettings.php. but It's doesn't show image files from it.

—Badbread 14:28, 15 January 2010 (UTC)

Memory error

 * MediaWiki version: 1.13.2
 * PHP version: 5.2.3
 * MySQL version: 5.0.45
 * URL: Private

An uploaded image (2.16 MB) connot be displayed. It causes an Error

Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 19736 bytes) in C:\Web-Server-apache\xampplite\htdocs\RE-WO-WIKIENTW\includes\media\Bitmap.php on line 172

sometimes in Line 173! Since im not an expert, I haven't got a clue what I'm supposed to do. Or what that means anyway.

Please help! —93.122.64.71 15:24, 20 January 2010 (UTC)


 * You will need to raise PHP's memory limit. The memory limit is set in php.ini (as memory_limit) and possibly overridden in LocalSettings.php with ini_set('memory_limit', '20M'); Platonides 15:31, 20 January 2010 (UTC)

Pictures won't show after migration

 * MediaWiki version: 1.13.0
 * PHP version: 5
 * MySQL version: ?
 * URL: http://www.mycrazytaxi.com/Saipan/mediawiki-1.13.0/index.php?title=Hauptseite

Hello, I have a functioning wiki (http://www.uss-saipan.de/mediawiki-1.13.0/index.php5/Hauptseite). I wanted to migrate to another server, so I set up a database there, installed the same wiki-version and imported the text-data from the old one. Went well, everything is there. But not the pictures. In the old wiki I have them on the same server and only wrote "http://...." and the picture showed without problems. Now I have the wiki on another server and the pics on the old one, and it won't show anything, even if its the complete link. I tried to put one of the pictures up to the new server, same result. I set it directly in the images folder of the wiki - same. I used every possible combination with [[ and without, complete and not complete URL. No picture. Don't understand this, because it worked in the old wiki (and still works). I will migrate with my whole site to the new server, but until now, it seems, this does not solve the problem. Please help, sat for hours on this now.... thanks

—134.100.71.6 09:32, 27 January 2010 (UTC)

external links into sidebar column
I can I make external links in the sidebar/toolbox column? —82.173.153.235 11:35, 10 February 2010 (UTC)
 * MediaWiki version: 1.12.0rc1
 * PHP version: 5.1.6 (cgi)
 * MySQL version: 5.0.77mm0.1-log
 * URL: http://www.spiriwiki.com/

Images not displaying

 * MediaWiki version: 1.10.1
 * PHP version: 5.2.9
 * MySQL version: 5.0.89
 * URL: http://www.futurenovo.com

A recent failed upgrade of cpanel broke my installation, requiring a reinstall of perl and mysql. Following this, images no longer displayed on my wiki pages – they just show as the namespace and filename, i.e., Image:Filename.jpg inline with the text. No error is reported related to the image. Drilling down to the actual image location will display the image in the browser window.

Since this happened and I couldn't fix it, I migrated the installation to a new server (more memory, fresh install) expecting the issue to be resolved but it hasn't. I use GD and have tried the following:
 * 1) Installed ImageMagic and made appropriate changes to LocalSettings.php – no change, reverted to GD settings.
 * 2) Tweaked PHP
 * 3) ran /scripts/rebuildImages.php – no errors, but 0 of 66 images changed.  Likewise oldimages
 * 4) ran the following on the image table:
 * 5) ALTER TABLE image ADD COLUMN img_name2 varchar(255);
 * 6) UPDATE image SET img_name2=img_name;
 * 7) UPDATE image SET img_name=img_name2;
 * 8) ALTER TABLE image DROP COLUMN img_name2;
 * 9) uploaded a new image and attempted to include in a page without success

I understand the MW version is old, but I have a lot of custom extensions, etc that I don't want to have to rewrite so I don't want to upgrade. And I seriously doubt it would change the image issue. (I haven't made any mods to the MW install itself.) Note: Some of my extensions on some pages (not Home) need to be adjusted since the migration, but the image problem is identical to what was happening on the old server. Ideas anyone?

Update: Re-uploading an image appears to resolve the issue, even though the image is in the directory and database. Any ideas how to deal with this in bulk and not have to re-upload all of the images?

—Ryonck 17:30, 14 February 2010 (UTC)

Not creating thumbnails
Everything installed correctly, but I cannot get any thumbnails working. :( I tired messing with $wgHashedUploadDirectory - the first one uploaded under the link above is with "true" parameter, while the second one is with "$wgHashedUploadDirectory = false;" (current). No results. The directory is writeable and I can upload files, but the script does not generate thumbnails. Any ideas what's wrong? I have GD on the host. 87.105.138.11 13:52, 22 February 2010 (UTC)
 * MediaWiki 	1.15.1
 * PHP 	5.2.4 (cgi-fcgi)
 * MySQL 	4.0.27-log
 * URL: http://mwllwiki.studio-gepard.pl/index.php?title=Special:NewFiles