Image in IR report

Dears,
i am try to add image in IR report but it's not appear
this table structure
CREATE TABLE  "EMPLOYEE"
   (     "EMP_CODE" VARCHAR2(200) NOT NULL ENABLE,
     "EMP_NAME" VARCHAR2(200),
     "COMP_ID" NUMBER,
     "POSITION_ID" NUMBER NOT NULL ENABLE,
     "GROUP_ID" NUMBER,
     "EMP_IMAGE" BLOB,
     "FILESIZE" VARCHAR2(4000),
     "MIMETYPE" VARCHAR2(4000),
     "FILENAME" VARCHAR2(4000),
      CONSTRAINT "EMPLOYEE_PK" PRIMARY KEY ("EMP_CODE") ENABLE
ALTER TABLE  "EMPLOYEE" ADD CONSTRAINT "EMPLOYEE_R01" FOREIGN KEY ("COMP_ID")
       REFERENCES  "COMPANY" ("COMP_ID") ENABLE
ALTER TABLE  "EMPLOYEE" ADD CONSTRAINT "EMPLOYEE_R02" FOREIGN KEY ("POSITION_ID")
       REFERENCES  "POSITION_TYPE" ("POSITION_ID") ENABLE
ALTER TABLE  "EMPLOYEE" ADD CONSTRAINT "EMPLOYEE_R03" FOREIGN KEY ("GROUP_ID")
       REFERENCES  "GROUP_SETTING" ("GROUP_ID") ENABLE
CREATE UNIQUE INDEX  "SYS_IL0000030135C00006$$" ON  "EMPLOYEE" (
/this the query in the report
select "ROWID",
"EMP_CODE",
"EMP_NAME",
"COMP_ID",
"POSITION_ID",
"GROUP_ID",
CASE WHEN NVL(dbms_lob.getlength(EMP_IMAGE),0) = 0
    THEN NULL
    ELSE CASE WHEN MIMETYPE like 'image%'
    THEN '<img src="'||apex_util.get_blob_file_src('P509_IMAGE',EMP_CODE)||'" class="image" />'
    ELSE
    '<a href="'||apex_util.get_blob_file_src('P509_IMAGE',EMP_CODE)||'">Download</a>'
    end
    END new_img,
nvl((select sum(dbms_lob.getlength(EMP_CODE)) s from EMPLOYEE where EMP_CODE = p.EMP_CODE),0) as  "EMP_LOGO"
from "#OWNER#"."EMPLOYEE" p
  what's the problem ?

Hi,
I do not know your server setup, so it is hard to say.
Probably problem is not related to tablespace. I would check first e.g. grants and try debug app.
http://docs.oracle.com/cd/E37097_01/doc/doc.42/e35125/debug.htm#BCGCIBJA
Regards,
Jari
My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
Twitter: http://www.twitter.com/jariolai

Similar Messages

  • Showing dynamic and unknown number of images in SSRS report

    I am using SSRS 2008.  I need to display an unknown number of unspecified images on the report.
    Basically I have a webpage, where the user selects a specific ID (ex. 24) from a dropdown and then click "View Report".
    The report should then display any images, associated with that ID.  The only thing I know about the images, is the path to where the images are stored.  The path is kept in a database, so I should be able to retrieve the path ok.
    But then how do i get the report to display the images, when I do not know the name or number of images?
    Please help.

    Hi dukie4lif,
    According to your description, you have a report to display images selected by users. Now your issue is, the users select a specific ID to get images, but you only have the path of images stored in your database. Is my understanding correct?
    For your requirement, if the users want to get images by selecting a specific ID, this ID must be stored in database and associated with the path of those images. Otherwise the database can never query any records with this ID if it doesn’t have any ID stored.
    Now we need to go to your database, create one more table or add one more column in the table which have your path stored to store those IDs, and let them associated with those path. Use a parameter in this report for users selecting IDs. Then your goal will
    be achieved.
    Reference:
    Report Parameters (Report Builder and SSRS)
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou (Pactera)

  • Display images in a report

    Hi all,
    I have a table, Standard_Products, and i want to show an image in my report along with some other data.
    I am using file browser to import the images at the moment.
    Please advise what to do - at the moment the column is showing "Datatype" instead of the image itself.
    Thanks,
    Rob

    Take a look at: http://htmldb.oracle.com/pls/otn/f?p=18326:54:2841216309756218::::P54_ID:268
    Mike

  • Dynamic Images in PDF Report

    Hi,
    I want to create Badges from employee table (ID, NAME, JOB_TITLE, PHOTO). I downloaded and installed a demo application "USING DYNAMIC IMAGES IN PDF REPORT". It works fine with smale images < 20K. I'm getting the following error for images > 20K :
    "ORA-06502: PL/SQL: numeric or value error: raw variable length too long"
    it seems like a buffer problem.
    could you pls help to solve this problem
    Thanks,
    Ribhi

    Hi Carsten
    That was exactly* I was looking for. Maybe I should Google more in German ;-)
    The main problem was that I defined my image outside the first repeating group (that doesn't repeat, it's always just one object) - the first group is followed by 7 more.
    Just like the "Name" (that's positioned outside the group in the document header), I positioned the image above the table representing the group.
    Doing that, the "Name" is filled correctly, the Image only when the Output Format is Excel or HTML - not Word or PDF ... makes no sense but that's tje way it is.
    After moving the image inside the group....it works great!
    (One more thing...the image size is fixed to the image you use as "dummy". Is there any way to make that more flexible, because now some scaling happens...)???
    @Trent: That was the way we initially did it, but when the size of the row exceeds 32K...you know what happens.. And even with a small image the 32K limit is hit easily
    The way I use it now (very similar to Carsten's description) there is no limit....
    Thank you all!
    Roel

  • Images in a report

    How can I import an image in a report and see it in a RTF
    generated file? If I follow the help of the Report Builder 6i,
    and after resizing the image, there are always problems in
    MSWord - either the image has another size, or it is in some
    other place of the report. If I generate the same report into a
    PDF it is running well...
    Thanks.

    Hi,
    Please refer this link.
    I guess you have to place image into two location. Please refer the location path the below link then try to use same syntax
    http://satyaobieesolutions.blogspot.in/2012/08/fmap-in-obiee-10g-obiee-11g-using-fmap.html
    Thanks,
    satya
    Edited by: Satya Ranki Reddy on Sep 3, 2012 4:48 PM
    Edited by: Satya Ranki Reddy on Sep 3, 2012 4:50 PM

  • Images in a report column

    Hi,
    I'm working with obiee 11.1.1.6.1 and I need to add images in a report column.
    I tried to follow the advices of Gerard for formulas as in
    http://gerardnico.com/wiki/dat/obiee/image
    but I don't see the images. I used the formula
    '<img src="dir/dir/.../myimage.gif">' with data format HTML.
    What wrong? Thank for your help.
    maxb (Italy)

    Hi,
    Please refer this link.
    I guess you have to place image into two location. Please refer the location path the below link then try to use same syntax
    http://satyaobieesolutions.blogspot.in/2012/08/fmap-in-obiee-10g-obiee-11g-using-fmap.html
    Thanks,
    satya
    Edited by: Satya Ranki Reddy on Sep 3, 2012 4:48 PM
    Edited by: Satya Ranki Reddy on Sep 3, 2012 4:50 PM

  • Print Image in Oracle Report

    I have an scan image in my report. I can see the image in the Layout editor but when the report runs all that comes out is a blank piece of paper. The image does not print.
    The version of reports is 2.5. Does anyone have any idea why the image does not print.
    Thank You
    JK

    Hi
    If you are using a scan image (which is a bit map)in rep 2.5 and run them through oracle applications 11 and below you may have do lot of system level programming to support bit map images, because oracle apps 11 and below are charter based they do not support bit map. There may be a work around I had been trying for the past 2 years. But with apps 11i and rep6i this is possible.
    null

  • How to insert a conditional image into a report

    Hi
    I am fairly new to HTML DB, but I have managed to create my first application.
    I need a little help with one report.
    One of the columns in the report contains Y, N or R. The customer wants me to display a different coloured image depending on the value (ie a red button for N, green for Y or amber for R).
    I have can add a static image to a report via "Column Formatting" -> "HTML Expression", but I have no idea how to make it conditional.
    Any ideas?
    Many thanks in advance.
    Rak

    Great, that works!!!!
    Thanks very much.
    For completeness (incase anyone else reads this), there was one typo, in your solution, you omitted the opening '<' in the image source HTML tag
    select loanno, itemid,
    decode (returned, 'N', '<img src="#IMAGE_PREFIX#bullet_red.gif" border="0" alt="Loaned">',
    'Y', '<img src="#IMAGE_PREFIX#bullet_green.gif" border="0" alt="In Library">',
    'R', '<img src="#IMAGE_PREFIX#bullet_orange.gif" border="0" alt="Returned">'
    ) as status
    from loans
    Thanks for your help,...
    Rak

  • How to insert a dynamic image in a report

    Hi,
    I want to insert the image of a student in a report toghether with all other student's data. The image's file name is in a field of the students' table and the file is stored in a directory of the web application. I am using Visual studio 2010 and the reports are prepared with Crystal Reports 2008 (full product). At design time, when I try to insert an image on the report, it immediately asks for an image file on the computer, so I cant figure out how to insert an image whose path and file name come from a data source.
    Thank you

    Hi Don,
    As I said, when I insert any field in the report, say for instance the Student ID, and then link it to a database field containing the name of the image file to display (I have to concatenate the path to this file name as well), it first shows the report with the Student ID. If I click on it, because of the hyperlink defined at design time, it opens the file (an image in this case) in Internet Explorer, not on the report.
    The same happens if I put an image as an object on the report at design time. In this case as soon as I put the image object on the report it forces me to select an initial image to show on the report. Anyway, I define an hyperlink for this image, pointing it to the image file of the Student, using the database field containing the image file name. When I show the report I see the initial image I was forced to use and when I click it, the hyperlink takes me to the right student image, but even in this case it shows me the right image opening an Internet Explorer session and not on the report. On the report the initial image is still there and never changes.
    What I actually need is a way to put the student's image on the report as soon as it shows the other student's data, as the name, age, ***, and so on, without having to click somewhere to show the student's image.
    Thanks

  • How to attach an image in xls report

    Hi, does anyone knows how to insert an image in excel report?..
    We'd been working this for so long and it seems that the report cannot locate/render the image properly ..
    I hope someone can give me some tips and help..
    Thanks ..
    --original sql code  TEXT format                               
    OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
    HTP.P('Content-Disposition: attachment; filename="' || V_RPT_TITLE_NO_SPACE || '.xls"');
    OWA_UTIL.HTTP_HEADER_CLOSE;
    --end of original sql code
    --begin DEV mode Insert Image - Logo
    --OWA_UTIL.MIME_HEADER('application/vnd.ms-excel', TRUE, 'MaGiC_KeY');
    owa_util.mime_header( 'application/octet-stream', FALSE );
    htp.p('Content-Type: application/ms-excel');
    HTP.P('Content-Type: multipart/related; boundary="----=_NextPart_01CA74F8.C8882F00"');
    HTP.P('------=_NextPart_01CA74F8.C8882F00');
    htp.p('Content-Disposition: attachment; filename="filename.xls"');
    -owa_util.http_header_close;
    --end DEV mode
    base64 code (image)
    HTP.P('------=_NextPart_01CA74F8.C8882F00
    Content-Location: file:image001.jpg
    Content-Transfer-Encoding: base64
    Content-Type: image/jpeg
    /9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAUAAA/+4ADkFkb2JlAGTAAAAAAf/b
    AIQAAgICAgICAgICAgMCAgIDBAMCAgMEBQQEBAQEBQYFBQUFBQUGBgcHCAcHBg.....')

    Two thoughts.
    The first is to ask Microsoft since it is their software.
    The second is to throw Excel away and get a real report writer like Business Objects or Cognos or one of the many report creating projects Oracle provides.
    Excel, by definition, is a violation of audit trail rules.

  • How to display an image in a report ?

    I put the following code into the PLSQL - section <after header is shown>:
    declare
    v_str varchar2(2000);
    v_rowid varchar2(200);
    begin
    select ROWID into v_rowid from mytable where id=1;
    v_str:=htf.img(curl=>'http://rdspc23/pls/portal30/PORTAL30.wwa_app_module.file_download?p_block=DEFAULT&p_object=BILD&p_source='&#0124; &#0124;PORTAL30.wwv_htf.url_encode(v_rowid));
    htp.p(v_str);
    end;
    (This code is extracted from a form and inserted in my report.)
    If the image is in the browser-cache i can see the image and everything works properly. If the image is not in cache then there is only a broken link.
    When i try the link in a separate browser window the folloing error message appears:
    No data returned from stored procedure
    The PL/SQL gateway invoked a stored procedure as part of processing the URL but the procedure returned no data.
    What can i do to insert an image in a report.
    Are there any documentation for the plsql-packages which portal is using ?

    I tried it doing it this way and it worked -
    1. copy the image into the directory aliased in 9iAS configuration file as '/images/'.
    2. In the PL/SQL code section after header, I write the following code -
    begin
    htp.p('<img src="/images/pobexp.gif"/>');
    end;

  • Thumbnail images in crystal report XI R2

    Please help on how to show thumbnail images in crystal report XI R2 using Oracle datbase.We are storing the images in database using image location ex:http:
    ..jpg and not the image itself.

    Crystal does not have the bility to use thunbnails. But that would be a great enhancement. I'll add it to the Enhancement request database.

  • Displaying image in abap report

    Hi Everyone.
    I need to display an image in a simple ABAP report giving the filepath of the image.
    Can anyone suggest me how to do it???
    Is there any FM for that, i need some solution.
    Kindly help.
    Thanks
    Regards
    Naveen

    I need to give the path of the image in the report itself and then while executing i must get the image in the output screen...
    Giving path is a must....

  • Add Image in ABAP Report

    Hi All,
    I want add image in ABAP Report.
    Please let me know how it can be done?
    Regards,
    Jagdish More

    Hi Jagdish,
    to upload the image follow these steps.
    1. Upload image in web repository.
    Go to Transaction SMW0 to upload the image in SAP web Repository. elect second radiobutton u201DBinary data for WebRFC applicationsu201D and click on find.
    2.     Click on Execute.
    3.     Click on Create and give the obj.name and description and click on import.
    once the image gets uploaded.in your program do the following
    1.     Create a Screen.Go to Layout and create Custom Control.I have named it as u2018CONTAINERu2019.
    2.     Declare container(Custom Control name),picture(child of Container) and url in Top of the program.
    data container type ref to cl_gui_custom_container.
    data picture type ref to cl_gui_picture.
    data url(256).
    3.     Now create the object Container and Picture.
    create object container
           exporting container_name = 'CONTAINER'.//name of the custom control
        create object picture
           exporting  parent = container
           exceptions error = 1.
    4.     Now we have to load the picture from the database which we have uploaded. For this we need to declare the following:-
      data query_table like w3query occurs 1 with header line.
      data html_table like w3html occurs 1.
      data return_code like  w3param-ret_code.
      data content_type like  w3param-cont_type.
      data content_length like  w3param-cont_len.
      data pic_data like w3mime occurs 0.
      data pic_size type i.
    5.     Refresh the Query table and give the name of Query table as u2018_OBJECT_ID_u2019 and value as the name of logo/Image which u have uploaded.Append the value in the Query Table.
      refresh query_table.
      query_table-name = '_OBJECT_ID'.
      query_table-value = 'ZLOGO.GIF'."name of logo
      append query_table.
    6.     Now call the function WWW_GET_MIME_OBJECT to get the logo/image which u have uploaded and call the function DP_CREATE_URL to create the url where the image is present.
    call function 'WWW_GET_MIME_OBJECT'
        tables
          query_string        = query_table
          html                = html_table
          mime                = pic_data
        changing
          return_code         = return_code
          content_type        = content_type
          content_length      = content_length
        exceptions
          object_not_found    = 1
          parameter_not_found = 2
          others              = 3.
      if sy-subrc = 0.
        pic_size = content_length.
      endif.
      call function 'DP_CREATE_URL'
        exporting
          type     = 'image'
          subtype  = cndp_sap_tab_unknown
          size     = pic_size
          lifetime = cndp_lifetime_transaction
        tables
          data     = pic_data
        changing
          url      = url
        exceptions
          others   = 1.
    7.     Finally we have to upload the image from the URL, this can be done by calling the method: picture->load_picture_from_url
    call method picture->load_picture_from_url
    exporting
    url = url.
    Now Save,Activate and Execute the Program , Image/Logo got successfully uploaded.
    I have already done this program and uploaded the image...
    this will surely help you
    Thanks and regards,
    Tanmaya

  • Image in the reports

    I have to display an image in the report.
    but actually i'm getting it from the database and displaying it (it's a BLOB file).
    Can anybody suggest me , so that i can have the image displayed in a larger size than the size wat i'm getting from the database ?
    Thanks in advance

    Hi Guru,
      Check the below link, it will be useful for you:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e0c8bfa4-7348-2c10-b9ae-bc1ff04a9aeb?QuickLink=index&overridelayout=true
    Thanks
    Pawan

  • Resizing an image in Interactive report

    Hi All,
    I have a report showing number of columns one of which is BLOB image. Problem is when massive, the row can take well over half the screen.
    With firebug, I found that if I tweak add style attribute to IMG, (style="WIDTH:200PX;") then I can resize it.
    However I am not loss where to insert this. There is nothing in the column attribute of the Image column in interactive report that allows me for this.
    Would be grateful if someone can share a tip on how to resize image displaying on interactive report.
    Thanks.
    INFO
    I followed this tutorial: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    Running APEX 4.1.1

    Hi,
    Put this Style in Page HTML Header
    <style type="text/css">
    .apexir_WORKSHEET_DATA  td[headers="IMAGE"] img // "IMAGE" ->Give Your Report Column Name
      width: 50px;
    </style>Brgds,
    Max.

Maybe you are looking for

  • Can I have 2 iCloud accounts on an iPad?

    I want to share the use of my iPad with a family member so they can review their photo stream. I still want all of my details to be able to be synced via my iCloud account. How can I get both accounts to work on one iPad?

  • Conversion from SQL Server 7.0 to Oracle 8 -- Urgent!!

    Hi! I've an urgent task of migrating data from SQL Server 7.0 to Oracle 8 for Oracle Financials Application. When is the Migration Workbench for SQL Server 7.0 is going to be released, please let me know? And the other question is -- Is there a possi

  • Authorizations for View Cluster

    Hello all, I need to maintain authorization for View cluster. Example : I have a view cluster say 'VC_TEST' , now I should have an authorization where other employees can only display it. Steps which I have followed: 1. Assigned authorization object

  • FCP 7 Re-rendering

    Hi, I'm working on a project that is rather large. The machine I've been working on is an iMac with all of the files located on a USB 3 4TB external drive. I'm on vacation now and have the drive with me and am using it with my MacBook Pro. I can open

  • Why are texts being received as MMS messages?

    Why are texts I send being received as MMS messages?