<?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 for MJDIGITAL :: Mark Jackson | Digital Consultant</title>
	<atom:link href="http://www.mjdigital.co.uk/blog/comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mjdigital.co.uk/blog</link>
	<description>Online Marketing, SEO, Search engine optimisation, optimization, Web Development, digital strategy, digital strategist, online marketing consultant</description>
	<lastBuildDate>Mon, 30 Jan 2012 03:18:11 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>Comment on PHP upload, resize and crop image class by Jimmy</title>
		<link>http://www.mjdigital.co.uk/blog/php-upload-and-resize-image-class/comment-page-3/#comment-296</link>
		<dc:creator>Jimmy</dc:creator>
		<pubDate>Mon, 30 Jan 2012 03:18:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=176#comment-296</guid>
		<description>Great script!&lt;br&gt;&lt;br&gt;But I still got a problem with the png transparency. I&#039;m using the updated version with the cropping support. I saw an old comment talking about the same thing, but that was for the older version without the crop feature. I tried different things, but I still got black instead of transparency...&lt;br&gt;&lt;br&gt;By the way, there&#039;s no big deal, but I have another trouble. Is there a way to don&#039;t upload all the resized pictures ? I just need the original, the medium and small thumbnails.&lt;br&gt;&lt;br&gt;Please somebody help me!</description>
		<content:encoded><![CDATA[<p>Great script!</p>
<p>But I still got a problem with the png transparency. I&#39;m using the updated version with the cropping support. I saw an old comment talking about the same thing, but that was for the older version without the crop feature. I tried different things, but I still got black instead of transparency&#8230;</p>
<p>By the way, there&#39;s no big deal, but I have another trouble. Is there a way to don&#39;t upload all the resized pictures ? I just need the original, the medium and small thumbnails.</p>
<p>Please somebody help me!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Search and Replace text in whole MySQL database by alberto</title>
		<link>http://www.mjdigital.co.uk/blog/search-and-replace-text-in-whole-mysql-database/comment-page-1/#comment-295</link>
		<dc:creator>alberto</dc:creator>
		<pubDate>Fri, 20 Jan 2012 16:47:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=52#comment-295</guid>
		<description>Great script! thanks a lot.&lt;br&gt;I have just one suggestion.I used this script to do a search and replace in my magento db, and some column names have reserved words, so I needed backticks  in order to make it work.Just changed &lt;br&gt; $sql[$handle][&#039;sql&#039;] = &#039;UPDATE &#039;.$table.&#039; SET `&#039;.$field.&#039;` = REPLACE(`&#039;.$field.&#039;`,&#039;&#039;.$search.&#039;&#039;,&#039;&#039;.$replace.&#039;&#039;)&#039;;&lt;br&gt;and&lt;br&gt;     $sql[$handle][&#039;sql&#039;] = &#039;SELECT * FROM &#039;.$table.&#039; WHERE `&#039;.$field.&#039;` REGEXP(&#039;&#039;.$search.&#039;&#039;)&#039;;&lt;br&gt;on lines 88 and 90</description>
		<content:encoded><![CDATA[<p>Great script! thanks a lot.<br />I have just one suggestion.I used this script to do a search and replace in my magento db, and some column names have reserved words, so I needed backticks  in order to make it work.Just changed <br /> $sql[$handle][&#39;sql&#39;] = &#39;UPDATE &#39;.$table.&#39; SET `&#39;.$field.&#39;` = REPLACE(`&#39;.$field.&#39;`,&#39;&#39;.$search.&#39;&#39;,&#39;&#39;.$replace.&#39;&#39;)&#39;;<br />and<br />     $sql[$handle][&#39;sql&#39;] = &#39;SELECT * FROM &#39;.$table.&#39; WHERE `&#39;.$field.&#39;` REGEXP(&#39;&#39;.$search.&#39;&#39;)&#39;;<br />on lines 88 and 90</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Anatomy of a good internet marketing campaign by Sydney web designer</title>
		<link>http://www.mjdigital.co.uk/blog/anatomy-of-a-good-internet-marketing-campaign/comment-page-1/#comment-294</link>
		<dc:creator>Sydney web designer</dc:creator>
		<pubDate>Sun, 25 Dec 2011 21:21:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=226#comment-294</guid>
		<description>This article has a lot of unique and quality information. I found this to be not only well written, but engrossing and intelligent. The writer’s views are appealing and interesting. This couldn’t be written better.</description>
		<content:encoded><![CDATA[<p>This article has a lot of unique and quality information. I found this to be not only well written, but engrossing and intelligent. The writer’s views are appealing and interesting. This couldn’t be written better.</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Track XML or server-side files using Google Analytics by mj7</title>
		<link>http://www.mjdigital.co.uk/blog/track-xml-or-server-side-files-using-google-analytics/comment-page-1/#comment-293</link>
		<dc:creator>mj7</dc:creator>
		<pubDate>Thu, 08 Dec 2011 14:49:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=240#comment-293</guid>
		<description>George - not wanting to sound too obvious but how big is your PDF file? If it is quite small then can you post your code or PM it to me so I can take a look?&lt;br&gt;Ta&lt;br&gt;&lt;br&gt;MJ</description>
		<content:encoded><![CDATA[<p>George &#8211; not wanting to sound too obvious but how big is your PDF file? If it is quite small then can you post your code or PM it to me so I can take a look?<br />Ta</p>
<p>MJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on Track XML or server-side files using Google Analytics by George</title>
		<link>http://www.mjdigital.co.uk/blog/track-xml-or-server-side-files-using-google-analytics/comment-page-1/#comment-292</link>
		<dc:creator>George</dc:creator>
		<pubDate>Tue, 06 Dec 2011 18:04:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=240#comment-292</guid>
		<description>Everything works. The only problem is that when the redirection is done to the php script, it takes ages for the pdf to load, as if the server is working on something before it diplays the pdf. It takes between 10-20 seconds to load!</description>
		<content:encoded><![CDATA[<p>Everything works. The only problem is that when the redirection is done to the php script, it takes ages for the pdf to load, as if the server is working on something before it diplays the pdf. It takes between 10-20 seconds to load!</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP upload, resize and crop image class by Stefan Conradie</title>
		<link>http://www.mjdigital.co.uk/blog/php-upload-and-resize-image-class/comment-page-3/#comment-291</link>
		<dc:creator>Stefan Conradie</dc:creator>
		<pubDate>Wed, 30 Nov 2011 14:46:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=176#comment-291</guid>
		<description>Thanks Mark!&lt;br&gt;Something to work with... Am sure this will put me into the right direction.&lt;br&gt;&lt;br&gt;Will keep you posted</description>
		<content:encoded><![CDATA[<p>Thanks Mark!<br />Something to work with&#8230; Am sure this will put me into the right direction.</p>
<p>Will keep you posted</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP upload, resize and crop image class by mj7</title>
		<link>http://www.mjdigital.co.uk/blog/php-upload-and-resize-image-class/comment-page-3/#comment-290</link>
		<dc:creator>mj7</dc:creator>
		<pubDate>Wed, 30 Nov 2011 14:27:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=176#comment-290</guid>
		<description>Stefan&lt;br&gt;&lt;br&gt;I may need a little more info on exactly what you are trying to achieve, however, the following information may help you. The $minWidth and $minHeight parameters set the smallest area the crop tool will allow you to shrink to when dragging the handles. The final image size is set by $img_height_main and $img_width_main. &lt;br&gt;&lt;br&gt;The other thing is the aspect ratio of the draggable crop area - this is set by editing the $cropAspectRatio variable. This is a float/integer value and can be worked out by the following equation: width/height. Therefore if you want to have an image which is 200px wide by 150px high you need to set the $cropAspectRatio to: 1.33   ( = 200/150) - the issue here is that the actual aspect ratio is 4:3 which as a decimal is 1.333333 recurring so you may get some issues with it cropping a pixel too short occasionally. To get around this you may need to either revisit your required crop aspect ratio or if you prefer you can add the following to the previewImage.php file:&lt;br&gt;&lt;br&gt;Current Line 58:   $_image-&gt;source_file = $crop;&lt;br&gt;ADD THIS:            $_image-&gt;aspectRatio = &#039;false&#039;;&lt;br&gt;Current Line 59:   $_image-&gt;newWidth = $img_width;&lt;br&gt;&lt;br&gt;As the crop tool passes almost the correct aspect ratio anyway then when the image resizes it will resize to exactly the dimensions set by $img_height_main and $img_width_main and fix any issues with the crop aspect ratio - but obviously this may cause the image to stretch by 1 pixel rather than cropping perfectly.&lt;br&gt;&lt;br&gt;Hope that is vaguely understandable!&lt;br&gt;&lt;br&gt;MJ</description>
		<content:encoded><![CDATA[<p>Stefan</p>
<p>I may need a little more info on exactly what you are trying to achieve, however, the following information may help you. The $minWidth and $minHeight parameters set the smallest area the crop tool will allow you to shrink to when dragging the handles. The final image size is set by $img_height_main and $img_width_main. </p>
<p>The other thing is the aspect ratio of the draggable crop area &#8211; this is set by editing the $cropAspectRatio variable. This is a float/integer value and can be worked out by the following equation: width/height. Therefore if you want to have an image which is 200px wide by 150px high you need to set the $cropAspectRatio to: 1.33   ( = 200/150) &#8211; the issue here is that the actual aspect ratio is 4:3 which as a decimal is 1.333333 recurring so you may get some issues with it cropping a pixel too short occasionally. To get around this you may need to either revisit your required crop aspect ratio or if you prefer you can add the following to the previewImage.php file:</p>
<p>Current Line 58:   $_image-&gt;source_file = $crop;<br />ADD THIS:            $_image-&gt;aspectRatio = &#39;false&#39;;<br />Current Line 59:   $_image-&gt;newWidth = $img_width;</p>
<p>As the crop tool passes almost the correct aspect ratio anyway then when the image resizes it will resize to exactly the dimensions set by $img_height_main and $img_width_main and fix any issues with the crop aspect ratio &#8211; but obviously this may cause the image to stretch by 1 pixel rather than cropping perfectly.</p>
<p>Hope that is vaguely understandable!</p>
<p>MJ</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP upload, resize and crop image class by Stefan Conradie</title>
		<link>http://www.mjdigital.co.uk/blog/php-upload-and-resize-image-class/comment-page-3/#comment-289</link>
		<dc:creator>Stefan Conradie</dc:creator>
		<pubDate>Wed, 30 Nov 2011 13:20:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=176#comment-289</guid>
		<description>I am not sure if I am being stupid, but I tried changing:&lt;br&gt;$minWidth            = 200;                                        // set minimum image crop width&lt;br&gt;$minHeight            = 150;                                        // set minimum image crop height&lt;br&gt;in the demo index.php file, but with no luck.&lt;br&gt;This eventually only gives me a portrait crop box and when previewing it display differently from the selected crop section.&lt;br&gt;&lt;br&gt;Please help</description>
		<content:encoded><![CDATA[<p>I am not sure if I am being stupid, but I tried changing:<br />$minWidth            = 200;                                        // set minimum image crop width<br />$minHeight            = 150;                                        // set minimum image crop height<br />in the demo index.php file, but with no luck.<br />This eventually only gives me a portrait crop box and when previewing it display differently from the selected crop section.</p>
<p>Please help</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP upload, resize and crop image class by Stefan Conradie</title>
		<link>http://www.mjdigital.co.uk/blog/php-upload-and-resize-image-class/comment-page-3/#comment-288</link>
		<dc:creator>Stefan Conradie</dc:creator>
		<pubDate>Wed, 30 Nov 2011 00:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=176#comment-288</guid>
		<description>Hi Mark...&lt;br&gt;&lt;br&gt;I am not sure what I miss but how the script is now, its cropping in portrait....&lt;br&gt;How to go about to make it crop in landscape? &lt;br&gt;&lt;br&gt;Regards,&lt;br&gt;Stefan</description>
		<content:encoded><![CDATA[<p>Hi Mark&#8230;</p>
<p>I am not sure what I miss but how the script is now, its cropping in portrait&#8230;.<br />How to go about to make it crop in landscape? </p>
<p>Regards,<br />Stefan</p>
]]></content:encoded>
	</item>
	<item>
		<title>Comment on PHP upload, resize and crop image class by mj7</title>
		<link>http://www.mjdigital.co.uk/blog/php-upload-and-resize-image-class/comment-page-3/#comment-287</link>
		<dc:creator>mj7</dc:creator>
		<pubDate>Mon, 28 Nov 2011 15:10:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.mjdigital.co.uk/blog/?p=176#comment-287</guid>
		<description>Stefan&lt;br&gt;&lt;br&gt;You&#039;d use it either just before you call $myImage-&gt;upload() if you want to rename the uploaded image or before $myImage-&gt;resize() if you want to rename the resized image. It should be used when processing the form which posts the image. Hope that helps.&lt;br&gt;&lt;br&gt;MJ</description>
		<content:encoded><![CDATA[<p>Stefan</p>
<p>You&#39;d use it either just before you call $myImage-&gt;upload() if you want to rename the uploaded image or before $myImage-&gt;resize() if you want to rename the resized image. It should be used when processing the form which posts the image. Hope that helps.</p>
<p>MJ</p>
]]></content:encoded>
	</item>
</channel>
</rss>

