Difference between revisions of "Widget:ImageLoader"

From Hackerspace ACKspace
Jump to: navigation, search
(testing with image)
m (oops, wring variable: fixed)
Line 15: Line 15:
 
console.log( "<!--{$height|escape:html|default:300}-->" );
 
console.log( "<!--{$height|escape:html|default:300}-->" );
 
</script>
 
</script>
<img src="{$url|validate:url}" style="width:{$width|escape:html|default:400}-->;height:<!--{$height|escape:html|default:300}-->"/>
+
<img src="<!--{$url|validate:url}-->" style="width:{$width|escape:html|default:400}-->;height:<!--{$height|escape:html|default:300}-->"/>
 
</includeonly>
 
</includeonly>

Revision as of 19:26, 8 December 2014

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

Created by Xopr

Using this widget

For information on how to use this widget, see TBD.

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.