Difference between revisions of "Widget:ImageLoader"

From Hackerspace ACKspace
Jump to: navigation, search
(updated image loader)
Line 14: Line 14:
 
}}</nowiki>
 
}}</nowiki>
  
This will give the following result:
+
This will give the following result:<br/>
 
{{#widget:{{PAGENAME}}
 
{{#widget:{{PAGENAME}}
 
|url=https://upload.wikimedia.org/wikipedia/commons/b/b8/Trojan_Room_coffee_pot_xcoffee.png
 
|url=https://upload.wikimedia.org/wikipedia/commons/b/b8/Trojan_Room_coffee_pot_xcoffee.png
 
|width=156
 
|width=156
 
|height=175
 
|height=175
}}
+
}}<br/>
 
Note that '''url''' is mandatory, the test is optional (leave out interval to make the image static)
 
Note that '''url''' is mandatory, the test is optional (leave out interval to make the image static)
  

Revision as of 11:34, 9 December 2014

This widget allows you to embed images from non-https sources on your wiki page.

Created by Xopr

Using this widget

To insert this widget, use the following code:

{{#widget:ImageLoader
|url=https://upload.wikimedia.org/wikipedia/commons/b/b8/Trojan_Room_coffee_pot_xcoffee.png
|width=300
|height=250
|interval=60
}}

This will give the following result:

Note that url is mandatory, the test is optional (leave out interval to make the image static)


Copy to your site

To use this widget on your site, just install MediaWiki Widgets extension and copy full source code of this page to your wiki as Widget:ImageLoader article.