Centering an Image in a Form?

Hi..
I have a form with standard label / input controls but at the
top of the
form I want an image. I have my image tag like this:
<mx:Image horizontalAlign="center"
source="images/logoSeaSpraySoftware.gif"/>
and it looks fine in the layout, but when I run my app one of
my combo boxes
expands because of the length of the entry but my images
stays to the left.
If I put my <mx:Image> inside an <mx:FormItem>
tag then the image is moved
over because of the width of the labels of the other form
elements. I tried
setting LABELWIDTH="0" but that didn't work.
Any ideas?
Rich

You can best position things with CSS but since you are describing frames, you may be suited to making a table cell with center vertical alignment and center horizontal alignment.

Similar Messages

  • Display Image in a Form

    Hey guys,
    Had a question regarding displaying an image in a form. In the page, User enters all the details in the form and should be able to upload an image file
    and also display a small size of the image uploaded in the same page.
    Thank you for your help, really appreciate it
    Jesh

    Roel,
    I have tried this example, but when I want to resize the image with the help of the link given at the end
    Note: To modify the display attributes of the image (i.e. to make it smaller), you need to use the programmic way of including images. See the documentation at (http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/api.htm#CHDICGDA)
    this link to modify the image doesnt work, it says Error Page.
    Any Suggestions ? ? ?
    Thank You
    Jesh

  • How to Display an Image on my FORM

    Good Day!
    I would like to ask some help from you guys with my problem on how to display an image on my form. I would like to display my uploaded image on my form but instead of an image, the get_blob_file is showing. By the way, I'm using Apex 4.1
    I downloaded the Order Entry Sample Application and followed the Page 6, the Product Details. I even made snapshots of each details from Page Rendering to Page Processing in order not to miss a thing.
    At the moment, I was able to upload or store the image on my created Oracle table and also able to retrieve it on the Download Link Text with Content Disposition value of Inline, provided by APEX Settings. If I invoke the Download link beside the file browser, a page with the image will be shown, below is the address:
    http://127.0.0.1:8080/apex/apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6&p_content_disposition=inline
    However, instead of showing the image on a region, below is the one showing on my Form:
    <img src="apex_util.get_blob_file?a=200&s=339877802936975&p=230&d=7107921433296839&i=7107601420296838&p_pk1=54&p_pk2=&p_ck=7D6512D967336C4B94258EEA3CDF1BE6" />
    As you can see the parameter values are the same but I know I missed something that's why I'm here :)
    I would highly appreciate all the help you can provide and many thanks in advance.
    I tried to change gear by making an html region of type PL/SQL (anonymous block) and a procedure but still no image :(
    Below are the scripts.
    declare
    cursor cur is
    select *
    from wsemployee
    where empid = :P230_EMPID;
    begin
    for rec in cur
    loop
    IF rec.mime_type is not null or rec.mime_type != '' THEN
    htp.p( '<img src="my_image_display?p_image_id='||NVL(rec.empid,0)||'" height="'||100||'"/>' );
    else
    htp.p( 'No Image ');
    END IF;
    htp.p( ' ');
    end loop;
    end;
    PROCEDURE
    create or replace PROCEDURE my_image_display( p_image_id IN NUMBER)
    AS
    l_mime VARCHAR2 (255);
    l_length NUMBER;
    l_file_name VARCHAR2 (2000);
    lob_loc BLOB;
    BEGIN
    SELECT MIME_TYPE, PHOTO_BLOB_CONTENT, PHOTO_FILENAME,DBMS_LOB.GETLENGTH(photo_blob_content)
    INTO l_mime,lob_loc,l_file_name,l_length
    FROM wsemployee
    WHERE empid = p_image_id;
    -- set up HTTP header
    -- use an NVL around the mime type and
    -- if it is a null set it to application/octect
    -- application/octect may launch a download window from windows
    owa_util.mime_header( nvl(l_mime,'application/octet'), FALSE );
    -- set the size so the browser knows how much to download
    htp.p('Content-length: ' || l_length);
    -- the filename will be used by the browser if the users does a save as
    htp.p('Content-Disposition: attachment; filename="'||replace(replace(substr(l_file_name,instr(l_file_name,'/')+1),chr(10),null),chr(13),null)|| '"');
    -- close the headers
    owa_util.http_header_close;
    -- download the BLOB
    wpg_docload.download_file( Lob_loc );
    END my_image_display;
    Edited by: user13831927 on Dec 22, 2012 3:24 PM

    Hi Ying,
    you can add a UDF to the table spp2 with a programm
    but the table is not yet listed in the 'Manage User Fields' form.
    there's no way to "enable" it - sorry

  • Urgent ! Code for Displaying Image from Oracle BLOB image on VB Form

    Hi Plz any one have any work to showing a Picuture on Visual Basic Form, i Save the Picure in table and its column type is BLOB where i save picture, now i want to show it on VB form. if anybody knows plz tell me. and if image not found then how can i handle in nvl(field,' ') function.

    Refer VB sample on Passing LOB parameters to a stored procedure. It shows how to display and insert the image from VB form to an Oracle Database in a BLOB column.
    http://otn.oracle.com/sample_code/tech/windows/ole_db/oledb8/content.html
    Chandar

  • Want to scan an image from oracle forms -- Is it possible??

    Hi all,
    I want to scan an image from oracle forms through a scanner. I have not found any help on this topic. Pls help with example or code or with demmo form.
    BR
    Tarik.
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM
    Edited by: Tarik_kuet on Sep 9, 2008 1:39 PM

    A colleague of me did it like this:
    * the scanner is connected to a network document server.
    * the document server sends(ftp) the image to the oracle XDB
    * a form shows the scanned documents(using a view on the ftp directory in XDB using path_view)
    * in this form the user can move the scanned document(s) to a (blob field) in a table.
    Hope this helps a bit...
    Edited by: poelger on Sep 9, 2008 10:08 AM

  • IMAGE IN A FORM

    I'm trying to embed an image in a form. For example: show a persons picture with his name address etc. Can someone tell me exactly how to do this? The form will contain fields that are updateable. I tried this:
    Created a region;
    Created items A,B,C in this region
    Item A should contain a picture:
    Item A is defined as: Display as Text (escape special characters, does not save state)
    Element--
    HTML Form Element Attributes: ><img src="file:///C%7C/unzipped/Southwind/southwind_ss.gif" width="188" height="148"><td
    This kind of works, but everything seems misaligned.
    Is there a better or different way to do this?
    Thanks

    check permissions - unfortunately don't know the details, sorry!

  • How to create Edit Image in my form

    hi All,
    I have a form with header and detail, in my detail block i need to add Edit Image in my form. When i click on this i should be able to open one of my text column.
    can any one please help me how to create new images....

    Siva,
    There is a different Technology Stack associated with the Enterprise Business Suite (EBS). amitphynyl is correct with the description of how to create a button with the edit.ico assigned to it, but with the EBS, you will want to speak to your DBA to get a list of all the Icons that are available as you will have more icons with the EBS than are available with a standard install of Forms Builder 6i. I would also suggest you ask your DBA to give you a copy of all the Icons so you can add them to your Forms Builder installation so they will be available to you during design of your Form.
    I would also recommend that you review the Oracle Applications User Interface Standards for Forms-Based Products guide in the Oracle Applications Documentation web site to ensure your Custom Form conforms to Oracle guidelines.
    Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Can I enter an image into a form on Adobe Forms Central?

    Can I enter an image into a form on Adobe Forms Central?

    Yes, you can add an image to a form design using the toolbar button highlighted below:

  • How to show image file on Form using From Builder 10G

    Hi
    Well, Gurus... i want to attach picture at runtime on my Form. The user select name of article and it automatically attach the image in my image item on Form.
    I'm using following code but it doesn't working.
    PROCEDURE GET_ARTICLE_PIC IS
    image_dir VARCHAR2(80) := 'D:\Images\';
    photo_filename VARCHAR2(80);
    BEGIN
    :System.Message_Level := '25';
    photo_filename := image_dir||:ITM_DIST_MST.ARTICLE_CODE||'.gif';
    message(photo_filename);
    message(photo_filename);
    READ_IMAGE_FILE(photo_filename, 'GIF', 'ITM_DIST_MST.ARTICLE_IMG');
    IF NOT FORM_SUCCESS THEN
    MESSAGE('This Article has not Picture.');
    END IF;
    :SYSTEM.MESSAGE_LEVEL := '0';
    END;
    Please help, its urgent

    Is it throwing any error?
    do you set correctly the ListUrl parameter? in this case it will be "PublishingImages"

  • Background image for XML Forms- RenderList Item

    Hi Everybody,
    We are working with XML Forms for creating News, and in this process the requirement is to set a<b> background image</b> for the form. It's working in Show Form but in <b>RenderListItem</b> it doesn't (as mnetioned by SAP in the documentation).
    Is there a work around for acheiving this?.
    Helpful answers will be rewarded with points.
    Thanks,
    Vasu.

    Hi vasu,
    Have u referred to the above document.......
    <b> u can set the background image in show form of xml.u can set in also that renderlistitem.
    change the background image property  & specify the image
    u want to display with.....</b>
    It is the place where u ve to display the news....
    Have u checked the path settings while creating ur News Explorer & News Browser Iviews....
    check one time the path settings also.This path helps u to navigate actually to the folder u want to refer with.
    Regards
    Bhargava

  • Images in Adobe Form

    Hello All,
    I want to display images in Adobe form. I've done the following. The images are not static but dynamic - for each time the form loads the images are different.
    1. Created the image field (Va_Image)
    2. The URL for the image comes from a Context node which is mapped to the PDF DataSource.
    3. i mapped the context node to a invisible TextField (Image_URL)
    4. I wrote the following script (to set the href of image dynamically) in the initialize event of the Page1 on which the text field and image are present
    xfa.form.Vn_MasterRecord.Page1.Va_Image.value.image.href   = xfa.form.Vn_MasterRecord.Page1.Image_URL.rawValue
    5. On preview of the PDF in Adobe Live Cycle Designer, i get the image correctly.
    However, when i execute the Webdynpro application (java), the image doesn't appear on my final screen.
    Any pointers? am i missing something?
    Points assured for good answers.
    Thanks in advance,
    Regards,
    ak

    Hi Arun -
    For dynamic image,
    You cannot directly display a logo which is uploaded in se78 on an adobe form. The image format needs a conversion.
    - You can write this code in your interface section.
    - Create a global variable g_logo of type xstring."converted logo and v_name of type STXBITMAPS-TDNAME. "logo name in se78.
    - Pass these parameters of the image in se78 to this method.
    CALL METHOD cl_ssf_xsf_utilities=>get_bds_graphic_as_bmp
    EXPORTING
    p_object = v_object " 'GRAPHICS'
    p_name = v_name " Name of the logo as in se78
    p_id = v_id " 'BMAP'
    p_btype = v_btype " 'BCOL' (whether the image is in color or black and white)
    RECEIVING
    p_bmp = v_field
    EXCEPTIONS
    not_found = 1
    internal_error = 2
    OTHERS = 3.
    g_logo = v_field.
    - The variable g_logo will have the converted image.
    - Drag g_logo into the context from the interface.
    - Finally, in the context of the adobe form, make a graphics node and choose Graphic Type as Graphic Content.
    - The Field should have the global variable g_logo and the mime type is 'BMP' (with quotes).
    - Create an image field (not just image. That would be static) and in binding, bind it to g_logo and check the check box u2018Embed image datau2019.
    I think, this should work.

  • Images and XML forms and Images and scaling

    Hello,
    I have two questions about using images in XML forms.
    1) How do I insert images into the XML form editor.
    The thread HTML Editor in XML Form? (Posted: Aug 26, 2004 7:50 PM), discuss how the HTML Editor in XML forms can be extended to be able to insert images like in the KM editor.
    Has anyone any practical experience with this?, as the thread is fairly old.
    And is there other solutions which are more suited?
    The portal is running on WAS 6.40, EP 6.0 SP11
    2) Is is possible for the portal to scale images
    In the portal, different users will use XML forms to publish news stories. These users will want to publish images along with the text.
    In many content management systems, the system will automatically scale the images (e.g. create one thumbnail, a mid-size image and keep the full size) Can this be achieved in the portal.
    The reason for this is to make sure that no one can post a very large image and to make sure each image is the same size.
    I'm interested in hearing how other people, solve the issue with uploading and scaling of images used in the portal.
    Kind regard,
    Jørgen Ruud
    Will reward SDN points.

    Hi Sumit,
    Just to add to what Duncan had said ... please ensure the following things as well
    1. Access portal using FQDN
    2. Maintain proper browser settings http://wiki.sdn.sap.com/wiki/display/EP/MSIE6BrowserSettingsforaccessingSAP+Portals
    3. Please go through the forum link http://forums.sdn.sap.com/thread.jspa?threadID=1814082
    Regards,
    Mahesh

  • How to use an image as my form background in form central

    how to use an image as my form background in form central pls help me....

    Unfortunately this is not supported but you can submit a feature request on this form FormsCentral Ideas.

  • Png images in oracle forms

    How can i use png type of images in oracle forms 10.1.2.02.?

    <p>If you know the image name, just put it in the CSS file in an image tag. If you want to add it at runtime, use the ADD_IMAGE method. See all that in the documentation.
    If you want to go further with this tool, use the dedicated forum to ask questions.
    </p>
    Francois

  • Displaying Image in Smart form

    Hello CRM Gurus,
                     I am getting the image Data, Is there any method or function module to dispaly image in smart form.......... with out Graphich Window.....
    Thanks,
    Feroz.

    Hi Feroz,
    Use FM SSFCOMP_PRINT_GRAPHIC
    Please refer to following Code template:
    CALL FUNCTION 'SSFCOMP_PRINT_GRAPHIC'
         EXPORTING  BM_NAME           = %GRAPHICKEY-TDNAME
                    BM_OBJECT         = %GRAPHICKEY-TDOBJECT
                    BM_ID             = %GRAPHICKEY-TDID
                    BM_TYPE           = %GRAPHICKEY-TDBTYPE
                    BM_RESIDENT       = ' '
                    BM_RELMODE        = 'W'
                    BM_ALIGNMENT      = 'L'
                    BM_MARGIN         = '0.00'
                    BM_UMARGIN        = 'CM'
                    BM_VALIGNMENT     = 'C'
                    NAME              = 'Z_LOGO'
         EXCEPTIONS NON_MAIN_OVERFLOW = 1
                    OTHERS            = 2.
    Best Regards,
    Pratik Patel
    Reward with point it is of any use to you!

Maybe you are looking for

  • .jnlp downloading to wrong folder

    Ok, this is totally strange. Now my Java applet is downloading to http://www.finncraft.com/wp-content/uploads/2013/04/java.png Please look at the path that it is downloading to. VERY STRANGE. Yes, I do have Safari settings to download all files to th

  • Windows 8 and 8.1 keep deactivating and reactivating themselves.

    I have two windows 8 systems. One is windows 8 and the other is windows 8.1. Both are in older computers that had brand new drives installed and a fresh copy of windows installed on each. They have not been upgraded from windows 7 but they had window

  • IDVD slideshow won't pause on playback on DVD player. Why?

    Why can't I pause an iDVD slideshow on playback? I make iDVD slideshows and after burning the disk, it will not pause when I push the pause button during playback on a DVD player.

  • Reg process order

    Hi frendz, Can ne1 there can tel me wt is meant by process order confirmation. I'm using the transaction COR6 to create process order confirmation for which i need the data(Vornr field)  from AFVC table but i dont have the data in this table. I need

  • How to integrate a form in HR module

    Hi I want to change the standard form  HR_INTAXF16_2006  and  create a 'z* ' form. I would like to integrate the new form, so that that is used for generating form 16. Pls let me know the t-code to be used for the same. thanks Balaji