House of Fusion
Search over 2,500 ColdFusion resources here
  
Home of the ColdFusion Community

Mailing Lists
Home /  Groups /  Fusebox-Community

Displaying Images from SQL Server in Fusebox

  << Previous Post |  RSS |  Sort Oldest First |  Sort Latest First |  Subscribe to this Group Next >> 
Top  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Lady Tekla
09/25/2006 01:17 PM

I have a project where images are uploaded/saved in SQL Server.  Outside of fusebox, I can retrieve the image in various ways and display it within my CFML page.  Unfortunately, i'm required to use fusebox and have hit a brick wall. The solution I thought would help me was taking from "<a href="http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BC976-3048-80A9-EF7AE4D7D8F602B9">Serving Images from Databases</a>".  Except fusebox being fusebox, the image is returned broken. Has anyone dealt with this issue before?  And if so, do you have any ideas on how I can get the image to display? (I know that saving images to a database isn't ncouraged, except I don't have much choice in the matter.) Thanks. -c __________________________________________________ Do You Yahoo!? Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com

Top  |   Parent  |   Reply  |   Original Post  |   RSS Feed  |   Subscribe to this Group
Author:
Sandra Clark
09/25/2006 01:23 PM

What version of fusebox are you using?  There are different techniques between 3 and 4/5. In 4/5, the image is relative to the index.cfm.  In 3 the image is relative to the actual display fuse you are displaying the image in.  Even when retrieving it from a database, the image using Ben's technique is saved to the server.  If memory serves me correctly (and I haven't used FB3 for years, there is a variable to use for serving images or other items from the display file.  Anyone remember what it is? Sandra Clark ============================== http://www.shayna.com Training in Cascading Style Sheets and Accessibility I have a project where images are uploaded/saved in SQL Server.  Outside of fusebox, I can retrieve the image in various ways and display it within my CFML page.  Unfortunately, i'm required to use fusebox and have hit a brick wall. The solution I thought would help me was taking from "<a href="http://www.forta.com/blog/index.cfm?mode=entry&entry=A61BC976-3048-80A 9-EF7AE4D7D8F602B9">Serving Images from Databases</a>".  Except fusebox being fusebox, the image is returned broken. Has anyone dealt with this issue before?  And if so, do you have any ideas on how I can get the image to display? (I know that saving images to a database isn't ncouraged, except I don't have much choice in the matter.) Thanks. -c __________________________________________________ Do You Yahoo!? Tired of spam?  Yahoo! Mail has the best spam protection around http://mail.yahoo.com


<< Previous Thread Today's Threads Next Thread >>

Search fusebox-community

June 19, 2013

<<   <   Today   >   >>
Su Mo Tu We Th Fr Sa
             1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30             

Designer, Developer and mobile workflow conference