Displaying Image on Image: Urgent

Hello All,
In my jsp page, I need to display an Image and on that image I need to display another image. How do I achieve this?
My requirement is there is a standard image. Depending on the language selected, I need to put another image on this in a corner of the parent image. Is this possible?
Pls let me know.
Thanks in advance,
Arun

You have to create a style sheet at the top of your page using z-index:
          <style type="text/css" media="screen"><!--
#layer1  { position: absolute; z-index:5; top: 180px; left: 200px; width: 541px; height: 68px; visibility: visible; display: block }
#layer2  { position: absolute; z-index:10;top: 180px; left: 199px; width: 541px; height: 68px; visibility: visible; display: block }
--></style>And then you create the corresponding divs.
<div id="layer1">your image
</div>
<div id="layer2">your other image
</div>

Similar Messages

  • How to display a dynamic image file from url?

    Hey,I want to display a dynamic image file from url in applet.For example,a jpg file which from one video camera server,store one frame pictur for ever.My java file looks like here:
    //PlayJpg.java:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
    public class PlayJpg extends Applet implements Runnable {
    public static void main(String args[]) {
    Frame F=new Frame("My Applet/Application Window");
    F.setSize(480, 240);
    PlayJpg A = new PlayJpg();
    F.add(A);
    A.start(); // Web browser calls start() automatically
    // A.init(); - we skip calling it this time
    // because it contains only Applet specific tasks.
    F.setVisible(true);
    Thread count = null;
    String urlStr = null;
    int sleepTime = 0;
    Image image = null;
    // called only for an applet - unless called explicitely by an appliaction
    public void init() {
                   sleepTime = Integer.parseInt(getParameter("refreshTime"));
              urlStr = getParameter("jpgFile");
    // called only for an applet - unless called explicitely by an appliaction
    public void start() {
    count=(new Thread(this));
    count.start();
    // called only for applet when the browser leaves the web page
    public void stop() {
    count=null;
    public void paint(Graphics g) {
    try{
    URL location=new URL(urlStr);
    image = getToolkit().getImage(location);
    }catch (MalformedURLException mue) {
                   showStatus (mue.toString());
              }catch(Exception e){
              System.out.println("Sorry. System Caught Exception in paint().");
              System.out.println("e.getMessage():" + e.getMessage());
              System.out.println("e.toString():" + e.toString());
              System.out.println("e.printStackTrace():" );
              e.printStackTrace();
    if (image!=null) g.drawImage(image,1,1,320,240,this);
    // called each time the display needs to be repainted
    public void run() {
    while (count==Thread.currentThread()) {
    try {
    Thread.currentThread().sleep(sleepTime*1000);
    } catch(Exception e) {}
    repaint(); // forces update of the screen
    // end of PlayJpg.java
    My Html file looks like here:
    <html>
    <applet code="PlayJpg.class" width=320 height=240>
    <param name=jpgFile value="http://Localhost/playjpg/snapshot0.jpg">
    <param name=refreshTime value="1">
    </applet>
    </html>
    I only get the first frame picture for ever by my html.But the jpg file is dynamic.
    Why?
    Can you help me?
    Thanks.
    Joe

    Hi,
    Add this line inside your run() method, right before your call to repaint():
    if (image != null) {image.flush();}Hope this helps,
    Kurt.

  • Help with SWFObject2, problem with display of alternate image

    I'm trying to use SWFObject2 dynamic publishing version to test the visitors browser for flash pluggin and the version.
    I want to only show my flash image if the browser finds the flash plug in and it supports the correct version of flash for my banner, otherwise I want to display a jpeg image in its place.
    When flash support is available in my browser the flash image is displayed, no problems. But when Javascript or flash plugin support is not available and my alternate image jpeg is displayed something wierd happens and i would appreciate any help on this:
    The image is displayed but is pushed to the right of the screen and it seems to have a box behind the image, the edge of the box is only visable and changes colour on rollove like it wants to be clicked, obviously i cannot see what the box is because the image covers it. There is nothing wrong with my image, i put that in place first and tested it loaded ok before i added the SWFObject code and file.
    My code is below:
    <script type="text/javascript" src="Scripts/swfobject.js"></script>
    <script type="text/javascript">
    swfobject.embedSWF("advertise_banner.swf", "altContent", "468", "60", "6.0.0", "expressinstall.swf");
    </script>
    </head>
    <body>
    <div id="wrapAltContent">
    <div id="altContent">
    <a href="advertise_banner.php?ad=y">
    <img src="Images/advertise_banner.jpg" alt="Image linking to information on  advertising a banner ad on Choose Almeria" />
    </a>
    </div>
    </div>
    Looking forward to replies.

    Hi,
    Is this your question still relevant? If yes, did you study already this for example?
    http://code.google.com/p/swfobject/wiki/documentation
    Hans-G.

  • How to display a blob image in RTF template's Header.

    Hi,
    I want to display a blob image (logo company) in my RTF template,
    my problem is how i can display this image in the template's Header.
    I tried this
    <?
    <fo:instream-foreign-object content-type="image/jpeg" >
    <xsl:value-of select=".//LOGO"/>
    </fo:instream-foreign-object>
    ?>
    but was unsuccessful
    Thanks in advance.

    I tried this
    <?
    <fo:instream-foreign-object content-type="image/jpeg" >
    <xsl:value-of select=".//LOGO"/>
    </fo:instream-foreign-object>
    ?>
    but was unsuccessful
    sure
    what is red elements ?
    you template can be looks like
    ..... some data .....
    ( after  all data )
    <?template:footer_logo?>
    <fo:instream-foreign-object content-type="image/jpeg" ><xsl:value-of select=".//LOGO"/></fo:instream-foreign-object> (as field )
    <?end template?>
    <?call-template:footer_logo?> ( in header/footer )
    some remarks https://oralublog.wordpress.com/2014/10/04/bi-publisher-11g-footers-and-headers-in-rtf-template/

  • How to display a binary image in a webpage?

    Hi,
    I want to display a binary image in a webage. The image has been stored in a DB as binary format. I am using servlet. How could I retrieve it and display it on a webpage? Could you give me some suggestions?
    I have read some metrial about JAI, the method 'createImageEncoder( )', which seems very helpful! I am on the right way, right? Thanks for your any comments!
    Best Regards,
    Hai

    Here is my idea to display the pic on the webpage:
    The pic is stored in DB as binary, after retrieving it, the binary data will be converted to JPEG pic. Then, the pic will be saved to the local machine automaticly. After that, I get the pic's SRC, and use html display it.
    My code is as follow (not completed), some errors in it.     public static String getPayoffSRC(Services serv, long fileId)
                                                                    throws FileNotFoundException,
                                                                  DBException,
                                                                  DbFileNotFoundException,
                                                              IOException {
            BufferedImage buffy = new BufferedImage(300, 400,
                                                        java.awt.image.BufferedImage.TYPE_INT_RGB);   
            FileOutputStream out = new FileOutputStream(serv.getFileManager().getFileDb(fileId).getFileName());
            JPEGImageEncoder jencoder = JPEGCodec.createJPEGEncoder(out);
            JPEGEncodeParam enParam = jencoder.getDefaultJPEGEncodeParam(buffy);
            enParam.setQuality(1.0F, true);
            jencoder.setJPEGEncodeParam(enParam);
            jencoder.encode(buffy);
            out.close();
            return Pic's SRC,
        }

  • Unable to display a PDF image on the page - Mac 10.6

    Hi,
    Running an iMac with 10.6.8 and Indesign 5.0.4. Just wanting to export a PDF as per usual via File > Export function. However, I keep getting the error message, "Unable to display a PDF image on the page'. No idea what this is and have never seen this error before. The only info on the internet reveals error code 0x2511(9489).
    I've deleted prefs, closed down and re-opened Indesign and even restarted the computer. I've also re-linked the images contained in the document and even created a new document and set it up the same, but still the same problem. Investigating further, other Indesign documents still export properly.
    The only ones that don't export are 2 documents, both giving this same error message. Both documents are ones where a client has sent a PDF, I've imported into two of these into an 2-page A4 Indesign document (each PDF is 48MB each) and then just added a text layer (using Times) which is properly installed on the computer. I basically have to 'update' course dates for the client and add PDF to the website, all very basic.
    I've tried importing a jpeg and other PDFs into the file (replacing the existing ones) and they export fine.
    All my software is legal and I've exported this document before now in exactly the same File > Export without any problems (under 10.5 and 10.6).
    OK... I've just imported the offending PDFs into Acrobat, optimized and shrunk the file size, re-imported back to Indesign and the PDF export works fine. So it seems InDesign / PDF Export doesn't like large imported PDFs? I think they were originally exported from Publisher, so maybe that's the problem or a file conflict somehow.
    Any ideas on the culprit? I've googled it, searched these forums and Apple discussions and haven't found anything. Although I've found a workaround, I do get large files to import and then export. Thanks for any help
    Steve

    It does sound like a problem with the original PDF files the client sent you. You can check how they were made in Acrobat Pro from the Additional MetaData button on the Description tab of the document properties dialog. It will be under Advanced at the bottom of the list when the metadata opens.
    You might be able to salvage them by running the optimzer and not changing the size, or just doing a Save As in Acrobat.

  • Indesign CC does not display linked PDF image on screen

    On Mac1 (10.6.8) When I imported a PDF file into Indesign CC 9.1 as a linked image - the image would come in as usual, however the image would not appear on my screen. Only a blank page box.
    I can see the thumbnail image of the imported PDF in the links palette correctly.
    However, on my page it appears as a blank box.
    Selected Hi-res preview, and still it appears as a blank box.
    I export to PDF, and the image is there as it should be on the exported PDF.
    I tried the same image on Mac2 (10.8.3) with Indesign CC.
    The imported image appears correctly on the page. (no blank box)
    I saved that file and opened it on Mac1 that is having the problem displaying the image.
    Mac1 again does not display the image, instead it is a blank box.
    Tried the same image import in Cs6. No issue on either mac1 or mac2
    What could be causing the imported PDF not to display on the page in Indesign CC?
    Has anyone else come across this problem?

    Hi
    Are you still facing the same issue ?
    Please refer to these threads for steps that you can try :
    Edge Animation not working properly
    Edge Animate not working in Muse Browser Preview, But works in Edge Preview
    http://tv.adobe.com/watch/learn-adobe-muse-cc/integrating-adobe-edge-animate-graphics/
    Thanks,
    Sanjit

  • How to display an animated image of any sort in centre of screen

    Hi,
    Would really appreciate some help on how to present the user with a animated image in the centre of the screen whilst a user is waiting for a operation to load/complete.
    I basically have a situation where a user presses a button to load a CSV file and during this operation, want to display this animated image and then remove it on completion.
    Thanks.
    Tony.

    Hi Tony,
    Is this the kind of thing you are looking for?
    Re: Displaying 'please wait' graphic during long running process
    Regards
    Paul

  • I need to display my Blob image in my report (and also on form page)

    Scott,
    I followed the APEX advanced tutorial for uploading and downloading files. I have created a form on a table and that table contains a column of datatype BLOB. Now I want to be able to display the (Blob) images that I have uploaded.
    As I research the topic, I get the feeling that displaying the BLOB image can only be done in APEX 3.1 and up. Is this true? I have that version of APEX installed on my laptop and have successfully completed the "Defining and Viewing BLOB Data in Oracle Application Express 3.1" tutorial found here: http://www.oracle.com/technology/obe/apex/apex31nf/apex31blob.htm
    But I could not do it on the company server that runs APEX 3.0
    Even if I did get the approval to have the company APEX application upgraded to 3.1, there still is the issue of scaling the images so that they are not so large. I understand that there is a UTIL.APEX function "GET_BLOB_FILE_SRC" that would do this for me. I read the documentation at:
    http://download.oracle.com/docs/cd/E10513_01/doc/appdev.310/e10499/api.htm#CHDICGDA
    After reading it, I was still not clear as to how to use it correctly. Is there any documentation on how to implement this function in APEX?
    I did find something that I was hoping would help me. The article is entitled "Show Blob of other table in APEX Form" by Dimitri Gielis can be found here: http://dgielis.blogspot.com/2008/07/show-blob-of-other-table-in-apex-form.html
    I tried to import the file "blob_support.sql" application (on both APEX 3.0 and APEX 3.1 systems) but got errors. I'm not having very much luck here and would appreciate the help in pointing me in the correct direction.
    Help!!
    Thanks
    LEH

    Hello John,
    Your information was helpful. I can now see my images in my form.
    OK, now I would like to be able to call the image using a Region Source of type SQL instead of the HTML Expression. The reason for this is because I need to use logic to determine if the file is an image or not and to determine wether to show a thumbnail or just a link. I did find a "GET_BLOB_FILE_SRC" Function on the internet that suggests that I could do this but I need some help in making it work in my application.
    Here it is as a Region Source of type SQL:
    SELECT ID,
    NAME,
    CASE WHEN NVL(dbms_lob.getlength(document),0) = 0
    THEN NULL
    ELSE CASE WHEN attach_mimetype like 'image%'
    THEN '<img
    src="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'" />'
    ELSE '<a
    href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
    end
    END new_img
    FROM TEST_WITH_BLOB
    If anyone can help me with this that would be appreciated.
    Thanks
    LEH

  • How to fit to size to show the whole image in image display?

    HI, I am using a control palette to display my video images using image display. However, the size is alway out of proportion. How do i show the whole image in the small box screen size. Basically how to fit to size for the images? 
    Solved!
    Go to Solution.

    This should do the trick:
    Norbert
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • Not able to display a dynamic image

    I'm not able to display a dynamic image on Adobe print form.
    Here is what I did.
    Please let me know what I need to do to get this working...
    1. Created a Graphics node in the Context of the Adobe form.
    2. In the URL tab of the graphics node defined the following two lines:
         <URL pointing to the MIME repository folder>
         IM_FILENAME_1
         Where IM_FILENAME_1 is being passed to the Adobeform function module.
    3. In the Layout mode, dragged and dropped the Graphics node from the
        contenxt tab to the form layout. On doing so it appears as a image field in the form layout.
    4. Activated the form.
    BUT, when I run the form , the image is not showing up.
    The idea is to pass the image file name to the form so that it will show up a dynamic image at run time.
    PLEASE HELP.

    Hi Atul,
    Try this, that should work.
    In the interface , define a parameter type string where you will store the URL of the image .
    In the initialization part of the interface , check if the URL is defined, in case it's empty define a default URL . You should put the compelte URL of the image like "http://www.company.org:8080/logo.logo.jpg" .
    Then link this parameter to the Grpahic Node in the URL parameters .
    Let me know if that works

  • Image path displays instead of image

    Firefox v20.0.1, Win7 32 bit.
    This web page ( http://zone.ni.com/devzone/cda/epd/p/id/5336 ) does not display the "flowchart"image at the bottom of the page immediately following the text "The following is a map of other documents..." On a correctly working page, the image is a flowchart "navigation" image that opens new pages depending on where you click on it. In firefox only a box with an ftp path to the image is displayed in its place. I have seen the problem on other web pages as well.
    Actions taken:
    The pages displays correctly in IE v10. This problem happens on one computer. Different computer, same firefox version displays correctly. Different computer older firefox version (v17?) displays correctly.
    * I have tried disabling all plug-ins and extensions.
    * I have created a new profile. Seems like the first time I did this, the page displayed correctly, but when I refreshed (F5) the image is gone and the ftp path box is displayed. Subsequently created new profiles do not display the page correctly.
    * I have tried resetting Firefox and the page still is not displayed correctly.
    Troubleshooting:
    Ctrl-shif-K, opened the Web Console, cleared the console output, refreshed the page by pressing Ctrl-F5. The following is several lines following the first error on the console:
    [09:12:29.360] Unknown property '-moz-border-radius'. Declaration dropped. @ http://zone.ni.com/widgets/share/addthis/1.0/css/share.css:11
    [09:12:29.360] Expected declaration but found '*'. Skipped to next declaration. @ http://zone.ni.com/widgets/share/addthis/1.0/css/share.css:13
    [09:12:29.406] GET http://ct1.addthis.com/static/r07/core076.js [HTTP/1.1 200 OK 167ms]
    [09:12:29.392] Unknown property 'size'. Declaration dropped. @ http://zone.ni.com/css/global/us/zoneprint.css:15
    [09:12:29.392] Expected declaration but found '@bottom-center'. Skipped to next declaration. @ http://zone.ni.com/css/global/us/zoneprint.css:17
    [09:12:29.497] GET http://zone.ni.com/css/global/us/thecore.css [HTTP/1.1 200 OK 26ms]
    [09:12:29.452] Expected identifier for class selector but found ' '. Ruleset ignored due to bad selector. @ http://zone.ni.com/css/global/us/thecore.css:115
    [09:12:29.453] Error in parsing value for 'filter'. Declaration dropped. @ http://zone.ni.com/css/global/us/thecore.css:259
    [09:12:29.453] Error in parsing value for 'cursor'. Declaration dropped. @ http://zone.ni.com/css/global/us/thecore.css:259
    Any help is greatly appreciated.

    You can remove all data stored in Firefox from a specific domain via "Forget About This Site" in the right-click context menu of an history entry ("History > Show All History" or "View > Sidebar > History") or via the about:permissions page.
    Using "Forget About This Site" will remove all data stored in Firefox from that domain like bookmarks, cookies, passwords, cache, history, and exceptions, so be cautious and if you have a password or other data from that domain that you do not want to lose then make a note of those passwords and bookmarks.
    You can't recover from this 'forget' unless you have a backup of the affected files.
    It doesn't have any lasting effect, so if you revisit such a 'forgotten' website then data from that website will be saved once again.

  • Dreamweaver CS4- I can't get my site to display the proper image.

    I have a Dreamweaver CS4 Template with an editable area for a header image. I have already assigned a new image to all the header regions but when I moved the site to the web host the pages will only display the Default header image from the template in the editable region, even though when I check the file name in the Modify Templates window it displays the proper name, but displays the wrong image.
    What is wrong? any help would be greatly appreciated.
    thanks.

    Did you upload the new header image?
    This one is currently being displayed.
    http://stjohnvianney.net/parish_assets/Header_Church_img.jpg
    NOTE: Your email link is wrong.  It points to a file on your local hard drive.
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • Displaying server stored images in an air application

    Usually when I go about displaying server stored images in a regular flex application I go about it the following way:-
    - Create a mysql database table on a server which contains image names
    - Create a php file which generates all of the image namesfrom the table as xml and upload this file to the server
    - Create a new flex application/project
    - In the application make a http service which points to my php/xml file and turns this data into an array collection
    - Set the array collection to the dataprovider of a tilelist component so that all of the images will eventually be displayed within it when they are created
    - I set the itemrenderer of the tilelist to an image component which has it's source set to something like source="{'assets/images'+ data.imagename}" with imagename being the field containing the name of the image which is stored in the mysql database table.
    - Make a folder in the app/project called assets/images which will contain all of the images
    - Upload the app to the server and once it runs all the images will be displayed in the application
    - Then any images that are uploaded to the server can also be displayed as long as their names are added to the mysql database
    My question is though how do you get server stored images to display within an Air Application? My air app will be used on multiple machines but I want the images in it to be dynamic i.e. stored on a server and can be changed. How can this be done?

    I'm struggling to figure out how to access the image files when the assets/images folder will be on a server and the app itself will be on the user's desktop whereas usually in the case of a regular flex app this wouldn't mater as both the app and the image files would be on the server together. Is what I'm trying to do possible i.e. displaying images on a desktop air app straight from a server?

  • How do you display a new image in  webdynpro view?

    How do you display a new image in  webdynpro view?
    Where is the image stored and how do we specify the image path?

    hi ,
    The UI element Image enables you to integrate graphics into the Web application in a format that is processed by the Web Server u2013 for example, GIF, JPG, and PNG format. Height and width of the graphic can be specified using the properties height and width. The graphic is displayed without borders.
    saveur image   as mime
    with Mime Objects u cn upload doc , jpeg, or giff files from our local system into the webdypnpro system .
    Right click on ur component->mime object->import
    In the transaction sicf/bc/webdynpro , u cn check your component name there you can view the mime objects created by you .
    also refer the SAP online help :
    http://help.sap.com/saphelp_crm50/helpdata/en/46/bb182fab4811d4968100a0c94260a5/content.htm
    to knw more abt mime repositories.
    http://help.sap.com/saphelp_nw04/helpdata/en/f3/1a61a9dc7f2e4199458e964e76b4ba/content.htm
    regards,
    amit

  • Safari not displaying web site image

    I have a website that is suddenly not displaying the header image in Safari and IE5.2.
    I have my suspicions that it is due to a JavaScript from Google to run their Analytics programme which I installed a few days ago, (and will shortly remove it to confirm the suspicion or otherwise.)
    But first I wish to check if other people are experiencing the same problem, or if it is localized to my computer. (Need to be able to inform Google if their script is the fault and affects all Safari users or only some versions. So please check the site and report results here, including your Safari version. Mine is Safari 1.3.2 (v312.6) and Internet Explorer 5.2 for Mac.
    The site is http://www.paintmaking.com
    What I see in Firefox, Netscape, Opera, and Camino is a flash title over a colored background with a photo.
    Thats what I saw in Safari until recently too. But suddenly all I now see in Safari and IE is the flash title over a gray background, no photo, and above the menu bar a very thin strip of color (about 1mm, 1/16in). The sidebar images are unaffected (and those images at the side work fine in all the browsers), it is just the header.
    Can you please tell me what you see and the browser version?
    Tony

    Thank you to everyone who has reported what you are seeing on my website. Now I need some help to troubleshoot the problem. So far I am confused as to where the problem lays let alone what the problem might be.
    I need guidance as I am running out of ideas for troubleshooting. Are there any files that I should try trashing?
    Could the problem lie in my Flash player perhaps (how do I test this?
    Updates:
    I can see only a gray color behind my flash title on http://www.paintmaking.com in Safari 1.3.2 (v312.6) and Internet Explorer 5.2.3 (5815.1). What should be there is a colored header image.
    I have established that other people can see the image correctly, including on the same builds of Safari and IE and on the same OS (10.3.9). An exception is someone using Shiira who can only see gray in Shiira, but sees colors in other browsers including Safari.
    On my computer Netscape 7.2, Firefox, Mozilla, Opera and Camino can all see the image correctly.
    Safari and IE have the same problem displaying the image on all the accounts on my eMac.
    I have: cleared cache with no improvement, checked Safari Preferences (Java enabled, JavaScript enabled, and 'display images as pages open' is checked.
    I have removed the software that I installed recently. (MacTracker)
    I have removed a piece of JavaScript added recently (from Google to facilitate their Analytics programme)
    The only major thing I have done lately that is out of the ordinary is to Clone my OS X hard drive to an external drive using SuperDuper.
    I don't seem to be having problems with other websites.
    So how can this be? If the problem is in my computer why only the one site affected? (I checked several sites) Yet if the problem is with the site then why can other people see the site correctly?
    (A very puzzled) Tony.
    eMac + iBook 12 inch (10.3.9 on both)   Mac OS X (10.3.9)   PowerPC G4 1 GHz 1 GB SDRAM + (iBook) PowerPC G3 500 MHz 384 MHz SDRAM

Maybe you are looking for

  • How to run .JSP 9iReport from web with Parameter Form

    Hi, I m trying to run a .JSP 9ireport from the web. now i have two problems. 1. how do i display a parameter form from the web, meaning when the user clicks on the link to the report a parameter form should be displayed and the report should give the

  • LED display has blue cast compared to 23" LCD display

    Just purchased the 27" LED Cinema display. It is side by side with my 23" LCD display. The colors are dramatically different. Is there some way to calibrate the new 27" monitor so that it has the same appearance as the 23" LCD or is the technology so

  • ECC 6-  Table that gets updated when Currency Translation to Group Currency

    Hi All, I would like to know which table gets updated with the Values when we execute tcode "FAGL_FC_TRANS"? I would like to see the values that system posted during April 09, May09 etc for each GL that was Translated into Group Currency using the tc

  • HR - How to identify the list of infotype populated for a pernr.

    Hi, When we go to pa30 tcode, and input a pernr and press enter, we can see the list of infotype populated for the particular pernr with a "tick" symbol.  I would like to know, how SAP identify the same.  Is there any table in which these information

  • Windows installer folder - Over 100GB

    Hi Guys (and Girls) We have been doing a routine check on a terminal server and have found out that it has over 100GB of files inside the windows/installer folder. We have found the route cause to be Microsoft office failing to install updates due to