Note that there are some explanatory texts on larger screens.

plurals
  1. POyui imagecropper appears under the image?
    text
    copied!<p>So I am working on a simple image cropping function using pre-built Yahoo UI. However, it seems the cropping box or whatever it is called lies under the image, or maybe it's just transparent.</p> <p>Here is my code, you can just copy and paste to inspect.</p> <pre><code>&lt;link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/assets/skins/sam/resize.css"&gt; &lt;link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/assets/skins/sam/imagecropper.css"&gt; &lt;link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/resize/assets/skins/sam/resize.css" /&gt; &lt;link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/fonts/fonts-min.css" /&gt; &lt;link rel="stylesheet" type="text/css" href="http://yui.yahooapis.com/2.9.0/build/imagecropper/assets/skins/sam/imagecropper.css" /&gt; &lt;script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/yahoo-dom-event/yahoo-dom-event.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/element/element-min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/dragdrop/dragdrop-min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/resize/resize-min.js"&gt;&lt;/script&gt; &lt;script type="text/javascript" src="http://yui.yahooapis.com/2.9.0/build/imagecropper/imagecropper-min.js"&gt;&lt;/script&gt; &lt;img id="yui_img" src="http://developer.yahoo.com/yui/examples/imagecropper/assets/yui.jpg"&gt; &lt;script&gt; (function(){var crop = new YAHOO.widget.ImageCropper('yui_img');})(); &lt;/script&gt; </code></pre> <p>Here is the URL to the demo Yahoo provides <a href="http://developer.yahoo.com/yui/examples/imagecropper/simple_crop_clean.html" rel="nofollow">http://developer.yahoo.com/yui/examples/imagecropper/simple_crop_clean.html</a></p> <p>Please help me. Thanks in advance!</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload