Project:Support desk/Archives/Images/001

=2006=

(RESOLVED) Mediawiki-logo
If I run my own wiki, is it necessary that I show a link to www.mediawiki.org on my site or to note that my site was set up by using mediqiki-software? I tried to figure this out by reading the GPL but didn't find anything about that. As far as I have come I wouldn't need to mention this ... what do you say?? --149.148.230.94 18:10, 12 May 2006 (UTC)


 * MediaWiki itself adds a "powered by" icon to all skins and the version page has copyright information. Under the GPL, I believe this attribution is required. 86.138.46.182 17:33, 20 May 2006 (UTC)
 * Could someone confirm whether or not the MediaWiki logo is supposed to be kept in place? I could not find any mention in the supplied documentation that this is requested to remain. Thus I have removed it on my Wiki, but will glady re-add it if it is requested by the creators. Furthermoor, there is no mention of leaving the copyright in place on the Footer editing page. -- A User 16:04, 04 Oct 2006 (UTC)
 * (Could this be added to the FAQ as well) To change/edit/add the powered by or copyright logos, the code is located around lines 1090 (copyright) and 1112. Just change the $url to your url. This should work for all skins that use the normal getPoweredBy and getCopyrightIcon functions. Adammw 12:59, 18 September 2007 (UTC)

To change the logo in 1.11, place this line in LocalSettings.php: $wgLogo = "$wgScriptPath/skins/common/images/mywikilogo.png"; In this example, "mywikilogo.png" would be placed at C:\wamp\www\mywikipedia\skins\common\images. The $wgLogo line should be placed at the end of the file. Svanslyck 14:20, 27 October 2007 (UTC)
 * There is no obligation to show the logo, the GPL applies specifically to the code and requires that the licence not be removed or modified from any of the code it appears in. --Nad 21:43, 27 October 2007 (UTC)

(RESOLVED) Images not showing after upgrading to 1.6.5
Greetings, this isn't a problem I'm having but more-so a post hoping to help anyone else who ran into the same problem I did after upgrading. I also posted this in the Project:Forum page as well. If this is in the wrong place, my apologies admins but I wanted to share this information for anyone else who might have had this problem.

After I upgraded from 1.4.5 to 1.6.5 none of my images worked, thumbed or normal. The weird part was if I reuploaded the file, I received the standard warning that the image already existed. If I proceeded to reupload it, the image would then show normally. I ran the rebuildImages.php script both with and without the --missing switch but no luck.

What it boiled down to was I had to move all of my images. They were in sub folders in images like /1/10, /1/11 etc. I had to move all of the files from those folders to the root folder images/. Once this was done, every image loaded up just fine without having to take any further action. Anything with the |thumb option regenerated a new thumbnail into the root of the folder thumbs/. To avoid wasting space, I deleted all of the sub folders in my thumbs/ folder since they were not being referenced and were duplicates anyways. --Brownc4 02:22, 26 May 2006 (UTC)
 * Example: opera.jpg is in images/o/o2/opera.jpg. Move it from images/o/o2 to just images/.


 * In future, check the effective value of  and set it to true, to see if that helps. robchurch | talk 13:13, 13 July 2006 (UTC)

=2007=

(OUTDATED) Thumbnails do not work
http://www.khakain.com/wiki2/index.php?title=Special:Newimages

As you can see, only a few images can been seen in their thumbnail form. This has been going on for over a year. Would upgrading solve this problem? If this isn't the right place to ask, please tell me a good place to go. I've been trying for months to find the reason for this.

note: I don't want to see this on any interwiki pages, by the way. --2007

(OUTDATED) Removing logo picture
To remove logo removing of wgLogo variable and setting NOT works if you splitted navigation bar into two parts, you have to set this too: display:none; height: 0px; width: 0px; } otherwise it redirects you to logo link when you click on first few links in (new splitted) navigation bar
 * 1) column-one { padding-top: 21px; }
 * 1) p-logo {

--Betlista 15:54, 8 May 2007 (UTC)

= 2008 =

(RESOLVED) Massimport Images

 * MediaWiki: 1.10.0
 * PHP: 5.1.2
 * MySQL: 5.0.18

I need to massimport images into my MediaWiki. I watched the database and found the table the imagesinformation are stored in. But i don't understand the way how the directories are created and how MediaWiki knows where wich images was placed.

Can anyone tell me how that works?

—192.166.87.111 12:22, 21 February 2008 (UTC)


 * To import images, use the maintenance/importImages.php script. For the curious: the category structure is based on an MD5 hash of the file name. But don't try to mimic mediawiki internals to improt stuff - let mediawiki do it. -- Duesentrieb ⇌ 14:29, 21 February 2008 (UTC)

(RESOLVED) SVG image types / ImageMagick

 * MediaWiki: 1.11.1
 * PHP: 5.2.0
 * MySQL: 5.0.22-community-max-nt
 * URL: http://www.bandwiki.net/

I recently was able to guilt my hosting company into installing ImageMagick so that we can upload and convert SVG image types. They installed the component on a Windows Server to "c:\imagemagick ". Now I want to configure my LocalSettings.php file to use the component.

I have set the following:

$wgEnableUploads = true; #false $wgUseImageMagick = true; $wgImageMagickConvertCommand = "/ImageMagick/VisualMagick/bin"; #"/usr/bin/convert"; .... I have used several variations on the above to see I could get it to work. No luck. ....

And the following:

$wgAllowTitlesInSVG = true; $wgGenerateThumbnailOnParse = true; $wgIgnoreImageErrors = true; $wgSVGConverters = "ImageMagick"; $wgSVGConverterPath = "/ImageMagick/VisualMagick/bin"; $wgUseImageResize = true; $wgMediaHandlers = array(   'image/jpeg' => 'BitmapHandler',    'image/png' => 'BitmapHandler',    'image/gif' => 'BitmapHandler',    'image/x-ms-bmp' => 'BmpHandler',    'image/svg+xml' => 'SvgHandler', // official    'image/svg' => 'SvgHandler', // compat    'image/vnd.djvu' => 'DjVuHandler', // official    'image/x.djvu' => 'DjVuHandler', // compat    'image/x-djvu' => 'DjVuHandler', // compat );

I really don't want to annoy my host any further about this issue at this time, and would greatly appreciate any help that can be given.

Follow this link to see the error I am getting and what happens with the images: http://wiki.spokanebands.com/index.php?title=Special:Uncategorizedimages

—216.223.16.33 02:13, 22 February 2008 (UTC)
 * If ImageMagick is installed to c:\imagemagick (use single quotes not doubles or the backspaces won't work), then the paths for the commands should be pointing to the executables within that same dir. Another issue is that ImageMagick is about the worst choice of the available options for dealing with SVG. The one preferred by the WikiMedia projects is rsvg. --Nad 10:06, 22 February 2008 (UTC)
 * I have changed the path to '/imagemagick/bin/convert.exe' using single quotes instead of double quotes, but still have no joy. As you can see I also changed the path. After installing the component on my local workstation, I was able to see the directory structure and base the path on that. Did I do something wrong? 216.223.16.33 14:37, 22 February 2008 (UTC)
 * Why are you setting the path to '/imagemagick...' when it's located at 'c:\imagemagick...', set it to the same path the executables are located at --Nad 19:30, 22 February 2008 (UTC)


 * Because when I do that, I get the following error, I don't believe it wants a physical path as it is using the forward slash (indicating virtual paths), not the back slash (indicating a physical path) in its defaults.--216.223.16.33 00:16, 23 February 2008 (UTC)

Parse error: parse error, unexpected ':' in D:\hosting\member\northwestpos\spokanebands\wiki\LocalSettings.php on line 216 PHP Parse error: parse error, unexpected ':' in D:\hosting\member\northwestpos\spokanebands\wiki\LocalSettings.php on line 216
 * It's not a virtual path, it needs to be a direct local FS location. The default setting uses forward slash because the software is designed to run on Linux, If you're running it on windows you need to include the full pathname including drive specification. Try using forward slashes, but keep the drive at the start not a leading slash as that makes no sense on a windows system. --Nad 06:56, 23 February 2008 (UTC)

(RESOLVED) Commons
Hi, is it possible to use images from Commons on my Wiki, without uploading them on my Wiki? Regards, 81.205.35.85 12:39, 8 March 2008 (UTC)
 * No. See InstantCommons --MF-Warburg 11:26, 9 March 2008 (UTC)
 * Ah, not yet. Thanks. Regards, 81.205.35.85 16:10, 9 March 2008 (UTC)
 * This is partially possible using variables $wgAllowExternalImages and $wgAllowExternalImagesFrom.  mgrabovský  | talk  (DJ Jeri)  [[Image:Tournesol.png|25px]] MW Support Team  13:29, 25 March 2008 (UTC)

(RESOLVED) Change Destination of uploads

 * MediaWiki: (Reported by your Wiki's Special:Version page)
 * PHP: 5
 * MySQL: 4
 * URL: http://www.wikidante.altervista.org/php5/index.php

I've been installed MediaWiki on my web space but I have got the permission to upload file only in the directory sssigned to me, so when I try to upload a immage I can't do it because the software tries to upload the immage in a directory where I haven't got the permission to access. How can I modify the destination of the files uploaded? Thk a lot for help.

—House90 20:46, 11 April 2008 (UTC)
 * Look at $wgUploadDirectory.  mgrabovský  | talk  (DJ Jeri)  [[Image:Tournesol.png|25px]] MW Support Team  07:07, 14 April 2008 (UTC)

(RESOLVED) Problem using the gallery function

 * MediaWiki: 1.93
 * PHP: 5.2.5
 * MySQL: 5.0.45-community-log
 * URL: www.world-of-roleplaying.com

I am using the following command to display a gallery of images on a page. I can only ever get it to display 4 per row, even though it says 6

Cheers --bsycamore--12:57, 14 May 2008 (UTC)86.159.48.38


 * Has anyone any ideas on how to resolve this?
 * --bsycamore--13:14, 2 July 2008 (UTC)86.159.48.38


 * You need to upgrade. The 'perrow' option was introduced in MediaWiki 1.10, see 19721. -- :bdk: 02:11, 29 August 2008 (UTC)

(RESOLVED) Categorizing Uploaded files

 * MediaWiki 	1.12.0
 * PHP 	5.2.5 (apache)
 * MySQL 	5.0.45-community
 * URL: | Free-Form RPG Community

I was looking in the Special pages section and noticed the heading Uncategorized Files. I clicked it and it shows the images files that had been uploaded with the wiki's upload feature. Is there a way I can set up categories for images to be uploaded to? If so, could someone please explain to me how? Any assistance received is truly appreciated. 75.167.218.31 18:04, 14 May 2008 (UTC)

—75.167.218.31 18:04, 14 May 2008 (UTC)


 * Just add a category link to the description of the file when using the upload form (at least at Wikipedia; I don't know the upload form on your wiki). It's the same code as a category on a simple page:


 * If it does not exist, it will show up in a different colour (standard, like on Wikipedia: red) after uploading, so you can create it from this link and link it to the categories above. -- 89.55.189.253 10:28, 22 June 2008 (UTC)

(RESOLVED) $wgLogo does not change the logo

 * MediaWiki: 1.12
 * OS: FreeBSD 7.0-RELEASE-p1
 * PHP: 5.2.5 (apache2handler)
 * MySQL: 5.0.51a
 * URL: http://www.ratedzero.com


 * Changing site logo using the $wgLogo setting in LocalSettings.php does not work.
 * There is no error, just simply a blank box in the left corner.
 * Note: Not even the default wiki.png shows up.
 * What did I miss during installing?
 * Additionally, I just realized that no images are showing up...not even the footer images pointing to the Mediawiki site.
 * I checked my /var/log/httpd-error.log and see nothing stating problems with the server.

—Oldr4ver 18:59, 19 May 2008 (UTC)


 * I parsed every php file and verified path variable...no luck
 * Finally, I deleted the uploaded files, and re-uploaded, then edited $wgLogo to call the image via fully qualified domain url.

(RESOLVED) Imaging problem

 * MediaWiki: wiki-site.com
 * PHP: ?
 * MySQL: no
 * URL: http://nuclearvacuum.wiki-site.com/index.php/Main_Page

Whenever an image is uploaded to my Wiki, it uploads OK, but it will not thumb into any other size other then the one it currently is. What code would this be and how could I fix this? -- NuclearVacuum 00:48, 29 May 2008 (UTC)


 * I do not believe that this is happening simply because I did not download it to my desktop. It seems to be working fine on others using the same site (and at the same level as mine).  What is the problem here, and please answer me.  Here is a link to one of my articles that I put a picture on, so I can show you what it looks like.  When I try to resize or put the picture in a thumb, it just says "Error creating thumbnail:" and does not show the picture. -- NuclearVacuum 00:00, 31 May 2008 (UTC)
 * Which OS and platform? — VasilievVV 17:03, 2 June 2008 (UTC)


 * My OC is Microsoft Windows and my platform (I believe) is Java. Does this help you out? --  17:17, 2 June 2008 (UTC)
 * Try to set  — VasilievVV 17:43, 2 June 2008 (UTC)

Where is this found? -- 17:47, 2 June 2008 (UTC)


 * Add the line to your LocalSettings.php. Smaug [[Image:Tournesol.png|20px]] 17:50, 2 June 2008 (UTC)


 * Where is my LocalSettings.php? Where would it be found? NuclearVacuum 17:51, 2 June 2008 (UTC)
 * В папке, в которую Вы поставили MediaWiki — VasilievVV 17:53, 2 June 2008 (UTC)


 * I did not download this wiki. It does not require me to download it.  I have no folder for it.  -- NuclearVacuum 17:56, 2 June 2008 (UTC)
 * *Notices your url.* You seem to be on a wiki-farm.  You should contact wiki-site and get them to help you, since they have access to your LocalSettings.php and other files if you don't. Smaug  [[Image:Tournesol.png|20px]] 20:31, 2 June 2008 (UTC)

(RESOLVED) Upload from web
There's any way to upload a image directly from the web?. Example, going to Upload, then URL:http://commons.../Image:Some.png and then save a copy of the image in the wiki. Maybe an extension was necessary, may be a patch.--Eloy 16:40, 3 June 2008 (UTC)


 * Have a look at Manual:$wgAllowCopyUploads. -- 89.55.189.253 10:41, 22 June 2008 (UTC)