Hi all, I have a website with my travel stuff on it. This has been running for a while (5 years). Today I've realized that a few pictures don't display on the page anymore.
http://www.aresthetics.ch/trav/galleryCont.cfm?cont=AS (the flags) The flags are grabbed from the database by a function. Nothing has changed to the code, the database or the images. Looking at the image, it looks like it pushes a %20 before the image name - obviously it can't find it that way. However, I don't see where that is coming from, it's certainly not in the DB. Here's the code: On the page: <img src="images/flags/#functiongetflagname(country)#" align="absmiddle" alt="Flag of #country#"> The function: <cffunction name="functiongetflagname" returntype="string" hint="country"> <cfargument name="country" type="string" required="true"> <cfquery name="countryinfo" datasource="#APPLICATION.a_OCBC_Datasource#"> SELECT flagKl FROM countryinfo WHERE country = '#country#' </cfquery> <cfset flagname = countryinfo.flagKl> <cfreturn flagname> </cffunction> Not quite sure what I'm missing here. Any ideas? Any ideas WHY this suddenly happened? Adrian ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| ColdFusion 8 - Build next generation apps today, with easy PDF and Ajax features - download now http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:286590 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

