cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv


A Pen By Captain Anonymous

Pen Settings

CSS Base

Vendor Prefixing

Add External CSS

These stylesheets will be added in this order and before the code you write in the CSS editor. You can also add another Pen here, and it will pull the CSS from it. Try typing "font" or "ribbon" below.

Quick-add: + add another resource

Add External JavaScript

These scripts will run in this order and before the code in the JavaScript editor. You can also link to another Pen here, and it will run the JavaScript from it. Also try typing the name of any popular library.

Quick-add: + add another resource

Code Indentation


Save Automatically?

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

              <script src='https://d3lp1msu2r81bx.cloudfront.net/kjs/js/lib/kinetic-v4.3.1.min.js'></script>  
<div id="containerCreator" style="float:left"></div>
  <div id="wrapperInputCreator"style="float:left" >
  <div id="pictureWrapperCreator" style="margin:10px; ">
      <img width="100" height="100" name="0.jpg" src="http://imagesbook.eu/images/creator/0.jpg"/>
  <img width="100" height="100" src="http://imagesbook.eu/images/creator/1.jpg"/>
   <img width="100"  src="http://cdn.memegenerator.net/images/500x/2485.jpg"/>
    <input id="generate" type="submit" value="Create" />
    <div  style="width:200px; height:200px; background:#dddddd" id="text"></div>
  var imageSource = $('#pictureWrapperCreator img').first().attr('src'); 
  var textVrch = '';
  var imageWidth;
  var imageHeight;
  imageHeight = 500;
  imageWidth = 500;
	var stage = new Kinetic.Stage({
    container: 'containerCreator',
    width: imageWidth,
    height: imageHeight
    var layer = new Kinetic.Layer();

    var imageObj = new Image();
    imageObj.onload = function(){
      var yoda = new Kinetic.Image({
        x: 0,
        y: 0,
        image: imageObj,
        width: 200,
        height: 200

   $('#pictureWrapperCreator img').click(function(){
	    imageSource = $(this).attr('src');
		imageObj.src = imageSource;
          callback: function(dataUrl) {
            $('#test').html('<img src="'+dataUrl + '"/>');//it does not work :(

	  imageObj.src = imageSource;
Loading ..................