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.

Similar Messages

  • Uploading an image in interactive report APEX 4.0

    Hi,
    I hope you can help me. I am using the book "Begining ORACLE APEX", which is for APEX 3.1.2, to learn APEX. Now, I use the online APEX 4.0. In the 6th chapter one should add new columns to the PRODUCTS table: one for the PRODUCT_IMAGE, a BLOB column, and 3 more for MIMETYPE, FILENAME, and IMAGE_LAST_UPDATE. So, i need to make an interactive report, with this new table. I include it, but when I run the application it doesn't show. So i insert in the SQL for the report : "PRODUCT_IMAGE", and run the page again, and there i add the column using Actions button. When added, each row is is filled with: [unsupported data type]. When trying to upload an image it doesn't work. It doesn't show anything. I even tried putting: dbms_lob.length("PRODUCT_IMAGE") "PRODUCT_IMAGE" in the SQL of the report, but it doesn't work. It is like a problem with uploading the image. It doesn't do anything.
    I would really appreciate your help, this is really important for my job..
    Sincerely,
    Leila

    See the sample application provided in your workspace, there in page no 3 they have created a interactive report showing a image in one of the column, I think it will solve your problem.
    Tauceef

  • Background image on Interactive report column

    Hi,
    I have had a request from a customer with regards to displaying a background image behind a column on an interactive report.
    The interactive report is used to show notes added for an individual in the application.
    They want to display a note image behind the text to make the note stand out better.
    Is it possible to add a background image to the each cell in the interactive report
    Thanks
    Kevin
    Edited by: Cod'ead on Nov 30, 2009 3:43 PM

    Take a look at this list of threads (You may find something that helps..) : Oracle Application Express (APEX)
    Thank you,
    Tony Miller
    Webster, TX

  • How to change the color of 1px_trans.gif image of interactive report

    Hi All,
    Iam using interactive report in apex3.2
    I need to change the color of 1px_trans.gif or remove the image in search tool bar
    where we can change.
    pls tell me .......
    Thanks & regards
    Balu..

    I need to change the color of 1px_trans.gif or remove the image in search tool bar 1px_trans.gif is transparent and doesn't have a colour. It is used as a shim image&mdash;an outdated way of controlling the dimension(s) of some element(s). It's intended to be invisible. Giving it colour will cause it to become visible, resulting in all sorts of unexpected and unwanted lines (or worse, solid areas of colour) appearing throughout applications.
    What do you think you want to do? (Whatever that is, it will almost certainly not be achieved by changing the colour of 1px_trans.gif...)

  • Display BLOB (image) column in (interactive) report

    Hi,
    I have a field called "picture" in my table "details" which is of type BLOB. i also have a field for "MIMETYPE" and "filename"
    i additionally have a "name" and "description" columns which i need to display along with the picture as columns in a report (preferably interactive).
    i have also modified the BLOB display format as per
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    what i am missing is the correct query. if possible, i would like to control the size of the picture rendered within the report like say 40*50.
    I have also referred to the thread
    APEX 3.1 Display BLOB Image
    But i don't know how to place the
    dbms_lob.getlength("BLOB_CONTENT") as "BLOB_CONTENT"
    in my query.
    The above also makes the report column as of type "number". is this expected?
    Any help would be much appreciated.
    Regards,
    Ramakrishnan

    You haven't actually said what the problem is?
    >
    I have a field called "picture" in my table "details" which is of type BLOB. i also have a field for "MIMETYPE" and "filename"
    i additionally have a "name" and "description" columns which i need to display along with the picture as columns in a report (preferably interactive).
    i have also modified the BLOB display format as per
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    what i am missing is the correct query.
    I have also referred to the thread
    APEX 3.1 Display BLOB Image
    But i don't know how to place the
    dbms_lob.getlength("BLOB_CONTENT") as "BLOB_CONTENT"
    >
    Something like:
    select
              name
            , description
            , dbms_lob.getlength(picture) picture
    from
              details
    if possible, i would like to control the size of the picture rendered within the report like say 40*50.For images close to this size it's easy to do this for declarative BLOB images in interactive reports using CSS. Add a style sheet with:
    .apexir_WORKSHEET_DATA td[headers="PICTURE"] img {
      display: block;
      width: 40px;
      border: 1px solid #999;
      padding: 4px;
      background: #f6f6f6;
    }where the <tt>PICTURE</tt> value in the attribute selector is the table header ID of the image column. Setting only one dimension (in this case the width) scales the image with the correct aspect ratio. (The border, padding and background properties are just eye candy...)
    However, scaling large images in the browser this way is a huge waste of bandwidth and produces poorer quality images than creating proper scaled down versions using image tools. For improved performance and image quality, and where you require image-specific scaling you can use the database ORDImage object to produce thumbnail and preview versions automatically, as described in this blog post.

  • How to disable edit link in interactive report

    Hi,
    How to disable edit(e3.gif image) link interactive report.
    Thanks,
    nr

    Hi Jari,
    Apex Version:3.2
    I created on Interactive report on emp table I have created edit link on empno using Icon5 image.
    Report Attributes>Column Attributes>Column Link.
    I can Hide the Icon5 using following script but I need to disable only. I did not get any disable() method in Jquery.
    Region Id:R812581842900385833
    $(document).ready(function() {
    var viewOnly=document.getElementById('P1_ITEM1').value;
    if(viewOnly == "0")
    $("#R812581842900385833 img").hide();
    thanks,
    Nr
    Edited by: pnr on Mar 13, 2012 6:09 AM

  • Image column in an interactive report (APEX 4.0)

    Hi,
    I have added a new blob column containing images to an interactive report, but get the following error:-
    ORA-06502: PL/SQL: numeric or value error: character to number conversion error
    If the "IMAGE" column is removed from the report using the "actions:select column" control, the report is ok.
    The column contains the following settings in the "BLOB Download Format Mask":-
    IMAGE:WINEDETAILS:IMAGE:WINE_ID::MIMETYPE:FILENAME:::inline:Download
    Have I missed something?
    Regards
    Tim

    Firstly, did you run: GRANT EXECUTE ON DISPLAY_IMAGE TO PUBLIC
    Yes..
    Secondly, is "OBJEKT" a reserved word in your language version of Oracle?
    No, objekt is not reserved word.
    Lastly, is your table defined in the same way as mine:
    CREATE TABLE "A_IMAGES"
    "IMAGE_ID" NUMBER(10,0) NOT NULL ENABLE,
    "FILE_NAME" VARCHAR2(4000) NOT NULL ENABLE,
    "BLOB_CONTENT" BLOB,
    "MIME_TYPE" VARCHAR2(4000),
    CONSTRAINT "A_IMAGES_PK" PRIMARY KEY ("IMAGE_ID") ENABLE
    Script of my table:
    CREATE TABLE PROD.TOB_DOKUMENTI
    ID NUMBER(10) NOT NULL,
    PARENT_ID NUMBER(3) NOT NULL,
    ID_VALUE NUMBER(10),
    NAZIV_DOKUMENTA VARCHAR2(500 BYTE),
    VELICINA NUMBER,
    OBJEKT BLOB,
    LINK VARCHAR2(1000 BYTE),
    DATUM_OD DATE NOT NULL,
    DATUM_DO DATE,
    STATUS VARCHAR2(1 BYTE) DEFAULT 'D' NOT NULL,
    ID_KUPCA NUMBER(10) NOT NULL,
    ID_VRSTE NUMBER(6) NOT NULL,
    ID_DOC_ORIGINAL NUMBER,
    FILE_NAME VARCHAR2(4000 BYTE),
    MIME_TYPE VARCHAR2(100 BYTE)
    I also think that everything is set up correctly, but it still not working..
    THNX for Your reply..
    Kreso..
    (apart from the table and field names)
    Andy

  • Interactive Report, Image display on download.

    hi all
    I have an interactive report with an image column displayed with a case statement (below)
    CASE
    WHEN APP.RENEWAL_DATE < SYSDATE
    THEN <--img src="#IMAGE_PREFIX#FNDCANCE.gif"-->
    WHEN APP.RENEWAL_DATE > SYSDATE
    THEN <--img src="#IMAGE_PREFIX#Fndokay1.gif"-->
    ELSE <--img src="#IMAGE_PREFIX#wwv_small_help.gif"-->
    END CRB_Valid,
    when i download this for printing (as pdf / xls / rtf) i just get the <--img src="#IMAGE_PREFIX#FNDCANCE.gif"--> text in the report column. i assume this is to do with the URL being outside of an APEX app but im no HTML boffin can anyone tell me how i reference the image so it shows up on the reports? or is there a better way of acheiving the above?
    - Sol

    Hi,
    You can use v('IMAGE_PREFIX') in your SQL statement:
    CASE
    WHEN APP.RENEWAL_DATE < SYSDATE
    THEN '&lt;img src="' || v('IMAGE_PREFIX') || 'FNDCANCE.gif"&gt;'
    WHEN APP.RENEWAL_DATE > SYSDATE
    THEN '&lt;img src="' || v('IMAGE_PREFIX') || 'Fndokay1.gif"&gt;'
    ELSE '&lt;img src="' || v('IMAGE_PREFIX') || 'wwv_small_help.gif"&gt;'
    END CRB_Valid,Andy

  • Display image for BLOB  Download link in Interactive Report

    I have a table containing BLOB data and am displaying the table in an interactive report. I would like to replace the "Download" text link with an icon that represents the MIME type of the BLOB, but can't seem to find a way to make the substitution. Does anyone know how to do this? Thanks.
    -Jeff

    Hey Ben,
    Thanks for the suggestion. I understand what you are saying, the problem is that when you have an interactive report that includes a BLOB and you use the built-in method for displaying a download link, it only gives you the option of using a text link. The method is outlined in the online help under:
    Home > Advanced Programming Techniques> About BLOB Support in Forms and Reports > About BLOB Support in Reports
    This is done by using the following syntax in the Number/Date Format of the column attribute of the BLOB:
    DOWNLOAD:CC_DOCUMENTS:CONTENTS:ID::MIME_TYPE:FILENAME:UPDATED_ON::attachment:View
    Where the last parameter is the link text. The only problem is that there is no option for substituting an image rather than the link text. That's what I'm trying to work around. Sorry if you new all of this already, but I wanted to explain what I've already done. Thanks for any help you can offer.

  • How to display images by using URLs in Interactive Reporting

    Hello everybody,
    My client has the Hyperion System 9.3 suite.
    We have a report in Interactive Reporting showing product data.
    The source for the report is a relational database (SQL Server).
    The data is grouped by product.
    My client needs the product's picture (jpg) in the report.
    The problem is that product images are not available in the relational database but via URL like this:
    http://client_domanin//Hyperion/id_product.jpg
    (the name of the image equals the id of the product).
    I was thinking to solve this problem using Java Script.
    I don't know Java Script and don't know how to 'integrate' the JavaScript code with Interactive Reporting.
    How should the Java Script look like?
    Any help will be extremely appreciated.
    Thank you all!
    Daniela

    You might be able to do it if you are using the iHTML view of the Report not the Interactive Reporting Web Client (Plug-in)
    I do not have a 9.x server available to test this so it is guess on how i did it once in a Proof of Concept.
    In Results section Create a Computed Item that will be the HTML tag for the Graphic
    the syntax would look something like below
    '<IMG SRC = "http://client_domanin//Hyperion/" + id_product + ".jpg">'
    WHERE id_product is a column in your Data.
    Again this will not show a graphic when viewed with Interactive Reporting Web Client or Desktop Client.
    Good Luck, hope this is helpful
    Wayne

  • Set image size in an Interactive Report

    Hello,
    I am running APEX 4.1 on Oracle 11g.  I am trying to resize images in either an IR or a classic report to be 100px x 100px.  The images are of various sizes, but all larger than the size I want to display.  The images are stored as.jpg images, and I need to access them via URL.  I have this in my select statement:  '<img src=https://aaa.bbbbb.edu:10056/inbpics/' || 'I00' || substr(spriden_id,5,5)|| '.JPG>' pic and it works to display the image, but it displays the image at its full size.  I try adding height and width values to the query, like: '<img src=https://rand.wvnet.edu:10056/inbpics/' || 'I00' || substr(spriden_id,5,5)|| '.JPG height=100 width=100>' pic but the image doesn't display because it adds the height=100 to the end of the path for the image.
    I know I could create thumbnails of the images, but there are several thousand images with more being added constantly, and it would be too much work to try to keep up with.
    Is there a way to set the height and width of an image in a report?
    Thanks,
    Bob

    Hello,
    Change your query to include "class" for images.
    '<img class="img100-100" src=https://aaa.bbbbb.edu:10056/inbpics/' || 'I00' || substr(spriden_id,5,5)|| '.JPG>'
    Now put following CSS in Page HTML Header or Footer.
    <style>img.img100-100 {height: 100px; width: 100px;}</style>
    Regards,
    Hari

  • Including a thumbnail image in an interactive report

    Is there a way of including a thumbnail image on the lines of an interactive report? My usual method of including a thumbnail in a region is to add a rendering reference in the column formatting part of the report format. However this doesn't seem possible within an interactive report. Any suggestions on how to accomplish this?
    Thanks,
    George

    I used this example but I cant show picture in my region using this procedure. It displays simbol for broken image. Any help. I even added grants for procedure, but it just does't work. This is how I call procedure in html region:<img src="#OWNER#.display_thumb?p_photo_id=3084374128401555434" />

  • Apex 4.0 interactive reports and images

    To the community,
    I haven't had a chance to do a decent search before bed, but I was wondering if anyone had links to good examples on OTN, someone's blog, apex.oracle.com etc, but I thought I'd put the question out there overnight.
    I have a table that contains my blob/mimetype/filename information, and I'd like to create a sample interactive report that displays the image in the blob in all three formats - standard interactive report, using the icon view, and using the detail view.
    Note I'm not referring to images that may be in the repository or file system - but within in a table.
    For whatever reasons I was losing the battle this afternoon, I was just wondering if anyone knew of good concise examples, such as this for using images in form & classic report pages.
    http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/apex/r31/apex31nf/apex31blob.htm
    Cheers,
    Scott

    I have finally replicated the solution, with the help of the following thread
    Confusion with get_blob_file_src
    found when searching "broken image" as one of the keywords.
    Such a horrible and non-intuitive solution to get images displayed in an interactive report!
    Hopefully the Apex team can work on improving this in future releases...
    Scott

  • Limit the filesize upload and resize a blob image in a report

    I'd like to know how to do both.. I have a file browse that uploads images to my application. It's called P34_IMG1. I would like to limit the file dimensions to a maximum of 200 x 300 px (but it can be less) and have a limit of 1MB in filesize.
    As well as the above, I'd like to know how to resize this image into a 'thumbnail' of sorts that shows the image much smaller in a report. The image shows but they are too big. How do I resize them?
    Thanks much
    -J

    oh I didn't see this reply, Tony. Sorry.
    No I don't have the image like that in the report, the report's query is like this:
    select * from (
    select      "LOTS"."LOTID" as "LOTID",
          "LOTS"."LOTNAME" as "LOTNAME",
          "LOTS"."ADD1" as "ADD1",
          "LOTS"."ADD2" as "ADD2",
          "LOTS"."ADD3" as "ADD3",
          "LOTS"."COUNTRY" as "COUNTRY",
          "LOTS"."MESSAGE" as "MESSAGE",
          "LOTS"."APPSTATUS" as "APPSTATUS",
          "LOTS"."SENDERMESSAGE" as "SENDERMESSAGE",
          "USERS"."USERNAME" as "USERNAME",
             dbms_lob.getlength("IMG1") as "IMG1"
    from      "USERS" "USERS",
          "LOTS" "LOTS"
    where   "LOTS"."USERID"="USERS"."USERID" AND (UPPER("USERS"."USERNAME") = UPPER (:APP_USER)))
    where (
    instr(upper("APPSTATUS"),upper(nvl(:P40_SEARCH,"APPSTATUS"))) > 0
    )and the IMG1 column in the report attributes has the number/date format as IMAGE:LOTS:IMG1:LOTID::::::inline:Download. So I don't know how to use this to resize the images, unfortunately.

  • Resize and print a large image in a report

    A current project I'm working requires that a "report" be printed out for every "part" produced.  
    Each "part" is photographed and a high quality (large) .jpg file is
    generated and cataloged on the hard drive.  A report with this
    image is then printed and shipped with the product as part of a QA
    process.  
    Initially I used a command line argument to have Irfanview print the
    image only.  This was so easy.  Even printing in Landscape
    was simple.  Of course then I realized I would probably need a
    little more information than just the image.  
    Looking at some examples of report generation and reading some of the
    problems others have had in the past, I figured it might be good to ask
    before I go stumbling around in the dark.  
    The original images are 2288x1712 in size.
    Is there any way to auto resize an image to "fit" onto a printed report?  
    The only way I can think to do is to experiment with different sizes
    until I find something that fits and looks alright, then use either
    IMAQ tools or an Irfanview command to resize the image before appending
    it to the report.  
    If anyone has any tricks for this one, I'd love to hear them.  
    Patrick Allen

    Here, but like I said, it's a very stupid VI. It doesn't do any avareging or smoothing and it has no mathematical optimization (assuming that there is any). It just removes some of the elements. This has been good enough for displaying images, but might not be good for anything else, because you lose a lot of details.
    Try to take over the world!
    Attachments:
    Resize.llb ‏98 KB

Maybe you are looking for