Alex I am not sure that you need that extra' in the middle of here [fotoNum]#'.jpg
Have you tried dumping the contents of foto to make sure you have the data that you need and are you also sure that fotoNum has a numerical value that you require? It may be helpful for these emails if you post the error message or part of it to give people more of a clue as to what is happening. Also, there is no '<' on your opening cfoutput but that may well be an email and typo or missed of a 'copy and paste'. On 1/16/07, alex poyaoan <[EMAIL PROTECTED]> wrote: > Hi everybody need help on this... > > have 10 pictures which rotates everyday on my web page.. the names and > description are fed on the database which the problem is the name of the file > doesn't include the extension .jpeg i need to include that in the cfoutput > tried it but the pictures doesn'ìt show.. if i insert .jpg on each picture > name in the database it is ok is there a possibility that i could include the > extension on the cfoutput? i tried inserting with the code below but it gives > me always an error. > > cfoutput> > <img src="images/#foto.name[fotoNum]#'.jpg" width="640" height="180" > border="0"> > </cfoutput> > > thanks > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| 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:266669 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

