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

Similar Messages

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

  • Displaying thumbnail images inline with a report

    Hi,
    I have a table with data and one column which is a text image filename. This image file resides on another server. I currently have a cgi that takes the image filename as a parameter and returns the image be viewed in a browser. I've been able to create a report where the image file name was a hyperlink that opens the image in the browser. I've also been able to create a static html page that can display the image inline with the APEX page, but the html is hardcoded.
    My desire is to have the thumbnail appear inline with the report in its own column. Is this possible? I've seen it in some demos, but the images were stored in the database or the database servers filesystem.

    Yes, it is possible.
    I did just that.
    Here what I did
    SQL> desc dept
    Name Null? Type
    DEPTNO NOT NULL NUMBER(2)
    DNAME VARCHAR2(14)
    LOC VARCHAR2(13)
    PICS VARCHAR2(20)
    PICS hold the file name of the image, I name my thumbnail and the picture with the same name but store in different directories under HTTPHOME/images, name pics and thumbail
    I created an interactive report in APEX
    select
    "DEPTNO",
    "DNAME",
    "LOC",
    '<img src="#IMAGE_PREFIX#thumbnail/'||"PICS"||'" border="0">' AS PIC_LINK
    from "DEPT"
    In the interactive report attribute, I set the "DISPLAY TEXT AS" for PIC_LINK as "Standard Report Column"
    If you are using XDB, you need to re-copy you images(This part I don't like) to database every time you change/add/delete an image.
    If you are using HTTP server, then that it is.
    I am looking for a way to dynamically show the thumbnail with providing an image file in APEX. So,that I don't have to use 2 files
    --John                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • 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

  • Need help to show a thumbnail image column in report

    Hi, Gurus:
    I need to display a column of thumbnail images in a classical report. I follow the thread https://kr.forums.oracle.com/forums/thread.jspa?threadID=2201667
    I am using APEX 4.1, Oracle 11gR2
    Here is my table:
    CREATE TABLE "SORS"."SOR_IMAGE"
       (     "IMAGE_ID" NUMBER(10,0),
         "OFFENDER_ID" NUMBER(10,0) NOT NULL ENABLE,
         "IMAGE" BLOB CONSTRAINT "SOR_IMAGE" NOT NULL ENABLE,
         "THUMBNAIL" BLOB,
         "MIME_TYPE" VARCHAR2(50 BYTE),
          CONSTRAINT "SOR_IMAGE_PK" PRIMARY KEY ("IMAGE_ID")
    )Here is my procedure:
    create or replace
    procedure dl_sor_thumbnail (p_offender_id IN NUMBER) as
       v_mime_type VARCHAR2(48);
       v_length NUMBER;
       v_name VARCHAR2(2000);
       v_image BLOB;
    BEGIN
      SELECT 'IMAGE/JPEG', dbms_lob.getlength(thumbnail), thumbnail
      INTO v_mime_type, v_length, v_image
      FROM sor_image
      WHERE offender_id = p_offender_id
      and image_id = (select max(image_id)from sor_image where offender_id = p_offender_id) ;
    -- setup the HTTP headers
    owa_util.mime_header(nvl(v_mime_type, 'application/octet'), FALSE);
    htp.p('Content-length: '||v_length);
    --htp.p('Content-Disposition: attachment; filename="' || substr(v_name, instr(v_name,'/') + 1) || '"');
    --htp.p('Content-Disposition: attachment; filename="'somemmmmmfilename.jpg'");
    -- close the headers
    owa_util.http_header_close;
    -- download the Photo blob
    wpg_docload.download_file (v_image);
    END dl_sor_thumbnail;here is my report:
    select distinct 'MAP', '<img src="#OWNER#.dl_sor_thumbnail?p_offender_id='||so.offender_ID||'"/>' detail,
    so.doc_number as "DOC Number", so.offender_id as "Offender_ID", so.first_name||' '|| so.middle_name||' '||so.last_name as "Offender Name",
    so.checksum as "checksum",
    so.last_name as "Last Name",
    so.first_name||' '|| so.middle_name as "First Name",
    (select sc1.description from sor_code sc1 where sc1.code_id=so.race) as "Race",
    (select sc2.description from sor_code sc2 where sc2.code_id=so.sex) as "Sex",
    (select sc8.description from sor_code sc8 where sc8.code_id=so.hair_color) as "Hair Color",
    (select sc9.description from sor_code sc9 where sc9.code_id=so.eye_color) as "Eye Color",
    replace(replace(nvl2(sl.address1, sl.address1||' '||sl.address2 ||' '||sl.city ||' '||sl.county||' '||(select sc3.description from sor_code sc3 where sc3.code_id=sl.state)||' '||sl.zip, '-'),'#'),',') as "Address",
    replace(replace(nvl2(sl.physical_address1,sl.physical_address1||' '||sl.physical_city ||' '||sl.physical_county||' '||(select sc4.description from sor_code sc4 where sc4.code_id=sl.physical_state)||' '||sl.physical_zip, '-'),'#'),',')  as "Physical Address",
    sl.status as "Status",
    to_char(sl.ADDRESS1_LATITUDE) as "Address Latitude",to_char(sl.address1_longitude) as "Address Longitude",
    to_char(sl.physical_address_latitude) as "Physical Latitude",to_char(sl.physical_address_Longitude) as "Physical Longitude",
    decode(rox.habitual, 'Y', 'Habitual', '') as "Habitual",
    decode(rox.aggravated, 'Y', 'Aggravated', '') as "Aggravated"
    from sor_location sl, sor_offender so, registration_offender_xref rox, sor_last_locn_v sllv
    where rox.offender_id=so.offender_id
    and sllv.offender_id(+)=so.offender_id
    and sl.location_id(+)=sllv.location_id
    and rox.status not in ('Merged')
    and rox.REG_TYPE_ID=:F119_REG_ID
    and upper(rox.status)='ACTIVE'
    and nvl(rox.admin_validated, to_date(1,'J'))>=nvl(rox.entry_date, to_date(1,'J'))
    and (((select sc11.description from sor_code sc11 where sc11.code_id=so.race and sc11.code_id=:P5_SL_RACE) is not null ) or (:P5_SL_RACE is null))
    and (((select sc12.description from sor_code sc12 where sc12.code_id=so.sex and sc12.code_id=:P5_SL_SEX) is not null ) or (:P5_SL_SEX is null))
    and (((select sc13.description from sor_code sc13 where sc13.code_id=so.hair_color and sc13.code_id=:P5_SL_HAIR_COLOR) is not null ) or (:P5_SL_HAIR_COLOR is null))
    and (((select sc14.description from sor_code sc14 where sc14.code_id=so.eye_color and sc14.code_id=:P5_SL_EYE_COLOR) is not null ) or (:P5_SL_EYE_COLOR is null))
    and (exists ( (select sm.offender_id from sor_mark sm, sor_code sc15 where sm.offender_id=so.offender_id and  sc15.code_id=sm.code and sc15.code_id=:P5_SL_OTHER_MARKS  and sm.description is not null) ) or (:P5_SL_OTHER_MARKS is null))
    and ((exists (select sm1.description from sor_mark sm1 where sm1.offender_id=so.offender_id and upper(sm1.description) like upper('%'||:P5_TF_OTHER_MARKS_DESCRIPTION||'%'))) or (:P5_TF_OTHER_MARKS_DESCRIPTION is null))
    and ((floor(to_number(sysdate-so.date_of_birth)/365)-:P5_TF_AGE between -5 and 5) or (:P5_TF_AGE is null))
    and ((to_number(:P5_TF_HEIGHT_FEET)*12+to_number(nvl2(:P5_TF_HEIGHT_INCHES, :P5_TF_HEIGHT_INCHES, '0')-(floor(so.height/100)*12+mod(so.height, 100))) between -6 and 6) or (:P5_TF_HEIGHT_FEET is null))
    and ((so.weight-:P5_TF_WEIGHT between -25 and 25) or (:P5_TF_WEIGHT is null))and I set detail column as standard report column.
    however, the report shows no image, just an icon which indicates the image is not available. Would anyone help me on this problem?
    Thanks a lot.
    Sam
    Edited by: lxiscas on Apr 16, 2013 1:59 PM

    lxiscas wrote:
    I need to display a column of thumbnail images in a classical report. I follow the thread https://kr.forums.oracle.com/forums/thread.jspa?threadID=2201667
    Bad choice. Only one person involved in that thread knew what they were doing...and you copied from the wrong one.
    Here is my procedure:Lose it. Custom download procedures are overcomplicated and now almost never required.
    See the recommendation to use declarative BLOB support, as shown in the Thumbnail image problems.

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

  • Interactive report with images

    I looked at this link
    http://apex.oracle.com/pls/otn/f?p=31517:1
    I see that there are images in the report with a little link to download to excel at the bottom. What does the image look like when downloaded to excel?
    Also is there a way to have an image in an interactive report but not have it download to excel, pdf, or word? I want to rest of the IR columns to be downloadable, just not the image.
    Thanks,
    Andrew

    Hello Andrew,
    If you tried the download link you would have seen that the images are not downloaded in Excel. That's because the download is a separate procedure that is called using the link.
    When you look at [this page|http://htmldb.oracle.com/pls/otn/f?p=31517:108] you can see how Denes does that...
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    You can reward this reply by marking it as either Helpful or Correct ;-)

  • Interactive Report Column Heading Filters using LIKE instead of =

    Still on APEX 3.1
    I have an inter active report with a column Like Below
    select case when trunc(c.resp_contact_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_contact_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_green.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    when trunc(c.resp_attempt_dt, 'MM') = trunc(sysdate, 'MM') or trunc(c.oth_attempt_dt, 'MM') = trunc(sysdate, 'MM') then '<img src="/i/contact_2_yellow.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">'
    else '<img src="/i/contact_1_red.png" alt="RESP A: ' || to_char(c.resp_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.resp_contact_dt, 'MM/DD/YYYY') ||'
    ' || 'OTH A: ' || to_char(c.oth_attempt_dt, 'MM/DD/YYYY') || ' C:' || to_char(c.oth_contact_dt, 'MM/DD/YYYY') || '">' end as Contact,
    This column header has an User defined LOV
    select '%green%' d,
    '<img src="/i/contact_2_green.png">' r from dual
    Union select '%red%' d,
    '<img src="/i/contact_1_red.png">' r from dual
    union select '%yellow%' d,
    '<img src="/i/contact_2_yellow.png">' r from dual
    When user select my Red image from the column header link
    the filter generates where contact = '%red%' This fails
    Is there a way to generate the filter contact like '%red%' without the user having to change it to like.
    Is this possible in 4.0?

    I am assuming Because of the crickets either I am doing my SQL to incorrectly and there is a better way to return get a popup with a changing image into an interactive report
    or
    There is no way to do what I am trying

  • Interactive Report - aggregate with hide - bug or feature?

    We are in the process of converting existing reports to Interactive Reports (IR), and adding a bunch of new ones. We ran into a roadblock when using IR with aggregates. To
    reproduce, I created a test table with region, state, county, city and population columns. I created an interactive report, CONTROL BREAK on "Region", aggregate (SUM) on
    population. The result looked like this.
    <p>
    <b>Result #1:</b>
    <p>
    Region: West
    ************<b>
    State  County         City            Population</b>
    CA     Orange County  Irvine          100
    CA     Orange County  Orange          200
    CA     Los Angeles    Hollywood       300
    CA     Los Angeles    Universal City  400<b>
                          Sum           1,000</b><p>
    When I clicked on City column, and chose to hide it, I expected the IR to resummarize the result to look like this:
    <p>
    <b>Result #2:</b>
    <p>
    Region: West
    ************<b>
    State  County         Population</b>
    CA     Orange County  300
    CA     Los Angeles    700
           Sum          1,000</b><p>
    But what I saw was this:
    <p>
    <b>Result #3:</b>
    <p>
    Region: West
    ************<b>
    State  County         Population</b>
    CA     Orange County  100
    CA     Orange County  200
    CA     Los Angeles    300
    CA     Los Angeles    400<b>
           Sum          1,000</b><p>
    The data in the above result #3 is not presented the in way it should be for the users to comprehend.
    <p>
    In the non-interactive version, we display checkboxes for the users to show and hide the columns. If the column "City" is set by the user to "Hide", then we use the
    condition on the column to hide the City column from the report, and use the query "SELECT ..., CASE WHEN :P10_SHOW_CITY = 'YES' THEN city ELSE NULL END As city, SUM
    (population) FROM .. " to summarize the data. This displays results like the one shown in Result #2.
    <p>
    1. Shouldn't IR re-summarize the data to display results like I have shown in Result #2 when a column is hidden? We are able to achieve this with non-interactive version. Is this a
    bug in IR?
    <p>
    2. Is there a way to get interactive report to display results like the way I have shown in Result #2?
    <p>
    3. Is there a way to retrieve the columns that are set to "HIDE" in IR so that we can modify our SQL to resummarize?
    <p>
    <b><u>Script to reproduce:</u></b>
    <p>
    Create table test_ir(
        region varchar2(50),
        state  varchar2(50),
        county varchar2(50),
        City   varchar2(50),
        population number(4))
    insert into test_ir(region, state, county, city, population) values
    ('West', 'CA', 'Orange County', 'Irvine', 100)
    insert into test_ir(region, state, county, city, population) values
    ('West', 'CA', 'Orange County', 'Orange', 200)
    insert into test_ir(region, state, county, city, population) values
    ('West', 'CA', 'Los Angeles', 'Hollywood', 300)
    insert into test_ir(region, state, county, city, population) values
    ('West', 'CA', 'Los Angeles', 'Universal City', 400)
    select region, state, county, city, population from test_ir<br>
    Thanks.<br>
    <br>
    Ravi

    Hi Ravi,
    When you add a control break, we do not re-generate the query to do group by. We just do control breaks. In the current version of APEX, to achieve what you are trying to see, you need to create an Interactive report with group by clause. If you want to use a dynamic query, the solution I suggest will not work.
    The good news is in APEX 4.0, we are working to include group by view to an Interactive Report. This will let you select group by columns and aggregate functions to get the Result #2 you are trying to get.
    If you wish to see how this works, we will be able to show if you come to APEXposed 2008, October 29 - 30, at Chicago O'Hare Wyndham.
    Christina

  • Images in a interacitve report

    Hello,
    one question:
    Is it possible to display a image in a interative report?
    I did this already in a classic report by using:
    CASE
    when ("Number" > 1) then '<img src="#WORKSPACE_IMAGES#red.JPG" alt="RED">'
    when ("Number" <= 1) then '<img src="#WORKSPACE_IMAGES#green.jpg" alt="GREEN">' end as "Trafficlight"
    This worked perfect in the classic report. But when I use this for the interactive report, it displays just the text, ("img src.... ") but shows no image.
    Maybe the interactive report can't show any images?
    Thanks for your help,
    LISA :-)

    Hi Lisa,
    Yes it is possible to display images in the Interactive Report. If you are just seeing the text "img src..." check the Report Attributes to see if the 'Display Text As' is set to. It should be Standard Report Column.
    Regards
    Paul

  • 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

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

  • 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

  • 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

  • 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

Maybe you are looking for

  • Apple Configurator 1.3 Update Crashes Constantly

    Just installed 1.3 but boy do I wish I hadn't! Can no longer open Configurator. Crashes on launch without fail. Many others have the same problem after reading some reviews in the App Store. Anyone know how to fix this, or even if it is fixable? I la

  • RMAN failure for "archive-log ... not found in controlfile"

    Recovery Manager: Release 8.1.6.0.0 - Production RMAN> connect target sys/XXXX@cldb; 2> connect catalog rman/XXXX@rmandb1; 3> 4> resync catalog; 5> 6> # Backup the database 7> run { 8> allocate channel ch1 type disk; 9> backup incremental level 0 for

  • Spectral Selection Problems

    Hey all I use Audition 3.0 to work and have recently (2 hours ago...) had this problem: When I select a part of the spectrum and do something with it (whatever I do, even deletion) Audition stops responding, crashes and ofc closes. Is there any known

  • How to return stream from bpel process

    Hi, As per my requirement I need to generate a file it could be pdf /text and then send this file as output of my bpel process. I am not getting any document which provide me any solution. Please help me out ASAP. Thnaks, Ana

  • Broadcom wl with wicd

    Hello All, I have a broadcom card that only works with the wl kernel driver. I was running an older version of wicd (two updates ago) and I could connect to any network such as WPA WEP and wired. Since the newest two updates, I can not connect to sec