Jonathan
January 24th, 2001, 23:08
I would like to create a template to all the images of my site. I do not want to create an individual HTML file for each image so I would like to use a ColdFusion (CFM) template. I was wondering if there's someone who knows how to program these type of files or, at least, knows some tags to program it.
What I need is something like this:
http://www.server.com/directory/image.cfm?id=nameofimage&from=page
from=page would mean the gallery page that links to the picture. For example: idex5.html would be from=5.
I have used PHP to these type of problem but now I need to use CFM files. In PHP language, the tag I used was:
<A href="<?php print "http://www.server.com/index$from.html" ?>">
<IMG src="<?php print "http:///www.server.com/images/$id.jpg" ?>"></A>
I really hope somebody can help me. I need to find out how to do this. I will appreciate your help.
Thanks!
What I need is something like this:
http://www.server.com/directory/image.cfm?id=nameofimage&from=page
from=page would mean the gallery page that links to the picture. For example: idex5.html would be from=5.
I have used PHP to these type of problem but now I need to use CFM files. In PHP language, the tag I used was:
<A href="<?php print "http://www.server.com/index$from.html" ?>">
<IMG src="<?php print "http:///www.server.com/images/$id.jpg" ?>"></A>
I really hope somebody can help me. I need to find out how to do this. I will appreciate your help.
Thanks!