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 = "


Copyright © 2006–2008 by Assembla, LLC / Phone 1.781.328.2241 / E-mail: info@assembla.com