Persoonlijke instellingen

TestPagina-Bijdragen 2

Uit BeneluxSpoor.net - Encyclopedie
Versie door Fred (overleg | bijdragen) op 25 jan 2016 om 12:15
Ga naar: navigatie, zoeken


Testen van linken naar plaatjesserver

Via link:

RK947_1.jpg


Via link met aanvulling:

RK947_1.jpg?.jpg


Via tabel:

<RK947_1.jpg>
Volgnr = 01
Relaiskast
Foto gemaakt door: Klaas Zondervan


Via sjabloon: Sjabloon:Afbeelding Plaatjesserver



Instellingen:
$wgAllowExternalImages

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 being required) 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.
Extensie:

MediaWiki will only recognize image URLs with image file extensions; you may need to add a 'fake' parameter to the end of some URLs, like "&junk=junk.png" or "?.png" to force the parser to realize the Image_URL actually points to an image, so that it will embed it.

Onderschrift:

You cannot easily put image caption for external images. One solution might be using table.

{|
|<image url>
|-
|caption
|}
Icoon aan het eind van de link verwijderen

If you enable $wgAllowExternalImages (which allows external images from any domain) or $wgAllowExternalImagesFrom (which restricts the list of domains), anyone can then easily create an "external" link to an "external" image.
External simply means: using the full URL rather than a local link, so you can link locally, but you need to use the full URL. The plainlinks class is used to remove the "external link" icon:

After enabling $wgAllowExternalImages, you can also embed an image by simply typing the URL of the image.

For example

http://domain.com/images/image_file.png

, will display the image on screen.

<span class="plainlinks">[http://linktopage http://linktoimage]</span>


Aanvullende informatie:

Meer info


EDIT