Note that there are some explanatory texts on larger screens.

plurals
  1. POWhy is this watermark plugin not working?
    primarykey
    data
    text
    <p>Why is this jquery image watermarking plugin not working? I am using the code from the official plugin website.. <a href="http://fmaz.developpez.com/proj/imgwatermark/demo.html" rel="nofollow">from here</a> When i see the source code of the demo website they have used js/jquery-watermarker-0.3.js. but i cannot find this plugin online anywhere? how come this works for them in the demo. Please help.</p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;script type="text/javascript" src="js/jquery.js"&gt; &lt;script type="text/javascript" src="js/jquery-1.4.2.min.js"&gt; &lt;script type="text/javascript" src="js/jquery-ui-1.8.6.custom.min.js"&gt; &lt;script type="text/javascript" src="js/jquery-watermarker-0.2.js"&gt; &lt;script type="text/javascript"&gt; $().ready(function(){ $('#watermarked').Watermarker({ watermark_img: "a.png", onChange: showCoords }); }); function showCoords(c) { $('#x').val(c.x); $('#y').val(c.y); $('#w').val(c.w); $('#h').val(c.h); }; &lt;/script&gt; &lt;style type="text/css"&gt; div.watermark { border:1px dashed #000; } img.watermark:hover{ cursor:move; } &lt;/style&gt; &lt;/head&gt; &lt;body&gt; &lt;img src="1.jpg" id="watermarked" /&gt; &lt;form method="post" action="phpScriptToMergeBothImage.php"&gt; &lt;input type="text" id="x" name="x" value="" /&gt; &lt;input type="text" id="y" name="y" value="" /&gt; &lt;input type="text" id="w" name="w" value="" /&gt; &lt;input type="text" id="h" name="h" value="" /&gt; &lt;input type="submit" name="save" value="Ok &gt;" /&gt; &lt;/form&gt; &lt;/body&gt; &lt;/html&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

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