Widget:ImageLoader

From Hackerspace ACKspace
Revision as of 13:10, 17 October 2016 by Xopr (talk | contribs) (Image on-error link success! Restoring original demo image)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 rest 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.