Try a .jpg.  I've had funny issues with .gif files before.

Jake Churchill
CF Webtools
11204 Davenport, Ste. 100
Omaha, NE  68154
http://www.cfwebtools.com
402-408-3733 x103



David Moore wrote:
> I think I have everything correct, but the background of my dynamically 
> created image is black. Nothing I do will change that. Can someone tell me 
> what I am doing wrong. See the test site at: 
>
> http://www.wawalker.com/index.cfm?PageID=32&ParentPageID=44&NavLink=7
>
> <table width="100%" border="0" cellspacing="15" cellpadding="5">
>  <cfoutput query="getActiveArtists">
>   <cfset myImage=ImageNew("",500,20)>
>   <cfset attr = StructNew()>
>   <cfset attr.size=18>
>   <cfset attr.font="ScalaSans Regular">
>
>   <cfset ImageSetAntialiasing(myImage,"on")>
>   <cfset ImageSetBackgroundColor(myImage,"FFFFFF")>
>   <cfset ImageSetDrawingColor(myImage,"f15a31")>
>
>   <cfset ImageDrawText(myImage, "#Trim(Ucase(getActiveArtists.FirstName))# 
> #Trim(Ucase(getActiveArtists.LastName))#",10,17, attr)>
>
> <cfimage source="#myImage#" action="write" 
> destination="#getConfig.FilePath#/images/titles/aa_#getActiveArtists.ArtistNumber#.gif"
>  overwrite="yes">
>
> <tr><td valign="top"><img 
> src="#getConfig.URL#/images/titles/aa_#getActiveArtists.ArtistNumber#.gif"></td></tr>
>     </cfoutput>
>   </table>
>
> Thanks in advance for anyone's help. Or set me in a new direction...
>
> ~David 
>
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;203748912;27390454;j

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:311672
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to