<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: ImgAreaSelect 0.8</title>
	<atom:link href="http://odyniec.net/blog/2009/04/imgareaselect-08/feed/" rel="self" type="application/rss+xml" />
	<link>http://odyniec.net/blog/2009/04/imgareaselect-08/</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 07 Sep 2010 17:40:03 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.1</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: William</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-2962</link>
		<dc:creator>William</dc:creator>
		<pubDate>Wed, 03 Feb 2010 20:13:30 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-2962</guid>
		<description>Michal,

Thanks for the great plugin but I agree with Samuel. I tried your recommended method - even explicitly setting everything as so:

Profile.photo.setOptions({show:false, disable:true, hide:true, enable:false});

But the original selection stuff still remains on the screen when I load a new image.

Thanks,

William</description>
		<content:encoded><![CDATA[<p>Michal,</p>
<p>Thanks for the great plugin but I agree with Samuel. I tried your recommended method &#8211; even explicitly setting everything as so:</p>
<p>Profile.photo.setOptions({show:false, disable:true, hide:true, enable:false});</p>
<p>But the original selection stuff still remains on the screen when I load a new image.</p>
<p>Thanks,</p>
<p>William</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Wojciechowski</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-346</link>
		<dc:creator>Michal Wojciechowski</dc:creator>
		<pubDate>Fri, 26 Jun 2009 17:40:17 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-346</guid>
		<description>@Mahesh: You should download the jQuery library (available at http://jquery.com/) and include it in the &lt;head&gt; section of your page, before imgAreaSelect.

By the way, the next version of the plugin (0.9), which I&#039;m going to release in the next few days, will have jQuery included in the package.</description>
		<content:encoded><![CDATA[<p>@Mahesh: You should download the jQuery library (available at <a href="http://jquery.com/)" rel="nofollow">http://jquery.com/)</a> and include it in the &lt;head&gt; section of your page, before imgAreaSelect.</p>
<p>By the way, the next version of the plugin (0.9), which I&#8217;m going to release in the next few days, will have jQuery included in the package.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Wojciechowski</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-345</link>
		<dc:creator>Michal Wojciechowski</dc:creator>
		<pubDate>Fri, 26 Jun 2009 17:29:52 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-345</guid>
		<description>@Samuele:
Have you tried using the &lt;code&gt;disable&lt;/code&gt; and &lt;code&gt;hide&lt;/code&gt; options to deactivate the plugin, then reenabling it with &lt;code&gt;enable&lt;/code&gt; and &lt;code&gt;show&lt;/code&gt;?</description>
		<content:encoded><![CDATA[<p>@Samuele:<br />
Have you tried using the <code>disable</code> and <code>hide</code> options to deactivate the plugin, then reenabling it with <code>enable</code> and <code>show</code>?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mahesh</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-344</link>
		<dc:creator>Mahesh</dc:creator>
		<pubDate>Fri, 26 Jun 2009 15:03:35 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-344</guid>
		<description>Hi, Michal

I am trying to use your library with asp.net.  Unfortunately, I am not able to use it.  I have added a folder to hold the scripts provided in the library.

Here is the aspx code sample:



    Untitled Page&lt;br /&gt;
    &lt;br /&gt;
    &lt;br /&gt;
     &lt;br /&gt;
 var $x1, $y1, $x2, $y2, $w, $h;&lt;br /&gt;
 &lt;br /&gt;
 function selectChange(img, selection)&lt;br /&gt;
 {&lt;br /&gt;
   $x1.text(selection.x1);&lt;br /&gt;
   $y1.text(selection.y1);&lt;br /&gt;
   $x2.text(selection.x2);&lt;br /&gt;
   $y2.text(selection.y2);&lt;br /&gt;
   $w.text(selection.width);&lt;br /&gt;
   $h.text(selection.height);&lt;br /&gt;
 }&lt;br /&gt;
 &lt;br /&gt;
 $(document).ready(function () {&lt;br /&gt;
   $x1 = $(&#039;#x1&#039;);&lt;br /&gt;
   $y1 = $(&#039;#y1&#039;);&lt;br /&gt;
   $x2 = $(&#039;#x2&#039;);&lt;br /&gt;
   $y2 = $(&#039;#y2&#039;);&lt;br /&gt;
   $w = $(&#039;#w&#039;);&lt;br /&gt;
   $h = $(&#039;#h&#039;);&lt;br /&gt;
 });&lt;br /&gt;
 &lt;br /&gt;
 $(window).load(function () {&lt;br /&gt;
   $(&#039;img#ttt1&#039;).imgAreaSelect({ onSelectChange: selectChange, handles: true });&lt;br /&gt;
 });&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
    &lt;br /&gt;
   &lt;br /&gt;
&lt;br /&gt;
   &lt;br /&gt;
     &lt;br /&gt;
      &lt;br /&gt;
     &lt;br /&gt;
     &lt;br /&gt;
     &lt;br /&gt;
          &lt;br /&gt;
           &lt;b&gt;Selection coordinates:&lt;/b&gt;&lt;br /&gt;
           &lt;b&gt;X1:&lt;/b&gt; &lt;br /&gt;
           &lt;b&gt;Y1:&lt;/b&gt; &lt;br /&gt;
           &lt;b&gt;X2:&lt;/b&gt; &lt;br /&gt;
           &lt;b&gt;Y2:&lt;/b&gt; &lt;br /&gt;
           &lt;br /&gt;
           &lt;b&gt;Selection dimensions:&lt;/b&gt;&lt;br /&gt;
           &lt;b&gt;Width:&lt;/b&gt; &lt;br /&gt;
           &lt;b&gt;Height:&lt;/b&gt; &lt;br /&gt;
          &lt;br /&gt;
    





Please shed some light.

When render the page, i see following javascript errrors.

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; yie8)&lt;br /&gt;
Timestamp: Fri, 26 Jun 2009 15:04:33 UTC&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Message: &#039;jQuery&#039; is undefined&lt;br /&gt;
Line: 14&lt;br /&gt;
Char: 1&lt;br /&gt;
Code: 0&lt;br /&gt;
URI: http://localhost:2779/Scripts/jquery.imgareaselect-0.8.js&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Message: &#039;jQuery&#039; is undefined&lt;br /&gt;
Line: 1&lt;br /&gt;
Char: 1&lt;br /&gt;
Code: 0&lt;br /&gt;
URI: http://localhost:2779/Scripts/jquery.imgareaselect-0.8.min.js&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Message: Object expected&lt;br /&gt;
Line: 25&lt;br /&gt;
Char: 2&lt;br /&gt;
Code: 0&lt;br /&gt;
URI: http://localhost:2779/&lt;br /&gt;</description>
		<content:encoded><![CDATA[<p>Hi, Michal</p>
<p>I am trying to use your library with asp.net.  Unfortunately, I am not able to use it.  I have added a folder to hold the scripts provided in the library.</p>
<p>Here is the aspx code sample:</p>
<p>    Untitled Page</p>
<p> var $x1, $y1, $x2, $y2, $w, $h;</p>
<p> function selectChange(img, selection)<br />
 {<br />
   $x1.text(selection.x1);<br />
   $y1.text(selection.y1);<br />
   $x2.text(selection.x2);<br />
   $y2.text(selection.y2);<br />
   $w.text(selection.width);<br />
   $h.text(selection.height);<br />
 }</p>
<p> $(document).ready(function () {<br />
   $x1 = $(&#8216;#x1&#8242;);<br />
   $y1 = $(&#8216;#y1&#8242;);<br />
   $x2 = $(&#8216;#x2&#8242;);<br />
   $y2 = $(&#8216;#y2&#8242;);<br />
   $w = $(&#8216;#w&#8217;);<br />
   $h = $(&#8216;#h&#8217;);<br />
 });</p>
<p> $(window).load(function () {<br />
   $(&#8216;img#ttt1&#8242;).imgAreaSelect({ onSelectChange: selectChange, handles: true });<br />
 });</p>
<p>
           <b>Selection coordinates:</b><br />
           <b>X1:</b> <br />
           <b>Y1:</b> <br />
           <b>X2:</b> <br />
           <b>Y2:</b> </p>
<p>           <b>Selection dimensions:</b><br />
           <b>Width:</b> <br />
           <b>Height:</b> </p>
<p>Please shed some light.</p>
<p>When render the page, i see following javascript errrors.</p>
<p>Webpage error details</p>
<p>User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; GTB6; .NET CLR 1.1.4322; .NET CLR 1.0.3705; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; yie8)<br />
Timestamp: Fri, 26 Jun 2009 15:04:33 UTC</p>
<p>
Message: &#8216;jQuery&#8217; is undefined<br />
Line: 14<br />
Char: 1<br />
Code: 0<br />
URI: <a href="http://localhost:2779/Scripts/jquery.imgareaselect-0.8.js" rel="nofollow">http://localhost:2779/Scripts/jquery.imgareaselect-0.8.js</a></p>
<p>
Message: &#8216;jQuery&#8217; is undefined<br />
Line: 1<br />
Char: 1<br />
Code: 0<br />
URI: <a href="http://localhost:2779/Scripts/jquery.imgareaselect-0.8.min.js" rel="nofollow">http://localhost:2779/Scripts/jquery.imgareaselect-0.8.min.js</a></p>
<p>
Message: Object expected<br />
Line: 25<br />
Char: 2<br />
Code: 0<br />
URI: <a href="http://localhost:2779/" rel="nofollow">http://localhost:2779/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Samuele</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-323</link>
		<dc:creator>Samuele</dc:creator>
		<pubDate>Mon, 22 Jun 2009 13:20:38 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-323</guid>
		<description>Very cool plugin!
But, please, I need a function to cleanly remove entire ImageArea from image, for now I do this:

$(&#039;#myimage&#039;).remove();&lt;br /&gt;
$(&#039;.imgareaselect-selection&#039;).remove();&lt;br /&gt;
$(&#039;.imgareaselect-border1&#039;).remove();&lt;br /&gt;
$(&#039;.imgareaselect-border2&#039;).remove();&lt;br /&gt;
$(&#039;.imgareaselect-handle&#039;).remove();&lt;br /&gt;
$(&#039;.imgareaselect-outer&#039;).remove();&lt;br /&gt;

but when I reactivate imagearea strange things happend..</description>
		<content:encoded><![CDATA[<p>Very cool plugin!<br />
But, please, I need a function to cleanly remove entire ImageArea from image, for now I do this:</p>
<p>$(&#8216;#myimage&#8217;).remove();<br />
$(&#8216;.imgareaselect-selection&#8217;).remove();<br />
$(&#8216;.imgareaselect-border1&#8242;).remove();<br />
$(&#8216;.imgareaselect-border2&#8242;).remove();<br />
$(&#8216;.imgareaselect-handle&#8217;).remove();<br />
$(&#8216;.imgareaselect-outer&#8217;).remove();</p>
<p>but when I reactivate imagearea strange things happend..</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Wojciechowski</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-265</link>
		<dc:creator>Michal Wojciechowski</dc:creator>
		<pubDate>Mon, 01 Jun 2009 00:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-265</guid>
		<description>@Rob: I&#039;m not sure if my understanding is correct, but I assume you have set up the initial selection with the x1, y1, x2, and y2 options -- if so, then you already have the coordinates that you need to submit. You can just use the same values in the &quot;Save thumbnail&quot; click event handler.

As for specifying the selection as a percentage, I don&#039;t think it&#039;s necessary to implement this in the plugin, as in most cases you should be able to calculate the pixel selection coordinates simply by multiplying the image dimensions by the desired percentage.</description>
		<content:encoded><![CDATA[<p>@Rob: I&#8217;m not sure if my understanding is correct, but I assume you have set up the initial selection with the x1, y1, x2, and y2 options &#8212; if so, then you already have the coordinates that you need to submit. You can just use the same values in the &#8220;Save thumbnail&#8221; click event handler.</p>
<p>As for specifying the selection as a percentage, I don&#8217;t think it&#8217;s necessary to implement this in the plugin, as in most cases you should be able to calculate the pixel selection coordinates simply by multiplying the image dimensions by the desired percentage.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rob</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-248</link>
		<dc:creator>Rob</dc:creator>
		<pubDate>Thu, 28 May 2009 18:27:06 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-248</guid>
		<description>I appreciate your good work.

I like your script, and have modified it slightly to work with my site.

There is just one thing that I can not get to work. I would like the .imgareaselect function to display the selected block, but then when you press &#039;save thumbnail&#039; it should save without having to move the selection. This is for all the computer illiterates, who do not, or can&#039;t be bothered to select their best bit, and just press the button.

Could the selection also cover the picture as a percentage?

Thanks</description>
		<content:encoded><![CDATA[<p>I appreciate your good work.</p>
<p>I like your script, and have modified it slightly to work with my site.</p>
<p>There is just one thing that I can not get to work. I would like the .imgareaselect function to display the selected block, but then when you press &#8217;save thumbnail&#8217; it should save without having to move the selection. This is for all the computer illiterates, who do not, or can&#8217;t be bothered to select their best bit, and just press the button.</p>
<p>Could the selection also cover the picture as a percentage?</p>
<p>Thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mauvis</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-242</link>
		<dc:creator>Mauvis</dc:creator>
		<pubDate>Tue, 26 May 2009 17:03:29 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-242</guid>
		<description>Great plugin Michal,

I just emailed you with custom edits and features I added in my private version. Hopefully it will be the slightest bit useful.

Best,

Mauvis</description>
		<content:encoded><![CDATA[<p>Great plugin Michal,</p>
<p>I just emailed you with custom edits and features I added in my private version. Hopefully it will be the slightest bit useful.</p>
<p>Best,</p>
<p>Mauvis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Michal Wojciechowski</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-154</link>
		<dc:creator>Michal Wojciechowski</dc:creator>
		<pubDate>Fri, 24 Apr 2009 00:09:58 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-154</guid>
		<description>@Jason: I&#039;m planning to add an option to change the image in version 0.9. For now, I think you could just set a new &lt;code&gt;src&lt;/code&gt; attribute for the image, then call the plugin with the &lt;code&gt;hide&lt;/code&gt; option, e.g:
&lt;pre&gt;$(&#039;#img&#039;).attr(&#039;src&#039;, &#039;newimage.jpg&#039;);
$(&#039;#img&#039;).imgAreaSelect({ hide: true,
    x1: 0, y1: 0, x2: 0, y2: 0 });&lt;/pre&gt;</description>
		<content:encoded><![CDATA[<p>@Jason: I&#8217;m planning to add an option to change the image in version 0.9. For now, I think you could just set a new <code>src</code> attribute for the image, then call the plugin with the <code>hide</code> option, e.g:</p>
<pre>$('#img').attr('src', 'newimage.jpg');
$('#img').imgAreaSelect({ hide: true,
    x1: 0, y1: 0, x2: 0, y2: 0 });</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jason</title>
		<link>http://odyniec.net/blog/2009/04/imgareaselect-08/comment-page-1/#comment-151</link>
		<dc:creator>Jason</dc:creator>
		<pubDate>Thu, 23 Apr 2009 20:37:03 +0000</pubDate>
		<guid isPermaLink="false">http://odyniec.net/blog/?p=143#comment-151</guid>
		<description>Would like to see the ability to change the image (such as drag-and-drop a new image on the crop area). Maybe even a simple destroy() function, then I can put a new image in place and then reinit. Right now trying to decide between your tool or Jcrop. Thanks.</description>
		<content:encoded><![CDATA[<p>Would like to see the ability to change the image (such as drag-and-drop a new image on the crop area). Maybe even a simple destroy() function, then I can put a new image in place and then reinit. Right now trying to decide between your tool or Jcrop. Thanks.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
