Focal Point
[CLOSED] .jpeg as a data element

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/3397024236

July 25, 2013, 11:39 AM
Al_C
[CLOSED] .jpeg as a data element
I work at a community college and have been asked to include student photos on class rosters.

I was considering importing the jpg's into an oracle blob field and the displayiing the photo along with the student's name address.....

has anyone tried something like this?

is there a data type that will render a picture rather than displaying the .jpg's raw data

This message has been edited. Last edited by: <Kathryn Henning>,


WebFOCUS 7.6.9
Windows
all output (Excel, HTML, PDF)
July 25, 2013, 11:47 AM
Francis Mariani
First, please correct your typos - this will help in future searches; "jpog", "jps".

Second, if you search for 'jpeg blob' you will get a couple of results that may help.

Cheers,


Francis


Give me code, or give me retirement. In FOCUS since 1991

Production: WF 7.7.05M, Dev Studio, BID, MRE, WebSphere, DB2 / Test: WF 8.1.05M, App Studio, BI Portal, Report Caster, jQuery, HighCharts, Apache Tomcat, MS SQL Server
July 26, 2013, 08:11 AM
J
Unless you do some work behind the scenes, blob images will only work in pdf format in 7.7.03 (I don't know about your version). I read somewhere that html format now supports blob images in 8. This type of program isn't two hard, you just need to compute rownbr (by field), colnbr(across field), etc. to get everything right. It helps if all the pictures are similar in size. Page-break when needed. I'll let you figure out the rest.


WebFOCUS 7.7.03/8.0.08
Dev Studio 7.7.03/8.0.08
App Studio 8.0.08
Windows 7
ALL Outputs
July 30, 2013, 08:11 AM
djones
For HTML output we just use a DEFINE to build a link that points to the picture on our ID System.
 <img src=http://server.edu/path/photos/' ||StudentID || '.jpg width = 60 >';   

Then just print the DEFINE field in your report. This doesn't work for PDF output.


WebFOCUS 8.0.05
Windows- Excel, PDF
August 05, 2013, 06:48 AM
linnex
Hi,

If you "only" need HTML reports with images from ORA BLOBs, this might help you

Cheers Linne


WebFOCUS 7.7.03