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

Similar Messages

  • How set image size open raw file?

    How to set image size/resolution when opening a raw file in pse 11 editor??
    win 7 pro; pse 11 settings: edit>preferences>print resolution = 337.596, screen resolution 109 dpi( 27 inch, dell U 2711). Originally print resoltuion was set to 240 dpi  but was changed in case this was causeing a problem. CRAW v 7.4.0.137
    Camera alpha 65, image size is: 6000x3376 dpi; (83.33x46.88 inch)
    Problem is: Currently when I edit a RAW file in CRAW and then open in pse editor image size is: 6000x3376 px; 25x14.667 inches at 240 dpi ( by ration this corresponds to:17.773x10 inch at 337.6 dpi)
    I am trying to change settings so the raw file opens as: 17.776x10 and anywhere from240 to 337.6 dpi
    whatever works or is esiest to set.
    My settings are for use in creating blue ray dvd movies and with cropping and editing printing high quality pictures for family.
    Thanks  in advance for any help you can provide.

    That's a Sony Alpha SLT-A65?
    Are those pixel dimensions of 6000 x 3376 the size the camera raw files came out of the camera?
    You can't really change the resolution that the photoshop elements version of camera raw opens the the files into the pse 11 at.
    (i think 240 is the default for most cameras)
    You can however set the resolution with Image>Resize>Image Size if you need to for printing or other uses.
    In the Image size dialog uncheck Resample Image and enter the resolution.

  • 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

  • Selecting a set of rows in an Interactive Report

    Hi,
    What I want to achieve is when a row is clicked in an interactive report that row (via a Primary Key/ROWID) is added to a list of IDs to be edited in one go, I will probably use a collection for this, although a colon delimited list might be quicker and/or easier. The two ways I thought of trying to achieve this was by bending the use of the Link Column and providing a Link to Custom Target or using a row selection technique described below.
    My initial thought was to make it a check box which then called some JavaScript/On demand process, similar to the one shown here. So far I've tricked it by making the image my check box and the link attributes being my function which returns false to stop the page redirecting when clicked. The problem is I can't seem to get the ROWID to appear, I've tried #ROWID# which simply puts that string as the input, so for example, my "image" is this: <input type="checkbox" value="#PK_ID#" name="f01"/>So, if I could get something meaningful in there instead of ROWID it would work a treat I think.
    The alternative method was to use a form of the row highlighting described in this Row Highlighting. The problem here seems to be that for an Interactive Report you cannot change the table row elements to add the onclick. Also when trying this (using Firefox to add the appropriate code to a TR element) it works, as in the function fires, but does not change the appearance of the rows. I lack the CSS/HTML skills to work out why so far.
    Worst case I can simply create a checkbox field in the query as per the example above, the only drawback is that the column might not always be available in the report if the user has hidden the column.
    Any ideas?
    Many thanks,
    Gareth.
    Edited by: gaz_stephens on Jan 16, 2009 12:09 PM

    Hi,
    If all of the records are displayed on the report in one go (that is, there is no pagination involved), then you can add the onclick after the table has been created. Add the following into the report's Region Footer setting:
    &lt;script type="text/javascript"&gt;
    function addEvents()
    var t = document.getElementById(gTable);
    var tRows = t.rows;
    var k;
    for (k = 1; k &lt; tRows.length; k++)
      tRows[k].onclick = function() {alert('Here');};
    addEvents();
    &lt;/script&gt;If pagination is involved, then any javascript will not be run when the next page is displayed. The alert('Here'); in the code would need to be replaced with some javascript functionality - probably calling a javascript function that works on the TR's "this" object reference.
    Andy

  • Dynamically set maximum row count in Interactive Report

    Hi,
    Has anyone worked out a way of dynamically setting (e.g. via select list) the maximum row count value for an Interactive Report, taking into account issues with order by when the report is filtered. I'm aware of solutions like this: http://www.talkapex.com/2010/10/apex-reports-no-limit-downloads.html but as far as I can tell this doesn't work when the report is filtered and the IR is rewritten in the background. Data sets then become unreliable because they are reordered.
    Thanks,
    Mike

    Hi Mike,
    You can do that with javascript
    gReport.search('SEARCH',100)the 100 you can replace for any number you like.I have a report with filter,sorting and groups and it is gives no problem there.
    any number means any number but not higher than the number you set at Maximum Rows Per Page.
    You probably can mix the solution from Martin and the above code.
    Regards,
    Kees Vlek
    <tt>Company: http://www.orcado.nl
    Blog: http://www.orcado.nl/blog/blogger/listings/69-kvlek
    Twitter: http://www.twitter.com/skier66</tt>
    If the question is answered please change it to answered and mark the appropriate post as correct/helpfull.
    Edited by: kvlek on 24-apr-2013 12:29
    Edited by: kvlek on 24-apr-2013 12:35

  • How to set image size in a table view

    Hi,
    I've just built a small VC application showing some process chain logs in a table view. For the different status types Error, Warning and Success I show the well-known traffic light icons. But up to now I haven't found out how to set the image size in a table view (height & width field is greyed out for the table). Any ideas? Or is it just not possible?
    Thanks for your help,
    Heiko

    Hello Heiko,
    I don't know, if it is possible, but I would say,
    it's not implemented yet. Maybe you can change the picture size and use then the pictures, that might be a workaround, if you can't change the height and width in VC.
    Best Regards,
    Marcel

  • Setting default columns displayed in interactive report

    Hi APEX community,
    I recently created an interactive report based on an sql query as follows:
    select
    "STOCK_CLIP_ID",
    "TITLE"
    from "STOCK_CLIP"
    After creating the report I added an additional column:
    select
    "STOCK_CLIP_ID",
    "TITLE",
    *"UPLOADED"*
    from "STOCK_CLIP"
    The new column does not display by default, I have to add it under Actions > Select Columns. I cant find any setting to add my new column UPLOADED to the default columns to be displayed so that when a user first navigates to the report they dont have to add that column in order to be able to see it.
    Sorry this is perhaps a stupid question with an obvious answer, i'm new to the interactive reports.
    Thanks!

    Hi,
    Login to Apex builder. Run page where is your interactive report.
    Select columns you like to show default from Action menu. Save report default layout from Action menu.
    Regards,
    Jari
    http://dbswh.webhop.net/dbswh/f?p=BLOG:HOME:0

  • How to Set Image size in webdynpro abap application

    Hi Experts,
    I am using image ui elemnet in my webdynpro application and i am getting the image on application, but here the problem is i am getting the image too big now i want to set the image size.
    Please Provide me the requried infromation to close the issuse.
    Thanks & Regards.
    Bhushan.

    The Image UI element has a height and width property.  Have you tried using those?
    http://help.sap.com/saphelp_nw70ehp2/helpdata/en/9e/ef8841e3af1609e10000000a155106/frameset.htm
    Also consider using the property adjustImageSize to maintain the original proportions.

  • Set header at runtime on Interactive Report

    I have an interactive report that displays twelve months across the report. The user can then choose a start year and month for the first column of the report. So, at runtime, I would like to populate the header with the appropriate year/month.
    On a regular report region, you can set the header using a Function returning colon delimited headings. I do not see this functionality on the interactive report. Am I overlooking something or is there another method where I can set the headers for these columns at runtime?
    Thanks,

    Andy,
    Thanks for the info. Unfortunately, I am having trouble implementing. When I place &P1_MONTH1. in my header, my header displays &P1_MONTH1. Hopefully, I am just implementing incorrectly. I am opening the Interactive Report and just entering &P1_MONTH1. in the Heading column for the appropriate column. Is this correct?
    NOTE: I placed the &P1_MONTH1. on a SQL Report and it worked. However, when trying to use on an Interactive Report it does not.
    Thanks,
    Edited by: Brian H on Feb 18, 2009 9:40 AM

  • How to set image size in d2k6i forms

    I have upload an image in forms6i, in oracle apps
    this code runs smoothly when images size is croped using microsoft picture manager.
    and those images are not croped or size more than 50kb it shows frm-47100 can not read image file \\...........
    is there any query to reduce the size of photo.
    pls help me.
    code is :-
    DECLARE
    tiff_image_dir VARCHAR2(80) :=:parameter.P_pm_photo_path;
    photo_filename VARCHAR2(80);
    MYEAR VARCHAR2(2);
    MROLL VARCHAR2 (4);
    MYEAR3 VARCHAR2 (2);
    BEGIN
    :System.Message_Level := '25';
    MYEAR := SUBSTR(:BW_STUDENT.STU_V_YEAR,3,2);
    MROLL := LPAD(:bw_student.stu_v_roll_no,4,'0') ;
    MYEAR3 :=TO_NUMBER (SUBSTR(:BW_STUDENT.STU_V_YEAR,3,2))+3;
    photo_filename:=tiff_image_dir||''||MYEAR||''||MROLL||''||MYEAR3||''||'.jpg';
    If
    nvl(photo_filename,'X')=tiff_image_dir
    then
    null;
    else
    READ_IMAGE_FILE(photo_filename, 'jpg', 'bw_student.STU_PHOTO');
    end if;
    END;
    thanks.
    Edited by: 984999 on Jan 30, 2013 12:57 AM

    hi
    no such a query y that corp or resize an image but u can use irfanview or acdview to resize an image
    Amatu Allah

  • Set default search column in Interactive Report

    Hi All:
    In APEX 4.0, for "Interactive Report" search function:
    If user doesn't select a column name to search for (this is done by click Magnifier glass icon), the IR will search "All Columns" that contains a string you have typed in the search bar.
    Is there a way to configure IR so that, by default, it will not search "All Columns", instead, it should search a particular column that I will specify when define this IR report.
    Why I am asking this? Here is my case:
    I have created a IR report to search employee information. By default, when user enters a string in the search bar, user want to search "Emploee Full Name" column in my IR report. User wants this default search behavior and really doesn't want to "click Magnifier glass icon and select "Employee Full Name" column; then type the search string).
    Basically, in my case, the IR report should default to search "Employee Full Name" if user doesn't select any search column.
    Any idea how to achieve this?
    Thanks!
    Kevin

    In the above DA, Changing the 'Event Scope' to 'Dynamic' should trigger it after PPR. I tried it but it's not working for me.
    Try the below it's working for me as expected,
    Create DA like below,
    Event: After Refresh
    Selection Type: Region
    Region: Select your IR region
    In True Action,
    Action: Execute Javascript Code
    Code:
    $s('apexir_SEARCH_COLUMN_DROP','COLUMN_LABEL');                           
    $s('apexir_CURRENT_SEARCH_COLUMN', 'COLUMN_ALIAS');
    In Affected Element,
    Selection Type: Region
    Region: Select your IR region
    Event Scope: bind (Default)
    Make sure Fire On Page Load under 'Execution Option' is checked. (i.e. Fire On Page Load: Yes)
    I am using APEX 4.0.2.00.07. It's working for me also in apex.oracle.come it's working in my example application.
    Thanks
    Lakshmi

  • How to set image size for importing photos from a digital camera

    I'm using Iphoto 6 and am a novice user of my new digital camera. The camera is set to HQ image quality. Initially when I imported photos from the camera into IPhoto, the images were very large (over 1 meg) and produced good quality 4X6 prints. Now when I import photos from the same camera still set to HQ image quality, the photos are very small (less than 100 kb) after being imported into IPhoto. I think I must have changed some kind of setting in IPhoto that affects the size of an imported image, but I can't find where that is or how to change it back so that the size is not changed when imported. Can someone please help me with this? Thanks!
    IMAC G5   Mac OS X (10.3.9)   my other computer is a Dell Dimension L500CX running Windows XP Pro

    Dave, thanks for clarifying Toad's response for me - I was just too ignorant to connect the dots from his responses. As you said, there were 2 versions - 1 in the original folder and 1 in data; the original folder had the photos that were 1 mb. We must have pulled from that folder previously to print photos not realizing they existed in 2 places. So when we found these thumbnail photos, we just thought they were the real thing. Where can you go to learn about the struction and hierarchy of the photos in terms of what Iphoto does to an image when you import it? Is it in Iphoto help somewhere? Thanks so much for your help with this, and you too Toad for leading me down the path.
    If you're getting the size from Finder, I think Old
    Toad's question makes a lot of sense. Is the file
    you're looking at, somewhere in a folder called
    "Data" in iPhoto Library? That 56k sounds about the
    right size for a thumbnail.
    If you do a search for the image name, both the
    actual photo and the small thumbnail are stored with
    the same image, e.g. abc.jpg
    IMAC G5   Mac OS X (10.3.9)   my other computer is a Dell Dimension L500CX running Windows XP Pro

  • Change image size dynamically in BIP report

    Can we change the size of image dynamically in bip report. If yes can I get some doccument or samples on it.
    Thanks
    Aj

    I am doing small POC
    I have a rtf template with three sample images on it with three different sizes for 1” by 1” , 3” by 3” and 5” by 5”.
    I have a standard size of 2” by 2” image in my server (Could change size in future depending on req)
    Now when I run the report the template should call the standard image from server and replace the sample images on the rtf and show the the standard image in three different sizes.
    Pls let me know if i am missing something

  • Setting image size

    how do i set an image to a particular size on a form

    There are no methods for resizing in MIDP. The image will appear in the size it was made.
    That being said, if you're working with a MIDP 2.0 phone you could try this.
    shmoove

  • Image size display in a report

    Hi EVERYONE,
    I have a page where user can upload images. I am storing the images in a BLOB field. I can also display images in a report.
    Now my question is, how can i reduce the size of the image when I am displaying them. I dont necessarily want to reduce the file size, I just need to display it in smaller size.
    Is this possible
    Thanks

    Hi user585397,
    resizing an image can be done with styling information. Depends on how you render the images on the screen. But let's have a look at the sample application, page with products shows the images. the query for this is:
    select p.product_id edit_product
    , p.product_id view_product_id
    , p.product_name
    , p.product_description
    , p.category
    , p.product_avail
    , p.list_price
    , '&lt;img src="p?n=' || nvl(i.file_object_id,0) || '" height="50" width="50" /&gt;' img
    from demo_product_info p
    , demo_images i
    where p.image_id = i.image_id (+)
    Here an html-image-tag is created, specifing the heigth and width for displaying the image. This would be one way of doing so.
    another way is like on page 6 of sample application, where the html expression for column formatting is used for displaying an iamge (report region, column image_name)
    &lt;div style="text-align:center;"&gt;
    &lt;img src="p?n=#FILE_OBJECT_ID#" height="50" width="50" /&gt;
    &lt;/div&gt;
    Hope this helps a bit
    Simon

Maybe you are looking for

  • Hyperlinked JSP Page does not refresh contents

    I have a very typical problem. In my application whenever I call a jsp page using hyperlink without any querystring attached to it the page called does not refresh. However when I press refresh on the browser it does refresh the contents. Basically i

  • Join With Date Dimension

    Hi, I have one Dimension called Caseheader and Date Dimension. In Date dimension I have date key  yyyymmdd format. I have fact table in which i am getting CaseCreationDate from Caseheader Dimension. in case creationdate it contains time as well becau

  • Deploy exception

    Hi All, Currently I am working with NWDS7.0.16, for that I create a track, under the tacke I create test DC and I created webdynpro application. when I try to deploy the application I am getting exception mention below. Could anybody please help me.

  • Removing extra page numbers

    I converted a .doc into .pages and now am left with two sets of page numbers on each page. The Pages page number is set to auto and sits in the right hand side of the footer text box, but the other page number sits outside the footer. I can't select

  • Track pad on macbook pro 2010 can click but no response

    Hi. I have a macbook pro late 2010 model. Suddenly the mouce tracp won't work. I does everything I ask it to and even click. But when I click nothing happens. Anyone know how to fix this? I have tried screw thing behind the battery trick but that onl