Instead of posting this new Issue in the other topic i had
about the similar system, because it is a separate issue I thought
it'd be best to keep them separate.
Ok so basically a user uploads a file, I rename it and store
it in an images folder and write the location of the image to a
text field in the database. All goes well up to here, the full path
to the file gets written to the database perfectly with the new
However when I try to print the images things go wrong.
according to the page source from when I test it the img src tag is
perfect with the correct file path and everything, however no image
gets displayed at all. Here is the code on fo it and then the page
source code. Any ideas?
Yup. Since CF is server side, you need the path to be
appropriate from the server's point of view, rather than from the
client's point of view. This same principle confuses people when
using tags such as CFFILE, etc.
I, personally, usually code it wrong the first time and than
correct it when I get the error. You would think I would learn to
do it right the first time!