<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">
	<channel>
	<title>Digital Rewind</title>
	<link>http://www.digitalrewind.com/</link>
	<description>Somewhat interesting information on Coldfusion and Internet programming.</description>
	<generator>Mango 1.5</generator>
	
	 
      <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/digitalrewind/coldfusion" /><feedburner:info uri="digitalrewind/coldfusion" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
         <title>Sam Moore's New Website</title>
         <description>&lt;p&gt;We just finished the updated layout programming for Sam Moore. They wanted the site to look more like the existing &lt;a href="http://www.hookerfurniture.com" target="_self"&gt;www.hookerfurniture.com&lt;/a&gt; parent site while adding updated meta data, social networking, fabrics, and product information.  The &lt;a href="http://web.archive.org/web/20110715234606/http://www.sammoore.com/" target="_blank"&gt;site was originally in ASP/HTML&lt;/a&gt; and didn't match their new marketing.  It's been completely redone with &lt;a href="http://www.adobe.com/products/coldfusion-family.html" target="_blank"&gt;Coldfusion&lt;/a&gt;, &lt;a href="http://www.mysql.com/" target="_blank"&gt;mySQL&lt;/a&gt;, &lt;a href="http://jquery.com/" target="_blank"&gt;jQuery&lt;/a&gt;, and &lt;a href="http://developer.yahoo.com/yui/grids/" target="_blank"&gt;YUI grids&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.sammoore.com" target="_blank"&gt;&lt;img style="border: 0;" src="/assets/content/posts/sm/sam-moore.png" alt="New Sam Moore Layout" width="515" height="340" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://web.archive.org/web/20110715234606/http://www.sammoore.com/" target="_blank"&gt;View the Previous Site for Comparison&lt;/a&gt;&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/jp8pE6ehFCQ/sam-moores-new-website</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/sam-moores-new-website</guid>
         <category>Amazon AWS</category><category>Coldfusion</category><category>jQuery</category><category>mySQL</category>
         <pubDate>Mon, 26 Sep 2011 18:47:30 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/sam-moores-new-website</feedburner:origLink></item> 
      <item>
         <title>Coldfusion MYSQL JDBC Data Truncated for Column on Import</title>
         <description>&lt;p&gt;This post is more for my notes so I remember it, but once again &lt;a href="http://www.bennadel.com"&gt;Ben Nadel's blog&lt;/a&gt; saved the day.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bennadel.com/blog/1209-Turning-On-Multiple-Statements-In-ColdFusion-8-MySQL-4-5-Datasource.htm"&gt;MYSQL MultiQueries 1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.bennadel.com/blog/1542-MySQL-3-4-com-mysql-jdbc-Driver-And-allowMultiQueries-true.htm"&gt;MYSQL MultiQueries 2&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;My problem was similar, but I was getting "Data Truncated for Column" errors using MYSQL import.  To stop this error, basically just let mysql truncate teh fields without throwing the error.  Follow Ben's instructions for whichever version of the driver you are using.  Except you want to add &lt;strong&gt;&lt;em&gt;jdbcCompliantTruncation=false &lt;/em&gt;&lt;/strong&gt;to the driver.  If you have multiple parameters then you separate them with an &lt;em&gt;&lt;strong&gt;&amp;amp;&lt;/strong&gt;&lt;/em&gt;.&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/VNhyLOZGR9I/coldfusion-mysql-jdbc-data-truncated-for-column-on-import</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/coldfusion-mysql-jdbc-data-truncated-for-column-on-import</guid>
         <category>Coldfusion</category><category>mySQL</category>
         <pubDate>Mon, 11 Jul 2011 18:00:14 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/coldfusion-mysql-jdbc-data-truncated-for-column-on-import</feedburner:origLink></item> 
      <item>
         <title>Bassett Mirror Company's New Website</title>
         <description>&lt;p&gt;My friend's over at &lt;a href="http://www.chatmoss.com/" target="_blank"&gt;Chatmoss Web Systems&lt;/a&gt; launched the updated version of &lt;a href="http://www.bassettmirror.com/"&gt;Bassett Mirror Company's&lt;/a&gt; website this week.&lt;/p&gt;
&lt;p&gt;&lt;img src="/assets/content/posts/bmc/bmc-page.jpg" alt="BMC Website" width="477" height="388" /&gt;&lt;/p&gt;
&lt;p&gt;I think they did a wonderfull job, but you may be asking why am I posting about it?  I helped out with the images :) The site is being powered by our image library and web services from &lt;a href="http://www.furnishweb.com" target="_blank"&gt;FurnishWEB&lt;/a&gt; written in Coldfusion and hosted on Amazon's S3.&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/CYS0DluGZRk/bassett-mirror-companys-new-website</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/bassett-mirror-companys-new-website</guid>
         <category>Amazon AWS</category><category>Coldfusion</category>
         <pubDate>Fri, 20 May 2011 23:36:41 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/bassett-mirror-companys-new-website</feedburner:origLink></item> 
      <item>
         <title>Railo SES URL subfolders with Tomcat</title>
         <description>&lt;p&gt;This is a continuation of my &lt;a href="/post.cfm/railo-ses-url-subfolders-with-jetty"&gt;last post&lt;/a&gt;. In my effort to not have a million domain names and hosts file edits; I setup my TOMCAT server on ec2 the same way as the jetty server on my laptop :).  This is to get SES urls to work  on TOMCAT in a subfolder.&lt;/p&gt;
&lt;p&gt;To get &lt;span style="font-family: Verdana, Tahoma, arial, sans-serif; font-size: 11px; color: #666666; line-height: 16px;"&gt;http://my.ec2-server.com/site1/index.cfm/fuseaction/my.page/test/1  to function properly we do something similar to Jetty.  This time we edit the /opt/railo/tomcat/conf/web.xml  file.  Search for /index.cfm/*&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family: Verdana, Tahoma, arial, sans-serif; font-size: 11px; color: #666666; line-height: 16px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;code&gt;&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;servlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;CFMLServlet&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;/index.cfm/*&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;servlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;CFMLServlet&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;  &lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;/site1/index.cfm/*&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;  &lt;br /&gt;&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;
Run
&lt;code&gt;/opt/railo/railo_ctl restart&lt;/code&gt;

And you are all set.</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/3FmjgQrq7wo/railo-ses-url-subfolders-with-tomcat</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/railo-ses-url-subfolders-with-tomcat</guid>
         <category>Amazon AWS</category><category>Coldfusion</category><category>Railo</category>
         <pubDate>Tue, 19 Apr 2011 03:49:10 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/railo-ses-url-subfolders-with-tomcat</feedburner:origLink></item> 
      <item>
         <title>Railo SES URL subfolders with Jetty</title>
         <description>&lt;p&gt;I've been working my way through learning the ins and outs of Railo over the last few months.  So far I'm impressed, but still trying to figure out all the quirks.&lt;/p&gt;
&lt;p&gt;Our sites use Fusebox and SES url's and for some reason they would work on my EC2 instance and not on my laptop.  If I searched for a solution most of the posts were old and pointed to  .cfm/* and .cfc/* needing to be added to the /railo/etc/defaultweb.xml.  It seems in the latest download these are already added.  So that didn't help me.  I finally figured it out though.  When I develop on my laptop I have all my webs in subfolders under the main web root : http://localhost:8888/cfbuilder/site1/index.cfm/fuseaction/my.page/test/1  for example.  The mappings only seem to work if the site is in the root.  So to get this to work you have to add : &lt;/p&gt;
&lt;p&gt;
&lt;code&gt;&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;servlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;CFMLServlet&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;*.cfm&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;*.cfml&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;*.cfc&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;*.cfm/*&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;*.cfml/*&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;*.cfc/*&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;/*.cfm/*&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;    &lt;span class='cc_normaltag'&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;/cfbuilder/site1/index.cfm/*&lt;span class='cc_normaltag'&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_normaltag'&gt;&lt;span class='cc_formtag'&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Kinda of a pain to add each site manually to the file, but it works.  So I can't complain too much.&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/HdgEadBL6bw/railo-ses-url-subfolders-with-jetty</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/railo-ses-url-subfolders-with-jetty</guid>
         <category>Coldfusion</category><category>Railo</category>
         <pubDate>Sat, 16 Apr 2011 15:57:08 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/railo-ses-url-subfolders-with-jetty</feedburner:origLink></item> 
      <item>
         <title>Vaughan-Bassett on ABC News made in America</title>
         <description>&lt;p&gt;One of our clients was on&lt;a href="http://abcnews.go.com/WN/MadeinAmerica"&gt; ABC news Made in America&lt;/a&gt; tonight.  A Dallas &lt;a href="http://abcnews.go.com/US/made-america-usry-familys-home-dallas-refitted-american/story?id=13041638"&gt;family replaced all their foreign made items&lt;/a&gt; with American made items which from the looks of the clips was harder than they thought.&lt;/p&gt;
&lt;p&gt;If you go to the listing of the items they bought for the house the bedroom furniture comes from &lt;a href="http://www.vaughan-bassett.com/"&gt;Vaughan-Bassett in Galax, Virginia&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;We built their site on Coldfusion, MYSQL, and Fusebox.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.vaughan-bassett.com/"&gt;&lt;img src="/assets/content/posts/vb/vb-screen-shot.jpg" alt="Vaughan-Bassett Furniture" width="513" height="397" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/Lfy2F1TddxY/vaughan-bassett-on-abc-news-made-in-america</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/vaughan-bassett-on-abc-news-made-in-america</guid>
         <category>Coldfusion</category><category>Stuff</category>
         <pubDate>Thu, 03 Mar 2011 02:04:39 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/vaughan-bassett-on-abc-news-made-in-america</feedburner:origLink></item> 
      <item>
         <title>Yahoo SLURP!  why are you so greedy?</title>
         <description>&lt;p&gt;Yesterday our servers were being hammered from IP address : 67.195.37.172 which appears to be the Yahoo indexer.  Then today I read a tweet from &lt;a href="http://www.bennadel.com/"&gt;Ben Nadel&lt;/a&gt; he was having the same thing happen.  So I thought I would write a quick post in case some others were having the same issue.&lt;/p&gt;
&lt;p&gt;On the &lt;a href="http://help.yahoo.com/l/us/yahoo/search/webcrawler/slurp-03.html;_ylt=AoHIyzeVN2ct3voDKhD_yKuygiN4"&gt;Yahoo SLURP!&lt;/a&gt; page they suggest adding : &lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Crawl-delay:10&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt; to your robots.txt file.  Where the number is the seconds of delay before it hits you with another request.&lt;/p&gt;
&lt;p&gt;This seemed to stop the problem unless SLURP! just gave up :)&lt;/p&gt;
&lt;p&gt;In doing more research there appears to also be a &lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre-wrap;"&gt;&lt;strong&gt;Visit-time: 1800-2330&lt;/strong&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="white-space: pre-wrap;"&gt;entry you can make but nothing supports it right now.  I added it just in case.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt; &lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/TLEtcODHgzI/yahoo-slurp-overloading-server</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/yahoo-slurp-overloading-server</guid>
         <category>Coldfusion</category><category>Stuff</category>
         <pubDate>Fri, 08 Oct 2010 21:25:09 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/yahoo-slurp-overloading-server</feedburner:origLink></item> 
      <item>
         <title>Amazon Linux AMI and Coldfusion 9</title>
         <description>&lt;p&gt;For fun this weekend I was playing with the &lt;a href="http://aws.amazon.com/amazon-linux-ami/"&gt;Amazon Linux&lt;/a&gt; on EC2  with Coldfusion 9.  Since Amazon Linux is based on &lt;a href="http://www.centos.org/"&gt;CENTOS&lt;/a&gt; I figured it shouldn't be too hard to get it to work so why not...  I'll make the disclaimer now that &lt;a href="http://www.centos.org/"&gt;CENTOS &lt;/a&gt;and &lt;a href="http://aws.amazon.com/amazon-linux-ami/"&gt;Amazon Linux&lt;/a&gt; are not offically supported, but we have been running Coldfusion 7/8 on &lt;a href="http://www.centos.org/"&gt;CENTOS&lt;/a&gt; for a couple years now and it seems to work great once you get the installer and apache connector to work.&lt;/p&gt;
&lt;p&gt;I used &lt;strong&gt;Basic 64-bit Amazon Linux AMI 1.0&lt;/strong&gt;&lt;span class="ami_description"&gt;&lt;/span&gt;&lt;span class="ami_description"&gt; on a Micro T1 instance for my test.  Setting up launching and connecting to the instance is a bit out of reach for this post, but I just used the AWS console and followed the instructions to create my key-pair to SSH in.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;Once you have the instance launched and you are connected you use YUM to install apache:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;
yum install httpd &lt;br /&gt;
yum install httpd-devel&lt;br /&gt;
yum install libstdc++.so.5&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;[The httpd-devl and &lt;/span&gt;libstdc++.so.5 &lt;span class="ami_description"&gt;are required by the Coldfusion installer]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;Then Run:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;chkconfig httpd on &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;[This makes Apache start when the Image starts or you reboot it if you are on an EBS instance]&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;Then you need to get the Linux 64bit Coldfusion 9 off the Adobe website.  it's kinda silly you can't get to it with Curl, wGet, or Lynx.  So I downloaded it and put it on a private S3 Bucket the used curl to download it to my new instance&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;&lt;/span&gt;Then I followed &lt;a href="http://www.redelijkheid.com/blog/2010/4/1/adobe-coldfusion-9-on-centos-54-x64.html"&gt;Willem Redelijkheid's post on installing on CENTOS&lt;/a&gt; for directions on installing Coldfusion 9 and it worked like a charm.  Only one slight oddity when the Installer progress bar got to the end on the script it sat there for the longest time.  I hit enter and it displayed the Coldfusion install finished method.  Not sure why.&lt;/p&gt;
&lt;p&gt;Hope this helps someone else.  If you are running Coldfusion 9 on Amazon Linux ping me in the comments to let me know how it's going.&lt;/p&gt;
&lt;p&gt;&lt;span class="ami_description"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/B7UrPsZUprU/amazon-linux-ami-and-coldfusion-9</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/amazon-linux-ami-and-coldfusion-9</guid>
         <category>Amazon AWS</category><category>Coldfusion</category>
         <pubDate>Mon, 20 Sep 2010 16:07:10 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/amazon-linux-ami-and-coldfusion-9</feedburner:origLink></item> 
      <item>
         <title>CFIMAGE CMYK workaround to RGB</title>
         <description>&lt;p&gt;I deal with a large amount of CMYK images for work.  Some with Color Profiles and some without.  So far Coldfusion hasn't been much help.  Although it gets  closer with each new release.  Here is my workaround to convert CMYK images into RGB until Adobe lets us convert images with the CFIMAGE tag.&lt;/p&gt;
&lt;h2&gt;Starting Image&lt;/h2&gt;
&lt;p&gt;
&lt;img src="http://www.digitalrewind.com/assets/content/posts/cfimage-cmyk-rgb/bailey-cmyk.jpg" alt="CMYK Image with Color Profile" width="500" height="418" /&gt;&lt;/p&gt;
&lt;p&gt;Above is the starting image of my faithful coding companion Bailey.  I converted it to CMYK and added the U.S. Web Coated (SWOP) v2 color profile in Photoshop.  When you try and read this image in Coldfusion 8/9 it throws:  &lt;/p&gt;
&lt;p&gt;
&lt;code&gt;&lt;span class='comment'&gt;&amp;lt;!--- Try to get image info ---&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_cftag'&gt;&amp;lt;cfimage action=&lt;span class='cc_value'&gt;&amp;quot;info&amp;quot;&lt;/span&gt; source=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-cmyk-profile-800x600.jpg&amp;quot;&lt;/span&gt; structname=&lt;span class='cc_value'&gt;&amp;quot;cmyk&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;An exception occurred while trying to read the image.&lt;br /&gt;Unsupported Image Type&lt;/code&gt;
&lt;/p&gt;
&lt;p&gt;
This is where Imagemagick comes in.  We can convert the image to RGB and remove the color profiles so we can continue.  I chose to use a BASH script that I call with CFEXECUTE, but it appears to work calling it directly from CFEXECUTE.  I had problems in the past with this so I have always done it this way, in case you were wondering.&lt;/p&gt;
&lt;code&gt;#!/bin/bash&lt;br /&gt;infile=$1&lt;br /&gt;outfile=$2&lt;br /&gt;/usr/bin/convert $infile -strip -colorspace rgb -quality 100  $outfile&lt;br /&gt;echo &lt;span class='cc_value'&gt;&amp;quot;Convert Finished&amp;quot;&lt;/span&gt;&lt;br /&gt;exit 0&lt;/code&gt;
&lt;p&gt;I pass this script the file I want to convert and where I want to create the new RGB version.  The &lt;a href="http://www.imagemagick.org/script/command-line-options.php#strip"&gt;-strip&lt;/a&gt; command removes all the Photoshop meta data and the color profile.  The &lt;a href="http://www.imagemagick.org/script/command-line-options.php#colorspace"&gt;-colorspace rgb&lt;/a&gt;  command converts the image from CMYK to RGB.  Finally the &lt;a href="http://www.imagemagick.org/script/command-line-options.php#quality"&gt;-quality 100&lt;/a&gt; sets the JPG quality setting for the new image, I created the original at 100 so I just kept it that way for the new one.  (It can be adjusted to your personal preference or requirement from 1 to 100.)  The new image will keep the same dimensions and resolution as the original image had to start.&lt;/p&gt;
&lt;h2&gt;Coldfusion Example&lt;/h2&gt;
&lt;code&gt;&lt;span class='cc_cftag'&gt;&amp;lt;cftry&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='comment'&gt;&amp;lt;!--- Try to get image info ---&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_cftag'&gt;&amp;lt;cfimage action=&lt;span class='cc_value'&gt;&amp;quot;info&amp;quot;&lt;/span&gt; source=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-cmyk-profile-800x600.jpg&amp;quot;&lt;/span&gt; structname=&lt;span class='cc_value'&gt;&amp;quot;cmyk&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;br /&gt; &lt;span class='cc_cftag'&gt;&amp;lt;cfcatch type=&lt;span class='cc_value'&gt;&amp;quot;any&amp;quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt; &lt;span class='comment'&gt;&amp;lt;!--- If it fails convert to RGB and Strip Information with ImageMagick ---&amp;gt;&lt;/span&gt;&lt;br /&gt; &lt;span class='cc_cftag'&gt;&amp;lt;cfexecute name=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/img_to_rgb.sh&amp;quot;&lt;/span&gt; &lt;br /&gt;  arguments=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-cmyk-profile-800x600.jpg #expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images-convert/bailey-rgb-800x600.jpg&amp;quot;&lt;/span&gt; &lt;br /&gt;  timeout=&lt;span class='cc_value'&gt;&amp;quot;30&amp;quot;&lt;/span&gt; variable=&lt;span class='cc_value'&gt;&amp;quot;msg&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;br /&gt; &lt;span class='cc_cftag'&gt;&amp;lt;/cfcatch&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_cftag'&gt;&amp;lt;/cftry&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='comment'&gt;&amp;lt;!--- Image can now be read ---&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_cftag'&gt;&amp;lt;cfimage action=&lt;span class='cc_value'&gt;&amp;quot;info&amp;quot;&lt;/span&gt; source=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-rgb-800x600.jpg&amp;quot;&lt;/span&gt; structname=&lt;span class='cc_value'&gt;&amp;quot;cmyk&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;/code&gt;
&lt;p&gt;In the Coldfusion example i created here I first try to read the image information.  If this fails I call the script to convert the image to RGB and remove the profile information.  Then I read the file with CFIMAGE and it works. If that fails then you started out with a bum image to begin with. &lt;/p&gt;
&lt;p&gt; If you aren't on OS X or Linux and want to call ImageMagick directly it would work like this :&lt;/p&gt;
&lt;code&gt;&lt;span class='cc_cftag'&gt;&amp;lt;cftry&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class='comment'&gt;&amp;lt;!--- Try to get image info ---&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class='cc_cftag'&gt;&amp;lt;cfimage action=&lt;span class='cc_value'&gt;&amp;quot;info&amp;quot;&lt;/span&gt; source=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-cmyk-profile-800x600.jpg&amp;quot;&lt;/span&gt; structname=&lt;span class='cc_value'&gt;&amp;quot;cmyk&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class='cc_cftag'&gt;&amp;lt;cfcatch type=&lt;span class='cc_value'&gt;&amp;quot;any&amp;quot;&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class='comment'&gt;&amp;lt;!--- If it fails convert to RGB and Strip Information with ImageMagick ---&amp;gt;&lt;/span&gt;&lt;br /&gt;   &lt;span class='cc_cftag'&gt;&amp;lt;cfexecute name=&lt;span class='cc_value'&gt;&amp;quot;/usr/bin/convert&amp;quot;&lt;/span&gt; &lt;br /&gt;   arguments=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-cmyk-profile-800x600.jpg -strip -colorspace rgb -quality 100 #expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-rgb-800x600.jpg&amp;quot;&lt;/span&gt; &lt;br /&gt;   timeout=&lt;span class='cc_value'&gt;&amp;quot;30&amp;quot;&lt;/span&gt; variable=&lt;span class='cc_value'&gt;&amp;quot;msg&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;br /&gt;  &lt;span class='cc_cftag'&gt;&amp;lt;/cfcatch&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_cftag'&gt;&amp;lt;/cftry&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='comment'&gt;&amp;lt;!--- Image can now be read ---&amp;gt;&lt;/span&gt;&lt;br /&gt;&lt;span class='cc_cftag'&gt;&amp;lt;cfimage action=&lt;span class='cc_value'&gt;&amp;quot;info&amp;quot;&lt;/span&gt; source=&lt;span class='cc_value'&gt;&amp;quot;#expandpath(&amp;quot;&lt;/span&gt;.&lt;span class='cc_value'&gt;&amp;quot;)#/images/bailey-rgb-800x600.jpg&amp;quot;&lt;/span&gt; structname=&lt;span class='cc_value'&gt;&amp;quot;cmyk&amp;quot;&lt;/span&gt; /&amp;gt;&lt;/span&gt;&lt;/code&gt;
&lt;h2&gt;RGB Image&lt;br /&gt;&lt;/h2&gt;
&lt;p&gt;&lt;img src="http://www.digitalrewind.com/assets/content/posts/cfimage-cmyk-rgb/bailey-rgb.jpg" alt="RGB File after Conversion" width="500" height="418" /&gt;&lt;/p&gt;
&lt;p&gt;So here is the new image of Bailey that is now RGB and all the Profile information removed.  The coloring of the image changes slightly when you convert it to RGB from CMYK, but so far I haven't found a way to get it any closer.   You can also resize and get the image info with Imagemagick, but I am doing that with CFIMAGE.  In hopes that I can one day just comment this out and all the operations will work consistantly.  &lt;a title="Fix CMYK" href="/post.cfm/cfimage-cmyk-rgb"&gt;Maybe Adobe will fix that in the next release so this can all be done in CFIMAGE.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps out others struggling with the same issue. This works well ( I have converted thousands of images) on Linux and OS X. I haven't tried it on windows, but I would assume it would work by either calling it directly or wrapping it in a BATCH file.  If anyone tries it on Windows let me know.&lt;/p&gt;
&lt;h2&gt;Links&lt;/h2&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="http://www.imagemagick.org/script/index.php" target="_blank"&gt;ImageMagick&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="Original Bailey CMYK" href="http://www.digitalrewind.com/assets/content/posts/cfimage-cmyk-rgb/bailey-cmyk-profile-800x600.jpg"&gt;Bailey CMYK&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="Final Bailey RGB" href="http://www.digitalrewind.com/assets/content/posts/cfimage-cmyk-rgb/bailey-rgb-800x600.jpg"&gt;Bailey RGB&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a title="Code" href="http://www.digitalrewind.com/assets/content/posts/cfimage-cmyk-rgb/code.zip"&gt;Code till I get the blog displaying better.&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;br/&gt;&lt;br/&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/KXL-V4HAVqU/cfimage-cmyk-workaround-rgb</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/cfimage-cmyk-workaround-rgb</guid>
         <category>Coldfusion</category>
         <pubDate>Mon, 16 Aug 2010 02:49:29 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/cfimage-cmyk-workaround-rgb</feedburner:origLink></item> 
      <item>
         <title>Vote for CFIMAGE to convert CMYK to RGB</title>
         <description>&lt;p&gt;&lt;a href="http://www.elliottsprehn.com/cfbugs/bugs/79057" target="_blank"&gt;Vote for this Bug / enhancement Fix&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform"&gt;Feature Request Form&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We work with a lot of CMYK formatted images for our clients.  Their original photography comes from the studio as CMYK Jpegs.  They need to be converted to RGB format for use on our Internet sites so we can't use &lt;a href="http://forums.adobe.com/thread/433679"&gt;CFIMAGE&lt;/a&gt; to create thumbnails or smaller photography.  The only choice we have is to use &lt;a href="http://www.imagemagick.org/script/index.php"&gt;Imagemagick&lt;/a&gt; on the server for all of the image conversion or convert it with &lt;a href="http://www.imagemagick.org/script/index.php"&gt;Imagemagick&lt;/a&gt; and then Resize with &lt;a href="http://forums.adobe.com/thread/433679"&gt;CFIMAGE&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you are in the same boat please vote it up or put in a feature request.&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/hUJczXZvLAY/cfimage-cmyk-rgb</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/cfimage-cmyk-rgb</guid>
         <category>Coldfusion</category>
         <pubDate>Fri, 13 Aug 2010 04:55:13 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/cfimage-cmyk-rgb</feedburner:origLink></item> 
      <item>
         <title>Hello World! - Mango Blog Update</title>
         <description>&lt;p&gt;Hello! and welcome to my blog. This is my first post just to see how things are working.&lt;/p&gt;
&lt;p&gt;Migrating over to Mango Blog.  Will have some of the old content up shortly.  Then I will take a stab at making the updates more regularly.&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/AL62iuSlQIs/hello-world</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/hello-world</guid>
         <category>Coldfusion</category>
         <pubDate>Sat, 24 Jul 2010 00:57:38 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/hello-world</feedburner:origLink></item> 
      <item>
         <title>mySQL Updates from more than one table</title>
         <description>&lt;p&gt;I can never seem to remember the mySQL syntax for JOINED updates when
 I need them and the mysql documentation on their site doesn't help a 
whole lot. Then I always forget what the exact phase to google for. 
(Joined updates, multi-table updates, updating from one table to 
another, etc..)  I found some great examples over on the electictoolbox 
that makes it dead simple.&lt;/p&gt;
&lt;p&gt;So I am posting it here as a reminder later on , and in case someone else was wondering how to do it and couldn't find it.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://www.electrictoolbox.com/article/mysql/cross-table-update/"&gt;ELECTRICTOOLBOX JOINED UPDATE EXAMPLES&lt;/a&gt;&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/c1i3l6jImd8/mysql-updates-from-more-than-one-table</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/mysql-updates-from-more-than-one-table</guid>
         <category>Coldfusion</category><category>mySQL</category>
         <pubDate>Fri, 01 May 2009 04:00:00 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/mysql-updates-from-more-than-one-table</feedburner:origLink></item> 
      <item>
         <title>Web Icons</title>
         <description>&lt;p&gt;
I am forever doing admin utilities for our web projects, CMS, Link 
managers, Photo Uploaders etc. With my limited art/fireworks skills I 
could never make anything that looked right :P.  The other day I found a
 great website for icons.  There are a ton of them and they look really nice.  if you are art challenged like me check them out. 
&lt;/p&gt;
&lt;p&gt;
Check them out :  &lt;a href="http://www.famfamfam.com/lab/icons/silk/"&gt;FAMFAMFAM&lt;/a&gt;&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/7oPF1LIeuSU/web-icons</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/web-icons</guid>
         <category>Coldfusion</category><category>Stuff</category>
         <pubDate>Sat, 12 Jul 2008 01:48:50 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/web-icons</feedburner:origLink></item> 
      <item>
         <title>MYSQL Slow Subquery using IN</title>
         <description>&lt;p&gt;I finally found the correct information today to figure out why some 
kinds of subqueries take forever to come back in mysql.  If you are 
using a subquery with a MYSQL IN() like this:&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;select o.ack,o.product&lt;br /&gt;from orders o&lt;br /&gt;where o.ack in (&lt;br /&gt;select distinct ack&lt;br /&gt;from orders&lt;br /&gt;where  status in ('Shipped','Cancelled')&lt;br /&gt;group by ack&lt;br /&gt;having DATE_ADD( DATE_SUB( now( ) , INTERVAL DAYOFMONTH( now( ) ) - 1 DAY ) , INTERVAL -3 MONTH )  max(status_date)))&lt;br /&gt;order by o.ack, o.line&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It takes a few minutes to return a result.  If you take the same 
query and reorder it to put the subquery in the from with a join it 
comes back almost instanty :&lt;/p&gt;
&lt;p&gt;
&lt;code&gt;select o.ack,o.product&lt;br /&gt;from orders o&lt;br /&gt;inner join (select distinct ack&lt;br /&gt;from &amp;nbsp;&amp;nbsp;&amp;nbsp;orders&lt;br /&gt;where  &amp;nbsp;&amp;nbsp;&amp;nbsp;status in ('Shipped','Cancelled')&lt;br /&gt;group by ack&lt;br /&gt;having &amp;nbsp;&amp;nbsp;&amp;nbsp;DATE_ADD( DATE_SUB( now( ) , INTERVAL DAYOFMONTH( now( ) ) - 1 DAY ) , INTERVAL -3 MONTH ) &amp;gt; max(status_date)) old_o&lt;br /&gt;on o.ack = old_o.ack&lt;br /&gt;order by o.ack, o.line&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;It's interesting on MSSQL that the IN() subquery syntax is much faster.&lt;/p&gt;
&lt;p&gt;Here's a link to the bug report:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://bugs.mysql.com/bug.php?id=4040"&gt;bugs.mysql.com/bug.php&lt;/a&gt; ( Thanks     Jeremy Pointer )&lt;/p&gt;</description>
         <link>http://feedproxy.google.com/~r/digitalrewind/coldfusion/~3/Ycx0hfQtl4o/mysql-subqueries-using-in</link>
         <guid isPermaLink="false">http://www.digitalrewind.com/post.cfm/mysql-subqueries-using-in</guid>
         <category>Coldfusion</category><category>mySQL</category>
         <pubDate>Wed, 11 Jun 2008 04:00:00 GMT</pubDate>
      <feedburner:origLink>http://www.digitalrewind.com/post.cfm/mysql-subqueries-using-in</feedburner:origLink></item> 
   </channel>
</rss>

