$(document).ready(function(){
	//Dropzone.autoDiscover = false;

  Dropzone.options.dropzone = {
		maxFilesize: 2,
		paramName: "image[content]",
		addRemoveLinks: false,
    previewsContainer: null,
    createImageThumbnails: true,

    init: function() {
      this.on("success", function(resp, data) {
        $('.campaign-images').append(data.html);
      });

      this.on("addedfiled", function(file) {
        this.removeFile(file);
      });
    }
	};

});

$(function(){

  //var clip = new ZeroClipboard();

  $('.campaign-images').on('click', 'img', function(e) {
    var $img = $(this);
		//clip.setText($img.attr('src'));
    ZeroClipboard.setData( "text/plain", "Copy me!" );
  });
});



@@ -1,68 +1,17 @@
 $(
-document).ready(function()%7B%0A%09//Dropzone.autoDiscover = false;%0A
+function()%7B
 %0A  D
@@ -407,246 +407,9 @@
 %09%7D;%0A
-%0A
 %7D);%0A%0A
-$(function()%7B%0A%0A  //var clip = new ZeroClipboard();%0A%0A  $('.campaign-images').on('click', 'img', function(e) %7B%0A    var $img = $(this);%0A%09%09//clip.setText($img.attr('src'));%0A    ZeroClipboard.setData( %22text/plain%22, %22Copy me!%22 );%0A  %7D);%0A%7D);%0A%0A%0A

Tidy up dropzone configuration