Re: OT: General Question...
Oddly enough I just read a good article about PNG yesterday: http://www.digital-web.com/articles/web_standards_creativity_png/ Includes = IE6 workarounds and some ideas for creative use of the transparency. IE7 does just fine with alpha channel transparency in PNG. IIRC, IE6 handles single color transparency in PNG-8 images without trouble, but with alpha channel transparency it ends up displaying a matte of whatever color 0 was set to. One gotcha mentioned in the comments to that article is that Firefox honors the gamma correction value stored in a PNG. This can cause color matching issues. Cheers, Paul. On 5/31/07, Rick Faircloth [EMAIL PROTECTED] wrote: Are .png images in wide-spread use? Any limitations in browsers or otherwise which would cause me to want to avoid their use? Rick ~| Create Web Applications With ColdFusion MX7 Flex 2. Build powerful, scalable RIAs. Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJS Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279756 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Moving from CF5 on Windows to CFMX on Linux
Jim McAtee wrote: Most of our data is in MySQL. But another issue we face is that a couple of legacy applications use Access via ODBC. The databases are complex enough and the applications so seldom used that migrating these to MySQL isn't really feasible. I'm not sure what that means should we move to Linux. It's been a while since I last checked (late in 2005) but the Linux version of CFMX 7 didn't have an Access DB driver at the time. You'd be well advised to check into that. We had good luck with the MySQL Migration utility, but the Access DB involved was not very complex or large. ~| ColdFusion MX7 and Flex 2 Build sales marketing dashboard RIAâs for your business. Upgrade now http://www.adobe.com/products/coldfusion/flex2?sdid=RVJT Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:279037 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Image Resize Code
Hi, Not a component, but I've successfully used the open-source Imagemagick suite (http://www.imagemagick.org/) called through CFEXECUTE to resize, reorient (assuming the source image has valid EXIF orientation data) and overlay a SOLD graphic on top of an uploaded image. If you're in a position to install it on the server, it would be worth checking out, and is available in Windows and Linux/Unix versions. HTH, Paul. On 5/4/07, Rey Bango [EMAIL PROTECTED] wrote: I'm in need of an image resize component. Basically, it should take any uploaded image and be able to create resized versions in: 400x300, 180x135 67x50 preferably without losing image quality. I know of the Alagad suite which can handle my needs but before I buy one, I'd like to see if there are any open source components available. Any help would be appreciated. Rey ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:277015 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: MySQL 4.1 and CFQUERYPARAM
On 3/9/07, Pete Ruckelshaus wrote: Is this indeed true that MySQL doesn't seem to like the cfqueryparam tag? If so, does the same hold true for MySQL 5? What driver are you using for the connection to the MySQL database? I just had a similar sounding problem related to that: MySQL (both 4.0 and 5.0 series) is fine with CFQUERYPARAM, but I did run into an odd INSERT problem recently. I coded and tested a small application, which used CFQUERYPARAM, successfully on my workstation, but when I sent the work-so-far to the person who will eventually deploy the finished version, the INSERT query threw an error on his system, with the message unknown types value. It took a while to figure out, but the killer difference was the database driver. He was apparently using the CFMX7 built-in driver, which seemed to be OK when configured, but failed on the insert statement, whereas I had the MySQL Connector/J installed and was using that for the database connection. He installed and configured that on his system and the problem went away. It did continue to throw the same error, in the same place, with that one CFQUERYPARAM removed, but I never did try it with *all* of them removed from the query. http://wantonline.com/blog/index.cfm/2006/3/2/MySQL-5-and-CFMX-7 has a link to the Connector/J and some info on how to set it up if you need to do that. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:272599 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Problem with chr() and Linux?
On 11/29/06, Markus Weber [EMAIL PROTECTED] wrote: Hi guys, i have the following simple code: cfsavecontent variable=sTmpMailContent À Á á ý ò ë Ç /cfsavecontent cfscript sTmpMailContent = Replace(sTmpMailContent,chr(192),'Agrave;','all'); sTmpMailContent = Replace(sTmpMailContent,chr(193),'Aacute;','all'); /cfscript cfoutput#sTmpMailContent#/cfoutput It works fine on Windows but can´t find the characters on Linux. What´s the problem? The server's most likely storing the accented characters as something other than chr(192), chr(193), etc., so CF can't match them correctly. I encountered a similar problem with one of our Spanish language sites. It turned out that the accented characters were being totally stripped out or encoded wrongly during file transfer to the (SLES 9.1) server (using Dreamweaver's SFTP feature). We ran into several other odd issues with this type of character, depending on how we set the doctype and character encoding, and eventually just used ...; encoding. Our solution probably isn't what you need, but this may give you an idea where to look. -- Those who would give up essential liberty to purchase a little temporary safety, deserve neither liberty nor safety. - Benjamin Franklin ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:262877 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4