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.

Similar Messages

  • PDFs not displaying images when opened in Google Chrome.

    My PDFs are not displaying images when opened in Chrome. They do display in other browsers and when saved to the desktop. I have tested on multiple machines. Is there a problem with how they are saved? Here is a test: http://www.omnils.com/userfiles/files/Brochures/KL-003_REV_0914_APEX_CR_SPEC_SHEET_lo.pdf

    "... a known Chrome issue."  The resolution lies with Google for this - nothing you can do (other than disable the "in house" browser add-on and enable Adobe's (if you have Reader or Acrobat installed)).
    A similar issue exists with other, contemporary, browser releases.
    The "fix" is these software houses to deploy PDF viewer browser add-ons that actually comply with ISO 32000.
    Perhaps their lazy approach reflects the attitude of "Hey, Adobe will get the hit not us."
    Provide your users a feed-back mechanism; you'd be able to respond with the suggestion that they ping on the appropriate software houses to provide adequate software.
    Be well...

  • 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

  • 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

  • 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

  • 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 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.

  • Performance impact on displaying images when tested with loadrunner

    Hi,
    We have a page in the application that displays PDF images to the user.
    The PDF's are stored on HP-UX file system and have the BFILE path
    of the image stored along with other meta-data. The ave size of the PDF is around 250 kb.The images are displayed fine when the user wants to view the images.
    The problem we have been facing is more related to performance.
    When loadrunner tests were conducted to allow 75 users to concurrently
    view the images, the CPU utilization shoots up to 100%.
    All other resources such as memory, io are fine and the image display time is
    within acceptable limits.
    Are there any settings or configurations that can be done to bring done the CPU utilization totolerable limits. Also the box hosts other application which we fear might be impacted and henceit is very important for us to bring down the cpu utilization
    The code to display the PDF is similar to the one in sample app
    PROCEDURE DISPLAY_PDF_PRC (IMAGE_PATH_I IN BFILE)
    IS
    V_BLOB BLOB;
    V_BFILE BFILE;
    BEGIN
    V_BFILE := IMAGE_PATH_I;
    V_BLOB := EMPTY_BLOB();
    DBMS_LOB.CREATETEMPORARY(V_BLOB, TRUE);
    DBMS_LOB.FILEOPEN(V_BFILE,DBMS_LOB.FILE_READONLY);
    DBMS_LOB.LOADFROMFILE(V_BLOB,V_BFILE,DBMS_LOB.GETLENGTH(V_BFILE));
    DBMS_LOB.FILECLOSE(V_BFILE);
    OWA_UTIL.MIME_HEADER('application/pdf', FALSE);
    OWA_UTIL.HTTP_HEADER_CLOSE;
    WPG_DOCLOAD.DOWNLOAD_FILE(V_BLOB);
    DBMS_LOB.FREETEMPORARY(V_BLOB);
    EXCEPTION
    WHEN OTHERS THEN
    Htp.Prn('No image found.');
    END;
    We first thought creating the temporary blob might be costly and modified the code to use lob locator.Still the CPU utilization was over 100%.
    The next thing we tried was to eliminate the creation and usage of BLOBs altogether and directly render the images from the BFILE as mentioned in the code below and tried to use the browser caching also.
    PROCEDURE DISPLAY_PDF_PRC (IMAGE_PATH_I IN BFILE)
    IS
    V_BFILE BFILE;
    BEGIN
    V_BFILE := IMAGE_PATH_I;
    htp.p('Expires: ' || to_char(sysdate + 1/24, 'FMDy, DD Month YYYY HH24:MI:SS'));
    OWA_UTIL.MIME_HEADER('application/pdf', FALSE);
    OWA_UTIL.HTTP_HEADER_CLOSE;
    WPG_DOCLOAD.DOWNLOAD_FILE(V_BFILE);
    end;
    Still the CPU utilization is over 100%.
    So can you please point to any configurations that neeed to be done on Apache App server/DB server or any optimizations at the code level to restrict the CPU utilization.
    Thanks in Advance
    Rakesh

    Typically, you do not refer to PDFs as images. Common image formats are .jpg, .gif, .png, .bmp, etc.
    Can you store them directly on the file system and just reference their URLs instead of reading them out of the database? If so, this should all but eliminate the CPU load.
    If you only have one database on this machine, you can use the database resource scheduler to throttle the CPU utilization of the sessions downloading images. If you have more than one db, then the Resource Manager is basically useless, which is one of the main reasons to only install one db per machine.
    Another thought is to use a web cache instance in front of the HTTP Server if their are a lot of repeat views of the same PDFs. This way you cache the first view of the PDF on the web cache tier so subsequent requests don't go against the db.
    Yet another option (though not out for HP-UX yet) is the 11g "Secure Files" option. I've done some informal testing on this last week and read performance was easily 3x faster than traditional LOBs. My tests weren't very scientific as I was using VMWare on a laptop which generally has very poor physical I/O performance. They claim reads performance is comparable to the Linux file system.
    Tyler

  • 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

  • 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

  • Safari on my account does not display images when you open a picture.

    I have Snow Leopard 10.6.8 installed. Safari on my account does not display images most of the time when you open a picture like (www.example.com/example/example.jpg or any other format). If the image does not display, I can drag from the corner, it displays the image. However, pdf does not work at all. I have to choose open in Preview to view the pdf file. I can even show the example:
    Sometimes the images work like right now.
    2. This is the time when the images do not work.

    Hi all the real problem was this...
    The issue was that the wee rubber eye piece around the viewfinder had slipped out of its seat slightly and was covering the sensor for the LCD. I Just checked the rubber eye piece bit  pushed right down till it clipped into place and now not obstructing the LCD sensor as the picture displays both with the LCD auto off enabled or disabled !! simple thing but a massive trap !

  • Error: "file not found" when try to display image on report

    Dear All
    I have a problem when running my report.
    My Table emp_info Stores all data about employees in addition to the employee image path.
    I made a report that display employee information including its photo.
    I run my report passing the parameter p_emp_id to display the desired emploree information.
    I made a field on the report to display the employee image
    and i set its property READ FROM FILE = YES and FILE FORMAT=IMAGE
    But the following error occurs
    "File '\\iai3\iaigc\ALL\emp_images\51.JPG' not found. "
    I'm sure that the path is correct
    But i do not know why the report stops and can not read the image path.
    My platform is:
    Oracle application server installed on linux
    and oracle report builder installed on widows for development

    Dear aweiden
    thanks for replaying
    I belive you are right . I think the problem is in the path.
    But there is something that i did not mentioned to you. I work on two different servers.
    1- "iai2" : Linux server which contains oracle application server.
    2- "iai3" Windows 2003 server which contained oracle database 10g and the folder "aigc\ALL\emp_images" which contains Employees images
    I think that the problem is that Linux server can not understand the path "\\iai3\iaigc\ALL\emp_images\51.JPG".
    Do you have any idea how the path should be changed so that Linux can recognizes it.
    Thanks in advance

  • Display Image in Report Colum,  ORA-06502: PL/SQL whe column format is set

    Hi @all
    i created a small table
    CREATE TABLE my_sal201 (
    grafikdid VARCHAR2(38) NULL,
    grafik BLOB NULL,
    mimetype VARCHAR2(255) NULL
    then i inserted one column with a page process
    BEGIN
    IF (:p6_filename IS NOT NULL)
    THEN
    INSERT INTO my_sal201
    (grafikdid, grafik, mimetype)
    SELECT meb_ora.mkdid(), blob_content, 'image/gif'
    FROM wwv_flow_files
    WHERE NAME = :p6_filename;
    DELETE wwv_flow_files
    WHERE NAME = :p6_filename;
    :p6_filename := NULL;
    END IF;
    END;
    after that i want to show the columns and the image in a report. so i created a report in a new region quite similar to the example in the obe
    it works fine, the image columns is shown as "[datatype]"
    whenever i change the format of the image colum of the report to
    DOWNLOAD:MY_SAL201:GRAFIK:GRAFIKDID::::::inline:Herunterladen
    (just one example, IMAGE:... does not work as well)
    no more rows are shown but the error h3. "ORA-06502: PL/SQL: numerischer oder Wertefehler: Fehler beim Konvertieren von Zeichen zu Zahl"
    what did i do wrong?
    gretz
    peter

    i'm to silly to work with images :-ß
    i did copy ur example to another app on http://apex.oracle.com/pls/otn/. fine->igames are shown.
    on a new page in my local app, i did exactly the same (create a table, procedure, ect) it does not work.
    rows are shown inthe report, but no images, instead the icon for a broken/missing image is displayed.
    i tried to debug using firebug:
    in the sample app on otn, when i point the mnouse over the procedure call, the image appears in a tool-tip
    in my app, the code is quite simmilar, nothing happens. no icon
    >
    <img width="50" height="50" src="WMF_GL_INTMAN001.DISPLAY_IMAGE?inID=1"/>
    >
    help!!!
    maybe this is important: i'm using apex 3.2.0.00.27 on db version 11g
    Edited by: yeti on 28.08.2009 13:37

  • Display image in report page but just a link if file is not an image

    Hello,
    I've been working on displaying an image in a report page but need to add some logic.
    I would like to be able to call the image using a Region Source of type SQL instead of the HTML Expression. The reason for this is because I need to use logic to determine if the file is an image or not and to determine wether to show a thumbnail or just a link. I did find a "GET_BLOB_FILE_SRC" Function on the internet that suggests that I could do this but I need some help in making it work in my application.
    Here it is as a Region Source of type SQL:
    SELECT ID,
    NAME,
    CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
    THEN NULL
    ELSE CASE WHEN attach_mimetype like 'image%'
    THEN '<img
    src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
    ELSE '<a
    href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
    end
    END new_img
    FROM TEST_WITH_BLOB
    If anyone can help me with this that would be appreciated.
    Thanks
    LEH

    John,
    The problem is that I do not know how to use the "GET_BLOB_FILE_SRC Function". I never got it to work but the HTML Expression did work for me. If you know how the GET_BLOB_FILE_SRC Function works then that would be helpful. I don't think it would be helpful if I posted my example on apex.oracle.com. But here is the information I have on the GET_BLOB_FILE_SRC Function.
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    GET_BLOB_FILE_SRC Function
    As an alternative to using the built-in methods of providing a download link, you can use the APEX_UTIL.GET_BLOB_FILE_SRC function. One advantage of this approach, is the ability to more specifically format the display of the image (with height and width tags). Please note that this approach is only valid if called from a valid Oracle Application Express session. Also, this method requires that the parameters that describe the BLOB to be listed as the format of a valid item within the application. That item is then referenced by the function.
    See Also:
    "About BLOB Support in Forms and Reports" in Oracle Application Express Application Builder User's Guide
    Syntax
    FUNCTION GET_BLOB_FILE_SRC (
        p_item_name           IN VARCHAR2 DEFAULT NULL,
        p_v1                  IN VARCHAR2 DEFAULT NULL,
        p_v2                  IN VARCHAR2 DEFAULT NULL,
        p_content_disposition IN VARCHAR2 DEFAULT NULL)
        RETURN VARCHAR2
    Parameters
    Table 1-28 describes the parameters available in GET_BLOB_FILE_SRC function.
    Table 1-28 GET_BLOB_FILE_SRC Parameters
    Parameter Description
    p_item_name
    Name of valid application page ITEM that with type FILE that contains the source type of DB column.
    p_v1
    Value of primary key column 1.
    p_v2
    Value of primary key column 2.
    p_content_disposition
    Specify inline or attachment, all other values ignored
    Example
    As a PLSQL Function Body:
    RETURN '<img src="'||APEX_UTIL.GET_BLOB_FILE_SRC('P2_ATTACHMENT',:P2_EMPNO)||'" />';
    As a Region Source of type SQL:
    SELECT ID,
           NAME,
           CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
                THEN NULL
                ELSE CASE WHEN attach_mimetype like 'image%'
                          THEN '<img
    src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
                          ELSE '<a
    href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
                          end
            END new_img
       FROM TEST_WITH_BLOB
    The previous example illustrates how to display the BLOB within the report, if it can be displayed, and provide a download link, if it cannot be displayed.Thanks
    LEH

  • Displaying images in report builder

    aoa to all!
    Dear gurus, i want to develop such type of report in report builder 6i.
    empno employee name emp photo
    1 abc (here i want to show photo)
    i have build such report but the problem is when any employee who has no photo, i want to display default photo. i m displaying photo using the below steps
    1. create a formula column of type char which returns the path of emp photo like this ' return 'd:\photo\' || :empno || '.gif';
    2.create a field in layout and set the read from file property set to yes and format to image.
    my requirement is when a new employee record is entered into table emp but his photo is not currently in the directory then i want to display a logo.
    hope my question is clear. thanks in advance. plz reply a.s.a.p

    Asim
    in your select statement you can check if the employee has not its picture or picture field is null then return logo. for this you have to assign some default value to the field Like 'N' is default value for picture field so when there is not picture or field is null then 'N' will be its default value and you can check in your query like
    SELECT DECODE(pict, 'N',Logo,pict)                    FROM emp

Maybe you are looking for

  • Updating My iPod touch 2nd generation ios 4.2.1.

    If i restore my iPod can i then update my ipod to ios 7? because now i cant even put new music onto my iPod or download new apps.

  • How to make "External ID" mandatory in VL31N (Create Inbound Delivery)

    Hello All, I have a requirement, Make "External ID" field mandatory in VL31N. Can anyone please provide the details? If it can be done through Configuration(SPRO), Please provide me the step-by-step details. If it can be done through Coding, please l

  • Help with STDIN

    Sorry if this is a dumb newbie question, but how does one go about capturing command line input and assign it to a string? Say if I typed in "My dogs name is Bingo", how do I assign that to a string strDogName? I've looked in 3 Java books, as well as

  • Single PR during MRP

    Hello Gurus, My client is having a unique requirement. He has got 1000 raw materials in a BOM. Whenever he runs MRP he gets 1000 PR's for 1000 materials. His requirement is to have a single PR with 1000 line items. The reason behind this is the relea

  • Where is community or forum for iOS Contacts app?

    I think there is a bug in importing contacts from Google. In Notes and some other fields, every text line is added 'r' character at the end. It becomes like : BLablablar something elser Where is the appropriate forum to report this? thanks, --dd