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

Similar Messages

  • Error when trying to display a Webi report through the Folder iView

    Hi all
    I am getting the following error when Im trying to display a Webi report through the SAP Portal. We have installed the SAP Integration Kit and are able to see the content of the Infoview. However when we click on a Webi report, we receive the following error:
    Could not get page number. (Error: RWI 00223) (Error: INF)
    Have anyone else encountered this problem? Please assist! Any help will be rewarded.
    (We are running XI Rel 2).
    Addition from trace file (tomcat):
    com.businessobjects.rebean.wi.CommunicationException: Could not get page number. (Error: RWI 00223)
         at com.businessobjects.rebean.wi.occa.OccaReportComAdapter.setBlobKey(OccaReportComAdapter.java:542)
         at com.businessobjects.rebean.wi.occa.OccaReportComAdapter.getView(OccaReportComAdapter.java:376)
         at com.businessobjects.rebean.wi.occa.OccaReportComAdapter.getView(OccaReportComAdapter.java:297)
         at com.businessobjects.rebean.wi.ReportImpl.getView(ReportImpl.java:384)
         at com.businessobjects.rebean.wi.ReportImpl.getView(ReportImpl.java:407)
         at org.apache.jsp.viewers.cdz_005fadv.viewReport_jsp._jspService(viewReport_jsp.java:1182)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
         at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
         at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
         at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
         at org.apache.jasper.runtime.PageContextImpl.doForward(PageContextImpl.java:670)
         at org.apache.jasper.runtime.PageContextImpl.forward(PageContextImpl.java:637)
         at org.apache.jsp.viewers.cdz_005fadv.report_jsp._jspService(report_jsp.java:325)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    Furthermore I'd like to see an example of the cms_name entry. The documentation states: In addition, specify the Application Parameter for each iView. For this property, enter cms_name=[cms] for the fully qualified server name., but I have doubts as to what format to use.
    Kind regards,
    Martin Søgaard

    Hi Jim Ji
    The report can be displayed from the java infoview, no doubt, so the report itself works.
    But the report cannot be seen from the "SAP Infoview" (:/businessobjects/enterprise115/sap) which is the infoview, I reference from the Folder iView (through the system in the SAP portal). And since the SAP Portal Integration Kit seems very old - the Folder iView was created 12-08-2004 by Ingo Hilgefort - there might be an old version of the jar-files somewhere in the installation.
    I guess I should check the version of the jar-files in WEB-INF/lib of our web application (Tomcat) folder, and see if they have been overwritten by the SAP Portal Integration Installation or are an older version of the files in Program FilesBusiness Objectscommon3.5javalib? And also check if somewhere in the .../sap installation there are some old jar-files?
    Kind regards,
    Martin Søgaard

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

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

  • 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 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 dynamic text fields

    Hi, I am having some difficulty getting my images to display
    in a dynamic text field. The images are linked from a txt file with
    the <img src=""> tag however they are not showing up in the
    text area. The rest of the html are rendering fine except the image
    tag. My example online is here:
    www.supernaturalmedia.com.
    Here is the code I used in Flash:
    var style_sheet = new TextField.StyleSheet();
    var css_url = "global.css";
    style_sheet.load(css_url);
    news.StyleSheet = style_sheet;
    loadVariables("projects_news.txt", this.news);
    My css styles also isn't loadin so i temporarily am using
    html styles for formatting. I'd like to get the css to work as
    well.
    My movie is published as Flash Player 6, AS 2.0.
    I'd appreciate any helpful advice.
    Thanks,
    Stanton

    1. don't assign the stylesheet property of your textfield
    until loading of global.css is complete. ie, use the onLoad handler
    for stylesheets.
    2. you have movieclip images that are linked for export and
    you're using their linkage id in src property of the img
    tag?

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

  • Display images in report

    Hi,
    we have stored students images in a directory i.e 'D:\pics'. now I want to display the images of student on a reports dynamically, the name of image files are same as student id.
    I do not want to store them in data base tables.
    Any soltuion??

    If the report gives an error and doesn't run if the image doesn't exists in the image folder,
    use the exception handling to verify that if the image doesn't be in the image folder then display the default image.
    For example, if your query looks like this:
    SELECT deptno deptno,
           dname  dname,
           'DEPT' || deptno || '.jpg' dept_image
      FROM dept
    ORDER BY deptnoand DEPT_IMAGE (pseudo)column has properties "Read from file = Yes" and "File Format = Image",
    remove these properties from DEPT_IMAGE and create (in DEPT group)
    CF_DEPT_IMAGE formula column ("Read from file = Yes" and "File Format = Image"):
    FUNCTION cf_dept_imageFormula RETURN CHAR IS
      l_filename text_io.file_type;
    BEGIN
      l_filename := text_io.fopen ('.\images_directory\' || :dept_image, 'r');
      text_io.fclose (l_filename);
      RETURN :dept_image;
    EXCEPTION
      -- the report photo doesn't exist
      WHEN OTHERS THEN
      BEGIN
        l_filename := text_io.fopen ('.\images_directory\default_image.jpg', 'r');
        text_io.fclose (l_filename);
        RETURN 'default_image.jpg';
      EXCEPTION
        -- the report photo 'default_image.jpg' doesn't exist
        WHEN OTHERS THEN RETURN NULL;
      END;
    END;In Layout Model, source for F_DEPT_IMAGE field is CF_DEPT_IMAGE (not DEPT_IMAGE).
    Regards,
    Zlatko Sirotic

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

  • 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

Maybe you are looking for

  • File are imported out of order from miniDV

    When I import from my DVtape off camcorder, it imports the clips in chronological order of the dates in which they are filmed. The tape in question is a montage I created a few years ago which i exported back to DV tape, so obviously all the clips ar

  • Why has it become impossible to embed music in web pages ?

    In previous versions of Firefox, the "embed" HTML code allowed to play Quicktime musical files when displaying web pages with Firefox. It seems to-day impossible to do so, nothing seems to work while it works fine with Internet Explorer...

  • How can I put apps on my Ipoad touch?

    I tried to sync my Ipod to iTunes to get apps but it didn't work. Is there a was to  add apps to my Ipod another way?

  • MulticastMonitor -- Failed with IOException java.io.EOFException

    Hello,           I have upgraded Weblogic Server 8.1 Sp4 with Weblogic Server 8.1 Sp5 and JDK 1.4.2_12.           With the Sp5 the cluster seems work, but if i try to use the MulticastMonitor utility i have the following exception :           Failed

  • Page locked by tempate or translator

    I am trying to simply delete some HTML from a page and I get the following error message. "Making this change would require changing code that is locked by a template or a translator. The change will be discarded." The code I'm deleting is simple HTM