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

  • uri_in: (expected message type: an uri referring to the image file)

Output Terminals

  • none

Properties

  • none

Demos that use it

  • N/A

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 = "
No comments yet. post a comment >