ImageInfotron

A good basic blueprint. Show images when an image uri is sent on the input terminal

Sample Declaration

<div id="dynimage"
     ~01FA2BE9D97E0049558A44CA25F542DE76"
      script="http://localhost/Image.js">
</div>

Input Terminals

Output Terminals

Properties

Demos that use it

How does it work?

Takes an url at its input terminal and puts the resulting image element under its dom node



BLUEPRINT(
"~01FA2BE9D97E0049558A44CA25F542DE76", 
[
 ["uri_in", "onUrl", 10]
],
[],
function (Class) 
{
  Class.prototype.onUrl = function(msg) {
      this.dom_node.innerHTML = "<img src=\"" + msg + "\" />";
    }

}, "Single Image View");