JSFiddle - React, Tailwind, and code Playground

HTML

<div id="holder"></div>

JavaScript

var paper = Raphael("holder", 640, 480);
var theImage = paper.image("http://raphaeljs.com/bd.jpg", 0, 0, 320, 240);
theImage.attr({"clip-rect":"30 30 100 150"});