Afficher des miniatures avec MediaWiki/en

De DomoTiki.eu, le wiki de la domotique
Aller à : navigation, rechercher

Version française

For displaying a web site screenshot thumbnail with MediaWiki, you have to write the full external link image (ending with ".jpeg") provided by www.robothumb.com.

You have to set true in your LocalSettings $wgAllowExternalImages

The syntax is simple :

http://www.robothumb.com/src/[url]@[size](.jpg)

where [url] is the url of the page to be displayed, example : http://www.mywebsite.com

available sizes for the parameter [size] are :

  • 100x75
  • 120x90
  • 160x120
  • 180x135
  • 240x180
  • 320x240
  • 560x420
  • 640x480
  • 800x600

Example

http://www.robothumb.com/src/http://semantiki.fr/index.php/S%C3%A9mantiki,_cr%C3%A9ation_de_plateformes_de_travail_collaboratif_et_wikis@160x120.jpg

S%C3%A9mantiki,_cr%C3%A9ation_de_plateformes_de_travail_collaboratif_et_wikis@160x120.jpg

Including an external link

[http://semantiki.fr http://www.robothumb.com/src/http://semantiki.fr/index.php/S%C3%A9mantiki,_cr%C3%A9ation_de_plateformes_de_travail_collaboratif_et_wikis@160x120.jpg]

S%C3%A9mantiki,_cr%C3%A9ation_de_plateformes_de_travail_collaboratif_et_wikis@160x120.jpg

Using a semantic value with {{#show: ... }}

{{#show: Afficher des miniatures avec MediaWiki/en|?Miniature}}

semantiki.fr@160x120.jpg

Combining with the result format slideshow

 {{#ask: [[Catégorie:Installateur]]
 | ?Miniature
 | ?Apport
 | ?Application
 | ?Ville
 | ?Construit par
 | ?Protocole
 | limit = 60
 | format=slideshow
 | template=Result format revendeur
 | nav controls=no
 | sort=Protocole
 | delay=3
 | height=300px
 | width=1000px
 | effect=slide left
 }}


With the size 100x75

[http://semantiki.fr http://www.robothumb.com/src/http://semantiki.fr@100x75.jpg]

S%C3%A9mantiki,_cr%C3%A9ation_de_plateformes_de_travail_collaboratif_et_wikis@100x75.jpg

With the size 320x240

[http://semantiki.fr http://www.robothumb.com/src/http://semantiki.fr@320x240.jpg]

S%C3%A9mantiki,_cr%C3%A9ation_de_plateformes_de_travail_collaboratif_et_wikis@320x240.jpg

With the size 800x600

[http://semantiki.fr http://www.robothumb.com/src/http://semantiki.fr@800x600.jpg]

S%C3%A9mantiki,_cr%C3%A9ation_de_plateformes_de_travail_collaboratif_et_wikis@800x600.jpg