Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
xelatek #1
Custom Tag with images
I am trying to create a custom tag that displays a table and an image on a
table. The custom tag will actually reside inside the "custom tag" directory
for ColdFusion 7. How can i display the table and the image on the page? I
have no problem displaying the table. It is obviously just html text. But i'm
not sure how to get the image that is in the custom directory to display on the
page. What is the best way to do this? Anyone? Someone must have tried to
tackle this problem before. My custom tage directory looks like this:
C:\CFusionMX7\CustomTags\mycustomtag\mycustomtag.c fm
C:\CFusionMX7\CustomTags\mycustomtag\image.gif
Please help!
xelatek Guest
-
Extension: Dynamic Images/Advance Random Images
Hi there, I have downloaded 2 extensions: Dynamic Images or/and Advanced Random Images (kaosweaver.com); it seems both are the same and I have... -
Custom stamp images and print time
I've created a PDF of a page of sheet music output with fonts from a music notation program. From that I'm making a "sample" for my customers to... -
Distributing images required by custom control?
Hi, I am developing a new custom server control, and need to find the best way to store / retrieve the images which are required by the control.... -
Web Custom Control - Retrieve Images from a Multifile Assembly
How do I store an image and a web custom control's dll in a multifile assembly so that the image can be retrieved and displayed while the control... -
Creating Quick Vector Images from Raster images
Hi ! I am aware of the conventional methods to create vector images from raster images, i.e. drawing the lines individually, then adding... -
MikerRoo #2
Re: Custom Tag with images
It is possible but it is not a good idea (for security and portability mainly).
Better to copy the image to a directory off of your web root, say
"/commonGraphics/image.gif" and then have your customtag point to the image in
that location. Be sure to comment what external files are required -- or
better yet, make the file and path ,to "/commonGraphics/image.gif", just the
default of a paramter input to the custom tag.
Cheers,
-MikeR
MikerRoo Guest



Reply With Quote

