Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Displaying images stored in SQL Server as text

Posted on 2014-10-17
2
Medium Priority
?
208 Views
Last Modified: 2017-02-05
I've created a web app in Coldfusion that needs to loop some records and print a form that shows signatures.  The signature image data is stored in a column in a MSSQL database.

The signature field is stored as text (not varbinary or image).  

I've tried every way I know - including URI - to get them to display - no luck.

Anybody have any suggestions?
0
Comment
Question by:Lakin IT
  • 2
2 Comments
 
LVL 52

Accepted Solution

by:
_agx_ earned 1500 total points
ID: 40387175
>> The signature field is stored as text

AFAIK, the only way it could be stored as "text" is if it were base64 encoded.  

Can you show us the code used to INSERT the image into the db? Then we can help you with how to display the results.
0
 
LVL 52

Expert Comment

by:_agx_
ID: 40474838
@LakinIT - So was it stored as a base64 encoded string?

It's more helpful to the next guy to archive the actual solution, rather than just guesses.
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
When crafting your “Why Us” page, there are a plethora of pitfalls to avoid. Follow these five tips, and you’ll be well on your way to creating an effective page.
The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…
Suggested Courses

879 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question