User:WikiMaster/Images: Difference between revisions

From PortlandWiki
Jump to navigation Jump to search
(Moved image stuff to here.)
 
Line 1: Line 1:
{{RightTOC}}
== Images: Testing, Research ==
== Images: Testing, Research ==
Despite numerous cultural prohibitions regarding image worship and idolatry, images are still useful elements to include in wiki articles.
Despite numerous cultural prohibitions regarding image worship and idolatry, images are still useful elements to include in wiki articles.
Line 94: Line 95:


{{Clear}}
{{Clear}}
=== Fake Thumbnails ===
* [[mediawikiwiki:User:Subfader/Thumb Links|User:Subfader/Thumb Links]]
{|border=0 width=100%
|-
|valign="top"|<big><pre>
<div class="thumb tright"><div class="thumbinner" style="width:302px;">
[[File:Snow Day At Wallace Park.jpg|border|300px|link=Wallace Park]]
<div class="thumbcaption">Snow day at [[Wallace Park]].</div>
</div></div>
</pre></big>
|<div class="thumb tright"><div class="thumbinner" style="width:302px;">[[File:Snow Day At Wallace Park.jpg|border|300px|link=Wallace Park]]<div class="thumbcaption">Snow day at [[Wallace Park]].</div></div></div>
|}


=== Image [[wikipedia:Transclusion|Transclusion]] Issues -- UPDATE ===
=== Image [[wikipedia:Transclusion|Transclusion]] Issues -- UPDATE ===
Moved contents to [[User:WikiMaster/Image Transclusion Issues|User:WikiMaster/Image Transclusion Issues]].
Moved contents to [[User:WikiMaster/Image Transclusion Issues|User:WikiMaster/Image Transclusion Issues]].

Revision as of 22:31, 3 October 2011

Images: Testing, Research

Despite numerous cultural prohibitions regarding image worship and idolatry, images are still useful elements to include in wiki articles.

This article describes how MediaWiki handles and stores files, and gives some information on configuring.
Allow <img> tag to be used in wikitext. Introduced in version: 1.17.0 (r65286).

Gallery

Moved images formerly occupying this space to User:WikiMaster/Gallery#Sofia.

Gallery Resources

The Image gallery extensions category contains articles on extensions that embed a collection of images (a gallery) in a MediaWiki article.
A nice simple gallery example.
The User Image Gallery extension introduces a <userimages> tag to the MediaWiki markup, which can be used to produce an image gallery of all recent uploads by a particular user, up to a specified limit.
This extension adds Media RSS support to Mediawiki's standard <gallery /> tag. This allows it to generate Media RSS content from any article that contains such tags. It allows you to add a RSS Media link to any article that does not have gallery with a special comment. It also allows the PicLens plugin to be used with such RSS with another particular tag.

Linked Images

Images on a MediaWiki wiki will by default, link to the description page. However, there are several workarounds for those that require them.
Example
[[File:Tournesol.png|50px|link=mediawikiwiki:|MediaWiki]]
Results

MediaWiki (Links sunflower from commons.wikimedia.org to MediaWiki's main page.)

Linking to External Images

How-To-Do-It Source
When set to true, users can bring in an inline image from an external URL. They do this simply by sticking the full URL into the wiki text (without any other surrounding markup) That is the direct URL to an image resource on another website.
When set to false, the full URL appears as a text link to the image.
Note that if you want to allow images from a single trusted source (e.g. from within your own domain) then set this to false, and use $wgAllowExternalImagesFrom.
If $wgAllowExternalImages is false, you can specify an exception here. Image URLs that start with this string are then rendered, while all others are not. You can use this to set up a trusted, simple repository of images. As of r40310 (1.14.0), this may be an array of strings.
1. Make appropriate changes to LocalSettings.php. Example
$wgAllowExternalImagesFrom = array(
'http://www.ussf2010.org/',
'http://ussf2010.org/',
);
2. Insert wiki markup code. Example
<span class="plainlinks">[http://www.ussf2010.org/ http://ussf2010.org/sites/default/themes/ussf-2010-theme/images/USSocial-Forum.gif]</span>
3. Results

USSocial-Forum.gif

Image Linking Extensions

Creates a clickable image link using an image in an article and an article title. This image can be either stored in the Image namespace or accessible through an interwiki prefix. The article title may or may not exist in the database.
Extension:ImageLink is needed for MediaWiki installations until version 1.13.x. Since MediaWiki version 1.14+, a parameter "link=" can be added to any image, without the need to install an extension. But only basic functionality of this extension was integrated into MediaWiki software 1.14+. Some HTML attributes and all of the event attributes are still not part of the MediaWiki software.
The EmbedImg extension adds the <img> tag for embedding external images. It supports width & height parameters.

More external image linking tests...

captain_beyond_1972_20060810071429.jpg
hofmann_bike_ride_1943.jpg
296654_10150794458330417_521845416_21828083_49704_n.jpg

Testing Extension:EmbedImg

Testing Extension:EmbedImg to enable resizing of the external images shown in full size above.


Linking & Sizing

<img size=200>http://www.feelnumb.com/wp-content/uploads/2009/12/captain_beyond_1972_20060810071429.jpg</img> <img size=200>http://1.bp.blogspot.com/-ougl0EjNMVE/TbLXF62FGNI/AAAAAAAAAB0/HDDvu-mVkrs/s1600/hofmann_bike_ride_1943.jpg</img> <img size=200>http://a3.sphotos.ak.fbcdn.net/hphotos-ak-ash4/296654_10150794458330417_521845416_21828083_49704_n.jpg</img>



Thumbnailing

Fake Thumbnails

<div class="thumb tright"><div class="thumbinner" style="width:302px;">
[[File:Snow Day At Wallace Park.jpg|border|300px|link=Wallace Park]]
<div class="thumbcaption">Snow day at [[Wallace Park]].</div>
</div></div>
Snow day at Wallace Park.

Image Transclusion Issues -- UPDATE

Moved contents to User:WikiMaster/Image Transclusion Issues.