Help talk:Images

Align a external image
How can I do to align a external image ? If I put the URL the pics display where the text is. I can't align the image to the right for example :( Somebody can help me ?

you must includ the external imagen into a table. You can aling the table. But i can resize the external image. Can anibody help me with this?

No link to the upload page?
If the image referenced does not exist, the gallery displays the filename as text rather than a link to the upload page (as it did in previous versions). I have tried the File, Image and Media prefixes. Is this a bug?

Syntax section lacking. "Link" option not operational.
I was just trying to determine how to wrap an image in a link to another article. After reading the (limited) syntax section, I attempted to use the "link=" option to gain this functionality. After many test efforts, on this page, and using the Preview function (so as not to flood the history), I am still yet to achieve this goal. Is this article still current? Are the instructions clear and accurate? Or it is a problem at my end causing this issue? --203.13.128.101 06:48, 21 October 2008 (UTC)


 * See Help:Linked images. Note that the  parameter is very new. Check Special:Version, if the revision is not at least r41727 then this syntax is not yet available. Splarka 11:29, 21 October 2008 (UTC)


 * I am also having the same issue that was mentioned, regarding the link functionality not working. I have a fully updated install, version 1.13.3. I'm using the provided syntax, as far as I can tell, but the image will only link to the standard image details page. Caseyparsons 17:45, 9 February 2009 (UTC).


 * r41727 means 1.14. —Emufarmers(T 01:05, 10 February 2009 (UTC)

Text wrap?
How do one make tex wrap arround an image? --Asset 11:27, 30 November 2008 (UTC)

new File: NS
Should be noted that if you're using SVN, or editing on the wikimedia projects, that the namespace for "images" is File: now, not Image:. TBH, this makes more sense to me for what's now available on the projects ;).

Kjikaqawej 06:41, 13 December 2008 (UTC)


 * It also looks like the File NS is case sensitive for the "F". On my MW 1.15.1 lower case f doesn't link correctly, but the depreciated Image NS used to work with "image". DdDave 20:15, 10 November 2009 (UTC)

Large Images
I can upload small images but when I upload images, files over 2mb; it just goes blank. When I resize it won't resize. Can someone help me. 86.136.108.50 17:39, 19 February 2009 (UTC)
 * Is it possible that your PHP configuration is limiting uploads of this size? I have this vague memory of getting "blank" pages when PHP didn't allow large enough uploads. That's all I can think of without more specific information about your problem. --Vjg 00:15, 27 February 2009 (UTC)
 * That's why I can't upload large files because the PHP configuration is limiting it. What do I have to do? 86.136.108.50 09:54, 8 March 2009 (UTC)
 * That would depend upon how your PHP is configured and the requirements might change depending upon who is hosting your PHP-enabled site. See http://us3.php.net/manual/en/ini.core.php#ini.upload-max-filesize --Vjg 13:46, 8 March 2009 (UTC)
 * Thank you for the info. I have another query, basically on my main page i have a picture as a title. I don't want it to link anywhere, can I stop that? is it possible. 86.136.108.50 16:03, 8 March 2009 (UTC)
 * Use Media instead of Image or File; otherwise see the new 'link=' syntax for "File". Also, these types of questions should be asked on the helpdesk as indicated at the top of this page. --Vjg 03:29, 9 March 2009 (UTC)

Help:Images/frame and Help:Images/size
When importing this help page on my wiki, the {{/frame|frame [...] were interpreted as Template:/frame. I had to add change them to {{Help:Images/frame|frame [...] to make it work. Any idea why ?--Alagache 15:06, 24 February 2009 (UTC)


 * Subpaging is enabled on the Help: namespace here. This can change the behavior of relative transclusions. See Manual:$wgNamespacesWithSubpages. Splarka 16:18, 25 February 2009 (UTC)

Page breaking
I'm just setting up a wiki, I turned on subpages for the help namespace as said above, is there anything else I need to turn on to stop it looking like this? http://www.suitableforvegetarians.info/wiki/index.php?title=Help:Images
 * Just glancing at your site, it appears you are missing the Extension:ParserFunctions extension and the Template:! template on your installation. --Vjg 21:27, 10 March 2009 (UTC)

Problem with: Gallery of images
I am trying to use the gallery function.

I've upload the pretty flower pic to my mediawiki and I've kept it named Example.jpg, but I can't get image to appear when I copy the code from: http://www.mediawiki.org/wiki/Help:Images#Gallery_of_images

This code:

Gives me text in all of the right places, but no images.

When I change the text from “File:Example.jpg” to “Image:Example.jpg” images appear.

am I not supposed to use “File” or is there a parameter that I need to set? --TheMightyHercules 02:10, 4 April 2009 (UTC)
 * Image: was only recently changed to File:, if it doesn't work for you, you just have to use Image:. Splarka 07:30, 4 April 2009 (UTC)

Faking a "thumb" with alt "link"
Fake "thumb" syntax.

This often gets asked for a lot. A way to use the link= parameter with thumb. permalink



Fake "thumb" syntax.

Splarka 03:24, 29 April 2009 (UTC)

Wording question
Can we add the word "scale" somewhere in addition to "resize?" That would help more searches find the resize examples. Thanks.

129.93.159.31 21:23, 1 May 2009 (UTC)

External Image Size
Is it possible to resize an external image? E.g. [|20px] --Robinson Weijman 07:58, 8 July 2009 (UTC)

links and images ?
can i ask here if ther is a way of showing a small image as the alternate way of rolling over text links

http://en.wikipedia.org/wiki/User_talk:Teapotgeorge#hello

Image Strangeness
The stable page shows red links to "File:MediaWiki:Image sample" (deleted) instead of the inlined "File:Example.jpg" for me, and I don't really know why. Draft works for me again. --130.83.160.141 14:41, 17 August 2009 (UTC)

Frame transparancy
How do I make the frame transparent to a background image. For instance, on this page the preformatted text and the TOC (yes, I know they are not images, but the problem is the same) are not transparent to the background, yet the MediaWiki logo image is. The Template on Help:Images likewise is not transparent to the background image. Any advice on how I can make the background image bleed through? RedJ 17 18:07, 22 August 2009 (UTC)


 * TOCs, tables, and image frames are intentionally given background colors to prevent header lines bleeding through. You can remove them with site/skin CSS, or just give images your own frame with whitelisted html (&lt;div&gt;s), or just don't use a frame (per example). Splarka 07:34, 23 August 2009 (UTC)
 * The problem with not using a frame is that it also won't show the caption. My wiki has a gradient background in the text space, so it's not like putting the same color as as the image frame backgound (at least I don't think so).  The text space background gradient has to show.  RedJ 17 17:17, 23 August 2009 (UTC)
 * In your MediaWiki:Common.css:

div.thumbinner {background-color:transparent;} div.thumb {border-color: transparent;}
 * But it will look bad in some browsers, probably. Splarka 07:23, 24 August 2009 (UTC)
 * Thanks, I'll try it. I also found a work around using templates which essentially rewrites the Image functionality.  But CSS would be more elegant.

Link + magic word
Hi, without magic is ok and you can use un magic word in the caption but not in the link.
 * Example : truc.png -> the link is truc.png :(


 * Works for me:
 * Wiki.png
 * But you have a U+200E LEFT-TO-RIGHT MARK in your pasted example between the URL and the magic word. Also, are you sure you're using a new enough version of mediawiki? Splarka 07:33, 15 September 2009 (UTC)
 * Ok without space link is working.

Link + parameter
With link doesnt work(parameter is not empty and there are no spaces)...How I can debug that ? thanks


 * Wiki.png -> Wiki.png
 * Template parameters take 3 braces, and the syntax you use there means null fallback, and all a null link= does is prevent the image linking anywhere at all. And you are still inserting a U+200E LEFT-TO-RIGHT MARK in just before the first brace. Splarka 06:57, 19 September 2009 (UTC)
 * yes my paste is bad it was Wiki.png . But I cannot see the U+200E LEFT-TO-RIGHT MARK and the version of my mediawiki is 1.15.1. Can I remove myself this invisible mark and how ? Thanks.
 * Ok I saw with notepad++ but again it doesnt work the link=http is now tn the caption of the picture.


 * Ok I found; it's my fault ;) Thanks!

Problems with image+link+caption
Hi there, i have a big problem with the imagelink and captions for image link on version 1.15.1. in your help it means for an Imagelink with caption, i look in to the html source and see no title parameter in the a href of the image link. The expample on this page has in the html source an title paramter but i dont know how it makes. Its a little bit tricky here to come to the orginal source of the example. mean it is framed and framed. Why ? Anyone can help thats i become a title tag in an imagelink? Look here it works on this version of mediawiki but on my version it gives no title paarameter on a href.

I've the same problem; I guess it's a bug in MW 1.15.1. Hajo


 * I also have the problem in 1.15.3 that no "title" is in HTML code when use "link=http://..." . I'm trying to work it out but with no confidence. I also want the link to be "target=_blank" when the url does not belong to my domain name. --Zayoo 12:05, 15 May 2010 (UTC)

I've made it!

in file include/MediaTransformOutput.php line 160 of function toHtml 159		if ( !empty( $options['custom-url-link'] ) ) { 160			$linkAttribs = array( 'href' => $options['custom-url-link'] ); change line 160 to			$linkAttribs = array( 'href' => $options['custom-url-link'], 'title' => $title ); then title appear. To make "target=_blank" for url that not belongs to site's domain name, change to this if (!strpos($options['custom-url-link'], $_SERVER['SERVER_NAME'])) { $linkAttribs = array( 'href' => $options['custom-url-link'], 'title' => $title, 'target' => '_blank' ); } else { $linkAttribs = array( 'href' => $options['custom-url-link'], 'title' => $title ); } Warning: I don't know whether title should be encoded or not for security. USE AT YOUR OWN RISK. --Zayoo 14:15, 15 May 2010 (UTC)

Black Images after Update
Hey - I have recently updated to 1.15.x. Now I have black images on all pages, see here: http://freecoffee.de/Eduroam_mit_Windows_Mobile I found out, that I have to user ?action=purge to clear the cache. I also truncated the objectcache table. The first solution works for a single page. But I have a lot of images uploaded to the wiki. So, is there a faster way to clear the image cache? Thanks in advance, kind regards --Nickaat 17:43, 11 January 2010 (UTC)

Adding alt text to gallery images
Can it be done? I've got my gallery set up like the example: but in addition to the text underneath each image, I would like to have a second set of text when each image is moused over. (null).exe 14:21, 21 January 2010 (UTC)

Thumbnail link bypass the description page
[[Media:image.jpg]]

creates a text link directly to the image bypassing the file description page but I would like to create a thumbnail link that bypasses the description page and goes directly to the image. I've tried every conceivable combination of options but nothing seems to work.
 * Use:  [[Image:Wiki.png|link=]] 
 * [[Image:Wiki.png|link=]]
 * Hamilton Abreu 23:19, 12 February 2010 (UTC)