Display image in report from BLOB

Hi All,
i have one requirement i.e
i want to display image in a report base on condition
like if id =1 then firest image, id = 2 then second image and id =3 then third image
i have image in database in BOLB type
i need to display in report based on that condition
please help me this requirement is urgent
reg,
jell

just create a query like this:
select id, image_name, image
from tablethen your XML output would be like this:
<ROWSET>
     <ROW>
          <ID>1</ID>
          <IMAGE_NAME>kljkla</IMAGE_NAME>
          <IMAGE>Lots of characters that represents the BLOB</IMAGE>
     </ROW>
     <ROW>
          <ID>2</ID>
          <IMAGE_NAME>jdkwel</IMAGE_NAME>
          <IMAGE>Lots of characters that represents the BLOB</IMAGE>
     </ROW>
     <ROW>
          <ID>3</ID>
          <IMAGE_NAME>oled</IMAGE_NAME>
          <IMAGE>Lots of characters that represents the BLOB</IMAGE>
     </ROW>
     <ROW>
          <ID>4</ID>
          <IMAGE_NAME>mlish</IMAGE_NAME>
          <IMAGE>Lots of characters that represents the BLOB</IMAGE>
     </ROW>
</ROWSET>in your RTF you put this:
<fo:instream-foreign-object content-type="image/jpg" width="251.8pt" height="174.3pt" xdofo:alt="picture"><xsl:value-of select=".//IMAGE"/></fo:instream-foreign-object>the attributes width and height are optional

Similar Messages

  • Display image in Report from File Server

    Hi
    As the logo of the company is changing every 3 - 4 months, i need a solution for this..
    my approach is to replace the new logo in file server
    call the logo in the oracle reports... using oracle reports 6i...
    but i am not able to do so ( which objects to be used like formula column, link file, ole) ... any help from your side will be good.
    Regards
    Yram

    You may put the logo into db as a blob column and retrieve it onto report. One update in db would update all calling reports.

  • Display Image on report through Field Definitions Only File.

    Hi all,
    I have a report where I work with Field Definitions Only files (ttx).
    These files are mapped to classes in code behind (csharp).
    In code behind I make lists of these classes. Each list is set as the datasource of a subreport.
    This works great!
    My new goal:
    Now I tried adding a picture to my report.
    In the TTX file I added a BLOB field.
    In the code-behind class I added a System.Drawing.Image.
    My actual problem:
    The class gets filled with the image, but the image is NOT displayed on the report
    Does anyone know why this is happening?
    How can I fix this? (should I use another Type in my class for the picture?) (should I format the picture in the report? ....)
    Kind regards,
    Wim

    Hi AG,
    Thanks for your response.
    This is my TTX field:
    Signature     BLOB          
    I can't see the image in the report because I create the image in code-behind.
    I think the problem doesn't occur in CrystalReports but in the conversion from my StrokeCollection (I use an InkCanvas [WPF] to capture a signature) to a ByteArray.
    I am already one step closer to the solution. You can't just assign an object of type Image to the BLOB field of the report but it has to be a Byte-Array.
    The problem I am facing now is that the picture is black after a conversion. (I see this when I export to disk and open the file in MSPaint).
    The good thing is that CR shows me a black image so I guess CR is doing its job!
    Kind regards,
    Wim

  • No data found when display image in report

    Hi,
    I have a table with a blob field in it which I use to store some image (gif),
    I tried to display the image in report but follow the guideline in http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21674/advnc_blob.htm#BCGBCHBD
    but when I run the report, error
    "report error:
    ORA-01403: no data found"
    prompt, I do not have MIME,FILENAME column in the table, so I define only
    IMAGE,Table Name,Column containing BLOB,Primary Key Column 1 and Primary Key Column 2 in the report column.
    Anyone has also this problem?
    Thanks
    Pek

    Hi,
    I found that the problem is there when I select the option
    "Use Generic Column Names (parse query at runtime only)" in the report.
    Is this a bug?
    Rgds
    Pek

  • Displaying image in report

    I'm new to CF Report Builder and having trouble determining
    how to get a dynamic image to display in the detail band. The query
    for the report correctly returns the image file name, but the
    following expression doesn't display the image although the path is
    correct.
    IIf(query.image NEQ "", DE("../images/smProds/" &
    query.image), DE("None"))
    When I run the report, I get just .. in the space where the
    image should display if one is available and the text "None" if the
    field is empty. I found a tutorial on Report Builder that suggested
    using similar code, but it didn't provide an actual example. Using
    their code produced the same lack of results.
    I've tried various versions of this with no success yet. Am I
    missing something about how to include an image in the report? A
    static image in the report uses the same basic path information. Of
    course that image name and path aren't being generated from an
    expression, it is just an inserted image and it shows up in the
    header and footer bands as expected.
    Thanks for any guidance.

    Thanks for the response. Sadly yes, the path is correct. I've
    tried both the relative path and the full path (e.g.
    ../images/theimage.jpg and
    http://mysite.com/images/theimage.jpg)
    . Putting either address into a browser will return the correct
    image if I'm in the right location.
    So, I can get this expression: IIf(query.image NEQ "",
    DE("../images/smProds/" & query.image), DE("None")) to display
    the correct path, but what I really need is the image located at
    that spot to display in the report. What is happening is that
    report builder is returning the string, but not the image. When I
    looked at the tutorial it implied that the image would be displayed
    rather than the string.
    Is there something in report builder that determines whether
    the actual image is displayed? A property setting that I'm missing?
    Or maybe the expression iteself is wrong i.e. it is doing exactly
    what it should (display the string) and a different expression
    format is required to get the image iteself. For example, flagging
    some text as a hyperlink to the image? Not sure how you would pass
    the image name value in that case.
    Appreciate your suggestions.

  • Displaying images when report is requested via Webservice

    As the <property name="html-image-base-uri"> doesn’t seem to exist in Oracle BI Publisher 11.1.1.6.2, generated graphs won't be displayed because the image path is set to "./cache9238472093487.jpg" instead of “http://servername:9704/xmlpserver/xdo/temp/cache20349823094.jpg"
    +Oracle Business Intelligence Publisher User's Guide Release 10.1.3.2+
    +http://docs.oracle.com/cd/E10091_01/doc/bip.1013/b40017/T421739T421745.htm#T473675+
    Versus
    +Oracle® Fusion Middleware Administrator's Guide for Oracle Business Intelligence Publisher 11g Release 1 (11.1.1)+
    +http://docs.oracle.com/cd/E23943_01/bi.1111/e22255/runtime_config.htm#htmlo+
    I'm curious to see if there is a solution for this problem, because if there isn't only requesting PDF or MHTML formats make sense.
    Is there a new setting replacing the html-image-base-uri property? Is there another viable way embedding Publisher reports in our ADF application?

    This is being seen when running the report from within our application. The report itself has been created and designed from within CR Designer v10. The actual report that the images are on is a on a subreport. The reason for this is that the main report needs to show a different number of images, either 1, 2, 4 or 6, depending on how many images are linked to the data in the database.
    We are using the CR SDK designed for use with Borland Delphi 7.

  • Cache of Displayed Images Stored in a BLOB

    I would like to know how I can cache the data that is an image stored as a blob? This is for when I refresh/revisit/branch to a page taht contains images sourced from a blob, such that it does not compel the browser to regenerate the blob image file data?

    Hi!
    We use jsp (for example ManagerPhoto.jsp), which is deployed to OC4J:
    Blob managerPhoto;
    response.reset();
    response.setHeader("Content-Disposition", "attachment; filename=manager_photo.jpg");
    response.setHeader("cache-control","public");
    ServletOutputStream outputStream = response.getOutputStream();
    outputStream.write(managerPhoto.getBytes(1, (int)managerPhoto.length()));
    out.clear();
    out = pageContext.pushBody();
    And HTML-code in the page to display an image:
    <img width=120 height=149 src=".../ManagerPhoto.jsp?p_orun_id=11">
    Regards,
    Al.

  • Display Image in Report

    Hi,
    I want to display image link in one of the columns in report.
    ex: if i click that image it should go to google maps.
    I stored the image in /res/s_protal/image.jpg and also in oc4j.
    I know to fmap to show it only once.
    but i want to reflect it in all the rows of a column.
    Things i tried:
    Stored in the same machine took the ip addres and prot and given as below it was working.
    But if i move it to other machines then it getting failed so again i want to update the machine ip.
    http://225.225.225.225:9704/analytics/res/s_proact/images/images.jpg
    Is there any possible way to give some common syntax so that the corresponding machine ip will be pointed once the
    report moved to different machines.
    Thanks,
    satheesh

    Hi Santeesh,
    I just saw your post and I thought I'd ask you with my query:
    I want to add some pop-up info on some of the data when the user hover on it. have you
    got a clue what do I need to do for that?
    Cheers,
    Yonatan

  • Display image in flex from database

    I am using flex and java and mysql,
    I upload image file into database from flex application.Now i want to display image in my flex
    RIA application from database.
    How can i do that??
    Thanks in advance!!!

    "B.O.H.R." <[email protected]> wrote in
    message
    news:g91dr3$b0f$[email protected]..
    >
    quote:
    > Ordinary Flex can't do this. You could probably do it in
    AIR. There's a
    > separate forum just for AIR applications.
    >
    >
    > Could you precise which things flex CAN'T ?:
    >
    > 1. load image file from local disk and represent it as
    an object in Flex
    > app?
    > 2. display image represented as object(created as above)
    in Flex app?
    > 3. transfer that object back and forth to database using
    BlazeDS ?
    >
    > Maybe there are posibilitie to make workaround of some
    inconviniences?
    > I am asking becaouse I realy would like to create such
    app in Flex.
    Flex can create an AIR application.
    But a swf file can't read from the local drive.
    HTH;
    Amy

  • Displaying xml publisher report from adf page.

    I am using jdev 10.1.3.3
    I have an requirment of displaying an xml publisher report on click of command button.
    any suggestion.how this can be achived.
    according to my understanding.
    if we create a folder in our web server which oc4j in our case.and we transfer the xml report through FTP in that folder.can we able to pick the report from that folder.
    can we display or call that report.please let me know??
    Is that possible.????????????
    any help would be helpfull

    Really appreciate your response. Can you pls give little more details.
    1] Are there any standard API's which I can use to submit XML publisher report from the JSP pages
    2]Is there any sample code snippet for any of the options that I can refer to..or pls let me know the API's, I will check on them
    Appreciate any help

  • Displaying image in report DESFORMAT ='SPREADSHEET' (Excel)

    Hi,
    I want to display a logo in Excel report. I have created one formula column with function
    function CF_4Formula return Char is
    begin
    return('/report/xls/gelogo_new.bmp');
    end;
    I have placed the image in the above path. When I execute the report image is not appearing in it.
    What could be the issue?
    Below is the code in After Parameter form Trigger.
    :DESTYPE = 'FILE'
    :DESNAME := '/report/stg/'||:p_report_name||'_'||:p_calendar_month||:p_calendar_year||'.xls';
    :DESFORMAT: 'SPREADSHEET'
    Also please tell me how to set/see the default directory of REPORTS_PATH in Unix server.
    Can anyone please help me out with this issue.
    Thanks,
    Kishore.

    Thanks for the response. Sadly yes, the path is correct. I've
    tried both the relative path and the full path (e.g.
    ../images/theimage.jpg and
    http://mysite.com/images/theimage.jpg)
    . Putting either address into a browser will return the correct
    image if I'm in the right location.
    So, I can get this expression: IIf(query.image NEQ "",
    DE("../images/smProds/" & query.image), DE("None")) to display
    the correct path, but what I really need is the image located at
    that spot to display in the report. What is happening is that
    report builder is returning the string, but not the image. When I
    looked at the tutorial it implied that the image would be displayed
    rather than the string.
    Is there something in report builder that determines whether
    the actual image is displayed? A property setting that I'm missing?
    Or maybe the expression iteself is wrong i.e. it is doing exactly
    what it should (display the string) and a different expression
    format is required to get the image iteself. For example, flagging
    some text as a hyperlink to the image? Not sure how you would pass
    the image name value in that case.
    Appreciate your suggestions.

  • Displaying images in reports 10g

    Hi All,
    I am trying to display my .bmp images in reports 10g. Do I need to make a .jar file and configure the formsweb.cfg accordingly in order to display it in reports? If not, how do I display that image while implementing Oracle 10gAS?
    Thanks,

    Hello,
    http://download-uk.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_howto.htm#CEGBEADI
    Oracle® Reports Building Reports
    10g Release 2 (10.1.2)
    B13895-01
    3 How To...
    3.9.8.1 Adding an image
    For paper-based reports only:
    Importing an image
    Linking an image object to a file
    Linking an image object to a URL
    Regards

  • Image in Report from FileSystem

    I have Reports 6i, my report is dislaying photos(JPEG) reading from file system,
    I am calling this report from FORMS and it is directly printing report output to printer.
    But while reading some image files(JPEG) report gives an error (file format not valid) and could'nt print.
    I want to trap this condition in report so that if it finds some invalid file format then it should ignore the image but print other data. Please reply [email protected]

    Please ignore this thread. Has resolved. Removed both images and put the background image first and recreate the database image on top of file system image later, so it works now.
    The solution (just in case) is remove both images and recreate them in the order, i.e the background image first and the foreground image later.
    Cheers

  • Cannot display the Crystal Report from BW..very Urgent

    Hello Friends,
    We are executing the Crystal report XI report from BW 3.50 but cannot displaying andgiving the error messgae as follows....
    <b>Service cannot be Reached</b>
    <b>What has happened?
    URL http://sapprodbw.company.com:8112/sap/bw/sap/bw/ce_url call was terminated because the corresponding service is not available.
    Note
    The termination occurred in system I12 with error code 404 and for the reason Not found.
    The selected virtual host was 0 .
    What can I do?
    Please select a valid URL.
    If you do not yet have a user ID, contact your system administrator.
    ErrorCode:ICF-NF-http-c:000-u:SAPSYS-l:E-i:sapprodbw_I12_12-v:0-s:404-r:Notfound
    HTTP 404 - Not found
    Your SAP Internet Communication Framework Team</b>
    I'm getting the above error could plz help me .. its very urgent task for us..
    Thanks in advance for your valuable time...
    Sreedhar G.

    Hi Dinesh,
    I started all the services and i checked the Test service of ICF its giving the same above  error and service cannot be rezched...BASIS is also workin on the same issue but getting ...
    Any help...
    Message was edited by: sreedhar Gunda

  • Parameter form display while calling reports from form

    Dear All,
    I am running reports from form using run_report_object. I do not want to see parameter form while running the report. How do I do that.
    Thanks in Advance
    Gaurav Shah

    Hi, try to set paramform=NO in your parameter list
    Daniel

Maybe you are looking for

  • Paste does not work in Safari browser to enter copied content into text box

    For example when I go to copy a URL Sosa to paste it into a text box on a local newspaper comment section, it won't paste in. Same goes for any pasting into the text box. I highlight what I want to copy (or cut) and the go to paste it into the text b

  • Junction table and related tables

    Hi, I was given a junction table. Is there a SQL query that I can run on the junction table so that it returns me the 2 related tables? Please help. Thanks.

  • How to implement ACT AS function

    Hi experts, Can anyone of you help me in implementing ACT AS function in OBIEE 10g... Thanks manu

  • How to create datasource

    Hello,all:   Now we need to create a datasource, I create one copy a datasoucre by system standard datasource. When I check it,the short jump as follow:   1.Table SMOXRELP:segment is missing in BDOC;   2.Table SMOXRELP:field is missing in extract stu

  • Chart function worked, then grayed out

    I have a spreadsheet with about 800 rows and analyzing text data using countifs.  I've already done a bunch of charts this way, just tried one and got a nice stacked column chart but it did not have the axes labeled. I looked at the way I had done pr