You should put the image file names in the database, then you can point to the file names using <img src="#picturepathandname#"> when you output each car.
You should put the image file names in the database, then you can point to the file names using <img src="#picturepathandname#" when you output each car.
Use the <cffile> tag in coldfusion.
Something like
<CFFILE
DESTINATION="C:\INETPUB\WWWROOT\SITEFOLDER\FILES\"
ACTION="UPLOAD"
NAMECONFLICT="OVERWRITE"
FILEFIELD="FileName">
If you want to pass variables in the short term, using session variables are the best.
in your application enable session variables with something like
<cfapplication name="whatevername" sessionmanagement="Yes">
then do you can do a example below of querying a database to...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.