How to load/place an Image in Window UI (ID CS4)

Hi,
Can anybody help me on how to place an Image in User interface window.
Thanks,
Gopal

var dialog = new Window("dialog", "Test");
dialog.add ("image" , undefined, "~/Desktop/Picture.png");
var btnGroup = dialog.add("group");
btnGroup.orientation = "row";
btnGroup.alignment = "center";
var okBtn = btnGroup.add("button", undefined, "Ok");
var cancelBtn = btnGroup.add("button", undefined, "Cancel");
var showDialog = dialog.show();

Similar Messages

  • How to load a boot image to cisco aironet 1140 series after missing boot image

    Hi all,
    I need a solution for this. When i switch my cisco aironet 1140 , it s blinking with red light .and gives a message "no boot image to load".
    When i tried next time, by pressing escape it shows this message that i have mentioned below.
    ap:
    ap:
    using  eeprom values
    WRDTR,CLKTR: 0x83000800 0x40000000
    RQDC ,RFDC : 0x80000035 0x00000208
    using ÿÿÿÿ ddr static values from serial eeprom
    ddr init done
    Running Normal Memtest...
    Passed.
    IOS Bootloader - Starting system.
    FLASH CHIP:  Numonyx P33
    Checking for Over Erased blocks
    Xmodem file system is available.
    DDR values used from system serial eeprom.
    WRDTR,CLKTR: 0x83000800, 0x40000000
    RQDC, RFDC : 0x80000035, 0x00000208
    PCIE0: link is up.
    PCIE0: VC0 is active
    PCIE1: link is NOT up.
    PCIE1 port 1 not initialized
    PCIEx: initialization done
    flashfs[0]: 1 files, 1 directories
    flashfs[0]: 0 orphaned files, 0 orphaned directories
    flashfs[0]: Total bytes: 32385024
    flashfs[0]: Bytes used: 1536
    flashfs[0]: Bytes available: 32383488
    flashfs[0]: flashfs fsck took 16 seconds.
    Reading cookie from system serial eeprom...Done
    Base Ethernet MAC address: 28:94:0f:d6:c8:62
    Ethernet speed is 100 Mb - FULL duplex
    The system is unable to boot automatically because there
    are no bootable files.
    C1140 Boot Loader (C1140-BOOT-M) Version 12.4(23c)JA3, RELEASE SOFTWARE (fc1)
    Technical Support: http://www.cisco.com/techsupport
    Compiled Tue 18-Oct-11 14:51 by prod_rel_team
    ap:
    So , now my question is how to load the boot image ? From where will we get this ? OR
    I m also having another Cisco aironet 1140 , Can i get bootimage from that . Kindly let me know the solution from genius ?

    Take a look at this link as it should have the info you need
    https://supportforums.cisco.com/docs/DOC-14636
    Sent from Cisco Technical Support iPhone App

  • How do I place an image and insert a different photo for the "mouse down" state?

    I have placed an image within an accordian widget and when I select the "mouse down" area in the states dialog box, i click "fill" in the toolbar and insert the photo i want to display when the image is clicked but this image is "covered up" by the originally placed image and is not seen in my states dialog box.
    I have done this before when i made rectangles and placed images in rectangles. But i soon realized that you cannot add alternative text to images in rectangles for some frustrating reason.
    How do I place and image and have a different image for the mouse down state?

    Hello,
    This effect can only be achieved when you use the images as a Rectangle Fill. And as you mentioned it above, you cannot add alternative text to images because it is added as a fill and not as a image.
    I would suggest you to post this as a feature request on our "Ideas for features in Adobe Muse" section of the forums : http://forums.adobe.com/community/muse/ideas
    Regards,
    Sachin

  • How do i place an image, jpeg png or otherwise in my Signature in Mail?

    How do I place an image, jpeg, png, or otherwise in my Signatures inside of the Mail Application?

    Go to mail>prefeferences>signatures, select new with plus key signature left column,highlight that signature. Drag image into right cloumn

  • How do I place an image from PS into InDesign?

    Hi,
    I created a notecard in Photoshop and need to put two on a page in InDesign CS3. I placed the graphic on the page but it's way larger than the designated paper size. I tried going to Object>Fitting to fix the problem but nothing happened. So I tried manually setting the height and width I needed the image to be on the page and it resized the image okay but I couldn't see the entire image within the new size. So my question is how do I place an image, get it to the dimensions I need (see dimensions below) and add two to a page?
    FYI: The paper size is: 8.5 x 11 inches. The graphics are 4.25 x 5.5 inches. I need to print two to a page.
    Thanks for the help.
    ashmic

    To add to M Blackburn's advise, the two selection tools will change what you can do.
    The Selection tool (solid black arrow) will allow you to select the frame itself. It will only select the content if you click on the donut. When the frame is selected, you will see the frame with handles on the corners and centers of lines, and it will be in the color designated to the layer. The default color for layer one is blue, but this can be changed, so don't be thrown if it isn't blue for some reason. Dragging the handles will change the size and placement of the frame, and when moved toward the image, will crop it. Holding the shift key while dragging a handle will keep the frame within proportion (a 3"x5" rectangle will remain 3 units by 5 units, although those units will be larger or smaller than an inch, depending on whether you enlarge or shrink the frame).
    The Direct Selection tool (white arrow) will select the content, rather than the frame. When selecting the content, you will see the handles on a bounding box around the content, and the color will be light brown. Dragging a handle will change the size of the image, and you can also drag the whole image to move it in relation to the frame, which can be used to crop the image as well. Holding shift will keep the image size proportional.
    You should take notice of whether the frame color or the content color is what you see, because double-clicking with the Selection tool will toggle between frame and content, the way clicking within the donut will allow content to be edited while the Selection tool is active.
    If you want to view the image size as a percentage, using the Direct Selection tool is what you want. If you use the Selection tool, you will see the percentage of the frame, which will change while you are dragging it, but as soon as you release the mouse button, it will show 100%. Switching to the Direct Selection tool will show you the percentage of reduction or enlargement of the image itself, and if the X and Y aren't the same, your image is out of proportion.
    Lastly, the shift key, along with Command will probably be what you will use the most, as it will allow you to drag a corner of the frame of a placed image with the Selection tool and proportionally resize the content along with the frame.

  • How do I Place an image into the center of an activated artboard in CC?

    I have just upgraded to CC from CS6. In CS6, I could activate an artboard (double click it in the Artboard panel) and then Place an image, which would by default go into the center of the artboard.
    With CC, it "loads" the image into the cursor which I then need to Place by clicking somewhere.
    How can I get it to either behave as it did in CS6, or customize to load it into the center when I click, such as with a modifier key?
    Thanks!

    Hi,
    With the Window > Allign panel,
    You can select the option to allign to selection or to Artboard.
    When you select "to Artboard" you schould be able to use the Allign option to get it centerred.
    See preview bellow.
    Hope this helps.

  • How to load use an image library in the portal pages

    Hi,
    How to load an image library in the portal ? Do I need to load images in an Apache directory and access them via URLs, or do I need to upload images to a specific portal page, and access these images via specific URL ?
    Thanks for your help,
    Jean-Christophe

    Another easy method is to create a dedicated page in Portal and use it for the storage of images, flash objects.
    Load the images as item type FILE and use the 'direct access' method (HOST:PORT/pls/<DAD>/docs/PAGE/<PG NAME>/<PAGE_NAME>/IMAGE.GIF)to access the file from a URL command.
    This way all your images are protected in the database, easy to add and find (via search or by adding descriptions, categories etc) via role based security and in theory should be quicker to access (via the URL) due to the indexing capabilities of the database.
    Place the images in a location that is not going to cause a page navigation issue such as in its own Page Group or as sibling page to your top level parent page etc.
    Hope this helps.
    John

  • How to load a tif image in flex

    Hi All,
    Is it possible to load a tif image in flex. If it's possible
    anyone guide me or send me some code snippets regarding how to
    display a tif image in flex.
    Regards,
    Dharma

    "flexdharma" <[email protected]> wrote in
    message
    news:ga2d96$p8h$[email protected]..
    >
    Hi All,
    > Is it possible to load a tif image in flex. If it's
    possible anyone guide
    > me or send me some code snippets regarding how to
    display a tif image in
    > flex.
    Convert it to the much more web-friendly png format.

  • How do I place an image in a div container for only 1 page?

    I am designing a web site for my wife using DW. The basic
    look of all the pages follow this format: <darhosta.com>. I
    need to make about four pages that look different that the basic
    look above. In essence I want to make the background white and have
    a 'background image in the div container. Thanks to Nancy, who
    frequents these forums, I was able to get rid of the background
    image that surrounds the main div container with the CSS she
    suggested. (Here's the page with Nancy's suggestion of the correct
    CSS and where to insert it -Thanks Nancy-: <
    http://darhosta.com/Pages/iltn.html>
    The page is almost done but I want to have a background image
    in the main div container. I've been trying to figure this out on
    my own but haven't been able to. Can anyone help me? Thanks for the
    help,
    Lou
    Note: Here the CSS that Nancy suggestion with my modification
    included to get rid of the background. If anyone needs to see more
    of the code please email me.
    Thanks again,
    <style type="text/css">
    body {
    background-image: none;
    <!--
    -->
    </style>
    I now want to place an image in the div container. I've not
    been able to figure out how to do this.

    louhosta posted in macromedia.dreamweaver
    > <
    http://darhosta.com/Pages/iltn.html>
    > The page is almost done but I want to have a background
    image in
    > the main div container. I've been trying to figure this
    out on my
    > own but haven't been able to. Can anyone help me? Thanks
    for the
    > help, Lou
    > Note: Here the CSS that Nancy suggestion with my
    modification
    > included to get rid of the background. If anyone needs
    to see
    > more of the code please email me.
    No need. All source is available from the link.
    In ilth.html, change this:
    <style type="text/css">
    body {
    background-image: none;
    <!--
    -->
    </style>
    <link href="../css/global.css" rel="stylesheet"
    type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js"
    type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css"
    rel="stylesheet" type="text/css" />
    to this:
    <link href="../css/global.css" rel="stylesheet"
    type="text/css" />
    <script src="../SpryAssets/SpryMenuBar.js"
    type="text/javascript"></script>
    <link href="../SpryAssets/SpryMenuBarHorizontal.css"
    rel="stylesheet" type="text/css" />
    <style type="text/css">
    body {
    background-image: none;
    background-color: #fff;
    #container {
    background-image: url(../images/global/bkPage.jpg);
    </style>
    By embedding the styles AFTER the linked stylesheets, the
    rules
    will overwrite property/value pairs in identical rules that
    may already exist in the linked sheets - assuming no
    !important.
    Mark A. Boyd
    Keep-On-Learnin' :)

  • How do I place an image in an applet

    I'm starting to use applets, and how do you put an image on to the viewer? This doesn't show up, can anyone tell me how?
    This is my code:
    Image my_gif;
    URL base;
    MediaTracker mt;
    public void init()
    mt = new MediaTracker(this);
    try {
    base = getDocumentBase();
    catch (Exception e) {}
    my_gif = getImage(base,"imageEx.gif");
    mt.addImage(my_gif,1);
    try {
    mt.waitForAll();
    catch (InterruptedException e) {}
    public void paint(Graphics g)
    g.drawImage(my_gif,20,20,this);

    and I dunno why you're using media tracker unless you need to load many, many images. In your post it just says one - Even if you do need many images, start with one and build up:-
    img1 = getImage(getDocumentBase(),"picture1.jpg"); //or
    img1 = getImage(getCodeBase(),"picture1.jpg");
    and make sure the images are in the same directory as the applet and test it with the applet viewer first.
    Happy Chrimble Pies

  • How do I place an image over the header?

    I am new to web design and new to Dreamweaver CS4.  I have used 2 column template with header and footer.  I have got a header title (an image) but I want to place an image to the left of it in the top left corner of the web page.  I want the header region to be the height of the title as I want the image to have a greater height than the header area.  When I insert the image it goes into the header region and the header automatically increases its height to fit the image.  How can I overlay the image on the header rather than inserting it in the header?  Any help would be appreciated.

    Designing web pages is nothing like designing for print.   To achieve what you want , you'll either need to create a special header image in Photoshop or Fireworks that contains white space and/or slices from surrounding images.  Insert this new image into your header region.
    Or, you could simply place image in the background using CSS.  Then align your message text using CSS floats and margins.  See demo below for an example.
    http://alt-web.com/TEMPLATES/I-page-with-floats.html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    www.alt-web.com/
    www.twitter.com/altweb
    www.alt-web.blogspot.com

  • How can we place an image in already created inline graphic frame?

    Hi,
    AIM::
    To place an image in the inline graphic frame.
    OBSERVATION::
    As i have analysed the snippet Runner,i came to know that it allows to load the placegun with the file(in my case image). but in order to place it,we need to click on the document..and then the image is placed at (0,0) of the page(I suppose Indesign does it automatically).
    what is needed,is to place image in already created inline graphic frame. i have created a inline graphic frame at some position in the story,but now i required to place image in this created frame.

    I have the same problem. Can you give me a short code sample for that.
    I have an image and want to place it in the currently selected frame...

  • How to load the Employee Images through Script

    Dear All,
    How to load Employee Images into HRMS module through script, Pls provide scripts any body having..
    Thank in advance,
    Hanimi
    Edited by: Hanimi on Jun 7, 2011 10:12 AM

    Hi Hussain,
    Following ctl file is working fine for loading images, But problem is at a time it is loading only 64 rows, pls let me know what i have change in my ctl file for loading all data at a time..
    load data
    infile '/usr/tmp/Images_Data.dat'
    INTO TABLE PER_IMAGES
    append
    FIELDS TERMINATED BY ','
    TRAILING NULLCOLS(
    parent_id,
    table_name constant "PER_PEOPLE_F",
    ext_fname FILLER CHAR(80),
    "IMAGE" LOBFILE(ext_fname) TERMINATED BY EOF,i
    mage_id "PER_IMAGES_S.nextval"
    Thanks,
    Hanimi..

  • How to load a background Image on a JDialog object

    Hi All, Actually i am new to java programing and i am stuck in this problem. I am developing a java application which is dialog based (using JDialog objects) and i want to load a background image on my dialog. I hope this could be done and i really appreciate your help because i must deliver this project and this is a user interface requirement.

    Try something along the lines of this: Create a new class called BackgroundImagePanel and have it extend JPanel.
    Have an attribute in the class for your image, and a method to set it.
    Override isOpaque() to return true.
    Override the paintComponenet method as such:
    public void paintComponent (Graphics g) {
    super.paintComponent(g);
    if( image == null ) return;
    Icon icon = new ImageIcon(image);
    icon.paintIcon(this, g, x, y);
    Add this panel to your JDialog and then add other component to this panel.
    You might have to tweak this a bit, but it should get you close...
    Bill

  • How to load a PNG image from a location in CF card

    Hi,
    I am using WTK 2.5.2. I wanted to load a PNG image to Image object. The image is loaded when I have it in the classes folder. But I want to select different image from a different location. If I try to open an Image to createImage(String) from a different location, I get IOException.
    Please help me.
    Thanks
    Deekshit M

    I got the answer, I should be using Image.createImage(InputStream) API. It works fine.
    Thanks
    DM

Maybe you are looking for

  • How do I turn off all alerts for a specific email account

    I want to disable all notifications for a specific email account and I can't find the options to do this. So basically I have 3 email accounts linked on my blackberry. I and I want to make it so that any time account #3 gets an email I don't get a re

  • Multiple programs not responding

    Hi ,    I'm having a problem with my imac when i log in everything freezes up i have managed to get the activity monitor working before mail and safari get stuck with the dreaded spinning ball ( they both open at log in ) .The monitor eventually come

  • Need Table related to Material product type and warranty product type

    Hi all, Can we get the table where for a given material product type, we can get related warranty product type. Requirement is , we have to link the warranty products to related material product.We need to create a seperate table  for material(with i

  • Exit for 0HR_PY_PP_2 & 0HR_PY_PP_1

    Dear Expert, I need to transfer value from one datasource to another datasource to do that it requires some exit in R/3 and i have no idea how to do it. Both Datasource 0HR_PY_PP_2 & 0HR_PY_PP_1 are extracted using function module HRMS_BIW_PP_GET_DAT

  • Cold Fusion 8 License Exception

    We purchased ColdFusion 8 Standard Edition and are running one Website on IIS. When I had people looking at some CF templates with mockups, I got a License Exception disallowed IP addresses error. Please advise- the only fix I found listed in this CF