Set size of an image in a configurable FormView

Hello,
I've following requirement.
I want to resize a image on a cofigurable FormView.
Over GET_P* i get a image field:
  case iv_property.
    when if_bsp_wd_model_setter_getter~fp_fieldtype.
      rv_value = cl_bsp_dlc_view_descriptor=>field_type_image.
  endcase.
And the URL is set in the GET_* methode.
Now i would like to set a static hight and width to the image. Is this possible? Or i have to do this in *.htm, for excample:
<%
DATA: lv_status_img_url TYPE string.
lv_status_img_url = "/SAP/BC/BSP/SAP/thtmlb_styles/sap_skins/default/images/warning.gif".%>
<htmlb:image src = "<%=lv_status_img_url%>"
alt = "Status img!" />
I I refer to
http://wiki.sdn.sap.com/wiki/display/CRM/Uploadanddisplayimagesinwebui+screen
Re: Adding an icon to a view
Add a image on account details view
Best Regards,
Manuel Nonnenmacher

any ideas?

Similar Messages

  • Size of shared images ios7

    When sharing images by message or email from iOS 7.0.4, iPhone 5s, I don't notice any prompts to set size of shared image.
    Am I missing something, or does iOS now decide for itself how to scale the image for sharing?
    LJ

    Hi!
    What kind of operating system you are using?
    Windows XP / Vista / Windows 7 just use 3 GByte of RAM.
    Windows Server 2003 / 2008 SBE and Standard just 4 Gig.
    And, it depends on your application, count current users and the amount of data in the database ...
    1. Rule: The more the better ;)
    Regards

  • How can I set the size of an image in java?

    How can I set the size of an image in java? I have to choose the width and height of image...thanks to everybody...sorry for my english :-)

    Hi 43477
    Can you provide more details, do you want to setsize to display an image on a screen of when saving image etc?
    PS.
    There is a good invention called googlegoogle is good, but sometimes it's better to use more specific search, there is a search field avove on this page :)

  • Setting image dpi size of tiff Image

    Can anyone suggest me a method for setting the size of tiff image to 300 dpi.
    I got the following code
    http://markmail.org/download.xqy?id=lljtrh4jtsowwlok&number=1
    But the image dpi size remains the same after this
    Edited by: Priya on Dec 29, 2008 10:58 AM

    Why do you think the dpi remains the same after using the code in the link?
    Any given printer dosen't necessarily have to honor the dpi setting in an image format. In fact, usually the image viewer used to print the image takes control of the physical size of the image.

  • How to set the size of an image

    hi,
    I have a database which contain an image. now i want to retrieve this image & want to show this image in my jsp page as user's defined size. I have following code. My following code shows the original size of an image. Now i want to see different size of this image. How is this possible? I know control the size of this image after saving this image
    in a file. but i want to control the size of this image without saving this image in a file? IS it possible ? Is there anybody can help me?
    Please help me.
    ResultSet rs = null;
    PreparedStatement ps=null;
         InputStream sImage=null;
         byte[] imagebyte=null;
         String var;
         String name=request.getParameter("RegName") ;
         String image =request.getParameter("ImageFile");
         out.println(name);
         out.println(image);
         out.println();
         ps=con.prepareStatement("insert into t_image (ID, Image) values(?,?);");
           File file =new File(image);
        FileInputStream in = new FileInputStream(file);
        ps.setInt(1,1234);
        ps.setBinaryStream(2,in,(int)file.length());
        ps.execute();  
        rs =stm.executeQuery("select Image from t_image where ID=1234");
        if(rs.next()) {
       imagebyte =rs.getBytes(1);
        response.reset();
        response.setContentType("image/jpeg");
        %>
    <%
    response.getOutputStream().write(imagebyte);
    %>
    <%
        response.flushBuffer();
    %>With regards
    Bina

    hi,
    I have a database which contain an image. now i
    want to retrieve this image & want to show this
    image in my jsp page as user's defined size. I have
    following code. My following code shows the original
    size of an image. Now i want to see different size
    of this image. How is this possible? I know control
    the size of this image after saving this image
    n a file. but i want to control the size of this
    image without saving this image in a file? IS it
    possible ? Is there anybody can help me?This has nothing to do with JDBC; you can only store and retrieve the image you have and there's no image manipulation functions in JDBC (nor should there be).
    I can see 2 options:
    1) serve the image file as is, but in the jsp that writes the html that contains the "<img>" tag that gets it, use the "height" and/or the "width" to scale the suppied image to presentation size you want.
    2) find some image manipulation code that will convert the image into the size you want
    Option 1 will work well if the problem you have is merely refining the image size for presentation. Option 2 is your only coice if it's the image files size itself you really want to change, not just it's appearance on a page.

  • Problem about set the size of an image

    Dear all,
    I encountered the following problem when programming with
    action script.
    I've got an image component. And I'd like to load the picture
    dynamically.
    So I called the function loadMovie like this:
    this.loadMovie( url );
    It seems work for me.
    But when I wanted to change the size of the image, the
    picture disappeared.
    I added the following line under the loadMovie function:
    this._width=500;
    this._height=500;
    Would anyone be kind enough to give any hintsto solve my
    problem?
    Any help would be appreciated and thanks in advance.

    resize the image file before it's loaded.
    Or you can call getScaledInstance on the Image object... which you can get from the ImageIcon, then construct a new ImageIcon with the scaled image.

  • Set a fullscreen Boot image

    Hi,
    I know that I can change the boot image by simply replacing the file BootLogo.png into another one with the image I want to appear at the startup screen.
    But I want this image to be fullscreen size, and I cannot do that, as I don't know where or how to configure it.
    So, how do I set a boot image as fullscreen?

    Something funny is happening here!
    Before testing something (I'll say later) I would say the things below:
    >>
    Maybe I haven't expressed myself properly.
    I don't want to change the login background picture, I want to change the boot picture (the gray apple that appears at the startup, when you turn on your mac) and its size.
    That gray apple file (BootLogo.png) is located at the same place as the DefaultDesktop.jpg file is. See image below.
    The point is that I don't know how to change the boot picture size (to fullscreen, for example).
    <<
    But just after writing all that, I've thought that this file (BootLogo.png) could habe been created by BootXChanger. So then, I opened that program and set the boot image to the default (the gray apple), deleted that .png file and restarted the computer.
    I noticed that the original gray apple appeared at the startup (boot) screen without troubles and that the BootLogo.png file hadn't been restored (as if the OS did not need that file).
    After that, I opened the BootXChanger.app to change the boot image again and the BootLogo.png file reappeared.
    So, now, I have 2 questions:
    - the original one; how do I set a fullscreen boot image?
    - and; if the BootLogo.png file doesn't exist, how do I change the boot image without having BootXChanger?

  • How to decrease the size of an image (CS5)?

    I need help with how to reduce the size of an image to fit various smaller sizes.  E.g. 135 x 380mm, 254 x254mm etc mounted/matted. Therefore, the image must be made smaller than these sizes without losing quality and any part of the image. I am unable to crop to achieve these sizes since I need the full image. These photos were taken by using a Canon D450 camera and in both RAW & JPEG.
    Your help is much appreciated.

    You may want to use Image > Image size... and dial in the sizes you want.
    Set your units to mm in the dialog. Turn off resample and you can adjust the final print size.
    What I am showing you is called "scaling", changing the print size without throwing out pixels as resample would do. Your image is  intact. This is from CS6, but it should be about the same in CS5.
    Gene

  • Set size for JScrollPane

    I have a JLabel that I am using to display images thri ImageIcon. i want to wrap the jlabel in a JScrollpane so that i can view the entire image by scrolling. i did this part but the scroll pane is extremely small to begin with. how can set the size of the Jlabel initially ??

    You don't set the size of the Label, you set the size of the
    ScrollPanel. Also you don't add/place the Label on the Frame/Panel,
    you add the ScrollPanel to the Frame/Panel.
    The Label will take on the size of the Image you load into it.

  • Setting resolution of an image.

    Is there a way in interMedia to set the resolution of an image using the process() method?
    I need to catalog images based on their pixels/inch can't seem to find that info using the ORDImage object.
    tks,
    Rodger...

    Can you be a bit more specific?
    I would guess that the pixels per inch would depend upon the display/printer characteristics and not the image.
    The image width and height are specified in pixels, but the size of the image would depend upon how it is displayed and how many pixels per inch the monitor or printer supported.
    Larry

  • Circular and oval cropping at set size and resolution?

    I know how to use the M tool to create circles and ovals and i know you can set that to certain dimensions, but that doesn't do everything I need.
    How do you crop circles and ovals out of a photo, at a set size (for example, a 1 inch circle ) at a set resolution for printing?  What I need to do is crop circular and oval images out of a photo, say at 250 dpi, then paste them onto a blank white page for printing.
    So if I've got let's say a photo that's 14x10 inches at 300dpi, I want to be able to go in, crop out an oval or circle, with as much or as little of the photo that I can or want to, setting that automatically to a certain dimension and dpi, then paste it into a blank white page I've already created at that same d
    When finished I'd have maybe 20 or 30 images on a page that I can flatten all the layers and print.
    I can't find a way to set size and resolution with anything other than the regular square crop tool.

    You can make an action and use it as one step automation to achieve that on an initial selection.
    Step by step instructions:
    With the Elliptical Marquee Tool, make the desired selection on a image.
    Open the Actions panel (Window > Actions (Alt+F9), from its menu at the top right or corresponding buttons at the bottom, choose New Action, and in the dialog that appears press the Record button.
    From the Image menu, choose Crop.
    From the Selection menu, choose Inverse (Ctrl+Shift+I)
    Press the d key on your keyboard to reset the foreground/background color swatches.
    Press Ctrl + Delete keys on your keyboard to fill with white.
    From the Image menu, choose Image Size (Ctrl+Alt+I), make sure the Resample Image is checked, and in the Document Size section enter the desired dimensions and resolution and press OK.
    In the Actions Panel press the Stop Recording button.
    Now you can copy or drag the image to another image.
    For the next image make the oval selection, go to the Actions panel, select the actions you created above, and press the play button. You can also create a keyboard shortcut in the action's property accessible by double clicking the action.
    The creation of this action assumes that in the final image you will be composing oval images on white background without overlapping their rectangular bounding boxes. If you plan to overlap them then the action must be modified to make the image a transparent layer and delete outside the oval instead of filling with white.

  • Problem setting different width for images using HorizontalList tag

    Hi,<br />I succeeded using HorizontalList in my AdvancedDataGrid,<br /><br />  <mx:groupedColumns><br />...<br />...<br />  </mx:groupedColumns>  <br />  <mx:rendererProviders>            <br />        <mx:AdvancedDataGridRendererProvider   <br />            dataField="Actual" <br />            renderer="ChartRenderer" <br />            columnIndex="3" <br />            />         <br />    </mx:rendererProviders>  <br /><br />My Chartrenderer:<br /><br /><mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" <br />     xmlns:local="*"><br />  <mx:Script><br />    <br />          import mx.collections.ArrayCollection;<br />          import mx.controls.Image;<br />          private var images:Array;                <br />          private var catalog:ArrayCollection;          <br />          private static var cat:Array = [<br />              "kpi_overtime_bar_10.png", "kpi_overtime_bar_20.png",<br />              "kpi_overtime_bar_30.png", "kpi_overtime_bar_40.png"<br />           ];<br />          <br />                    <br />           private function initCatalog(items:Array):void<br />           {<br />              catalog = new ArrayCollection(items);<br />              myList.dataProvider = catalog;<br />           }<br />                                     <br />      <br />    </mx:Script><br />     <mx:VBox height="20" width="40%" xmlns:mx="http://www.adobe.com/2006/mxml"<br />          horizontalScrollPolicy="off" <br />          verticalScrollPolicy="off"><br />          <mx:HorizontalList width="100%" id="myList"  <br />               horizontalScrollPolicy="off"<br />               verticalScrollPolicy="off"<br />               columnCount="4" <br />               creationComplete="initCatalog(cat)"><br />              <mx:itemRenderer><br />                    <mx:Component><br />                         <mx:Image width="50%" height="20"<br />                              maintainAspectRatio="false"/>                                <br />                    </mx:Component><br />               </mx:itemRenderer><br />          </mx:HorizontalList><br />     </mx:VBox><br /><br /></mx:Application><br /><br />This is a test I've done to see if I can palce a list of images in a cell,<br />and I can :)<br /><br />I have 2 problems:<br /><br />1. Here the size of each image is contant, I need a way to set each image in the list to be different,<br />Can I do it? <br />2. I need to load the images dynamically and not from a fixed Array,<br />Can I do it?<br /><br />It will be great to get help.....<br />Thanks<br />Jo

    On Sunday 15 Feb 2009, Yossi Bar wrote:
    > I think not all my descussion detailes were shown,
    I think you should be asking on FlexCoders...
    Tom Chiverton
    Helping to collaboratively enable 24/7 plug-and-play portals
    This email is sent for and on behalf of Halliwells LLP.
    Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at Halliwells LLP, 3 Hardman Square, Spinningfields, Manchester, M3 3EB. A list of members is available for inspection at the
    registered office together with a list of those non members who are referred to as partners. We use the word partner to refer to a member of the LLP, or an employee or consultant with equivalent standing and qualifications. Regulated by the Solicitors Regulation Authority.
    CONFIDENTIALITY
    This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 2500.
    For more information about Halliwells LLP visit
    www.halliwells.com.

  • How do you size dynamically loaded images?

    Hi,
    I am loading images from mysql into flash using php, I need
    to make thumbnails out of these images, so they need to be resized
    as they are loaded in and then displayed to one set size. Does
    anyone have any ideas?
    thanks
    Gavin

    Jan-Paul K>
    i thought it was _xscale & _yscale?
    thahip>
    if what you need is "one set size", then use _width &
    _height.

  • Limiting the File Size of an Image

    I see how to resize images by change the pixels or dimensions but is there a way to limit the file size?  For example, when submitting images for review some organizations set a limit on the size of the file, i.e, files may be now larger than 5MB.  Other than byt trial and error is there a way to set a file size limit?
    Thank you

    Depends on the file format and what compression and optimization methods it uses. Generally JPEGs wil lbe most commonly used and a 5MB JPEG acan be whoppingly large, but its compression efficiency wil ldepend on the image content and chosen compression level a lot. Similarly, palette based formats like 8bit PNG wil lwork in some cases, but not all. per se there is no way to e.g. tell PS that you want to create a 5MB file. It's the otehr way around - you define the document size and the image saving/ export will create the file. anyway, In a time and day where people use Dropbox or otehr cloud-based services even from mobile devices all the time, file size limits on mail attachments or submission forms should be pretty much irrelevant.
    Mylenium

  • How to know the correct size of an image?

    hello, a thing ive never got a satisfying anwer on:
    how can i know the REAL image size of an image?
    1.
    image 1a: this is the size i see in the photoshop window
    1b: (why by the way is there 2 sizes?)
    2. image 2: the size i see in windows/my documents.
    same image, big differenct (8mb <--> 49mb)
    which one is correct?
    image 1: size in photoshop window
    image 2: size in windows/my documents

    Don't feel bad; there are more "size" indications than you'd think you need, but they're all useful for some things.  And there are some interrelationships.
    Size indications you might find:
    The size in "megabytes" of the image document in your computer's RAM (the first of the two numbers in your first image). This is helpful for getting an idea of how many resources in your computer the process of editing a particular document is taking. This number can grow to much larger than the second number, for example, if you have a lot of layers in your document that Photoshop has to maintain separately in RAM.  This size number will be reflected in the ultimate file sizes on disk when you save master documents (e.g., PSD) in which you maintain all the layers and other information used by Photoshop.
    The size in "megabytes" of a flattened TIFF on disk (the second of the two numbers you showed in your first image above).  This was a quick defacto shorthand developed by early people doing film scanning that described how many bytes on disk a flattened, uncompressed 8 bits/channel TIFF file would take.  It is always 3x the size of the image in megapixels, because it's the number of horizontal pixels multiplied by the number of vertical pixels multiplied by 3 colors per pixel (red, green, blue).  This usage of "megabytes" is often confused with the size a file actually does take on RAM or on disk, but they can be very different depending on file formats.
    The size on disk of the actual file you saved, as listed by Windows Explorer.  Since you did NOT save the image as a flattened, uncompressed 8 bit TIFF file, but probably as a PSD or JPEG file, each of which embody data compression, the file actually saved on your disk ended up smaller than the projected TIFF file size.  The amount of compression usually differs depending on the image content, so you might find this size varying.  The file size on disk is what will be important to web publishers.
    For what it's worth, I prefer to think primarily of the size of an image document in pixels (horizontal x vertical).
    I always keep my mind on the pixel count while editing. Then, when I'm preparing to use the image for a specific purpose, I think in terms of output size.
    Photoshop's Image - Image Size... dialog is where you set sizes. If you choose to resample, you change the pixel count. This can be appropriate for downsampling an image in preparation for web publishing, where you want the image to be a certain size on a screen. If you don't resample, you are changing metadata kept in the document that instructs Photoshop how large you want a print.  The size of an image in pixels DOES affect the size on disk, and the File - Save process for some formats (e.g., JPEG) puts up a dialog to allow you to choose a compression quality level, which additionally affects the size on disk.
    Hope this helps illuminate what you're seeing a little.
    -Noel

Maybe you are looking for

  • Line Breaks missing in captions from other programs...

    I've spent the last few hours searching around, and I've been unable to find any solution to a weird thing I noticed. I've recently purchased LR 3.4.1 and when I imported a handful of older pics that had had the captions set using Bridge, the line br

  • JDeveloper will not run in Windows NT 4.0

    I have installed Oracle 9i Developer Suite (latest download) many times on a Windows NT 4 machine. JDeveloper just will not start! I get the same error every time: "Unable to find main class. Class specified is: oracle/ideimpl/IdeMain" I installed th

  • Iphoto to Lightroom??

    Hi there.. I changing from iPhoto and Aperture to Lightroom.... I have followed all the instructions from Adobe of how to import the photos from iPhoto etc   - but it just causes Lightroom to freeze...  has anyone else experienced this and found out

  • Print pdf from another frame in IE via javascript

    I am responsible for a little web application. There we have 2 frames. In one frame is an pdf-file, this frame is not visible for the user. In the other frame is an button. By clicking the button the pdf-file should be printed. The onclick event hand

  • Is there any app like Nokia Ovi Suite for Apple5.

    Is there any app like Nokia Ovi Suite for Apple5.