Display Image in New Window

I'm using a tabular form. My image is displaying correctly. I just want it to display in a new window. The code I'm using to display the image is listed below:
CASE WHEN nvl(dbms_lob.getlength(p.photo_name),0) = 0
THEN 'No Photo Available'
ELSE '<a href="#OWNER#.download_image?p_id='
         || ceah_image.lookup_picture_url(v('P112_PERSON_ID'))
|| ' height="'
|| 200
|| '" width="'
|| 200
|| '">View Photo<a/>'
Thanks, Elizabeth

Hello,
In your a href you can specify target="_blank". That should open a new window for you.
Hope that helps.
Regards,
Dimitri
http://dgielis.blogspot.com/
http://www.apex-evangelists.com/
http://www.apexblogs.info/
REWARDS: Please remember to mark helpful or correct posts on the forum

Similar Messages

  • Clicking "open image in new window" on a jpeg downloads the image

    If I click on "open image in new window" or paste an image address directly in as the url, Safari sometimes downloads that image and sometimes displays the image directly in the browser.
    Why? I'd like to always have it display directly in the browser.
    eg:
    1) this image is displayed in the browser
    http://images.apple.com/home/2008/images/promoleopard20080108.jpg
    2) this image is downloaded
    http://image.wink.com/i/d60210c3_d2lua19wcm9maWxlOmRjODM3YjIxN2E2NDVkMjQ2MDAyYmRjY2JlODIxZGIy_96f96ffffff00.jpg

    Hi,
    At a total guess, the webserver at image.wink.com is incorrectly identifying the images as something other than an image file. If they claim it's a binary file for example, then Safari will treat it like any other file you would normally wish to download.

  • Image in new window

    Hi Experts,
    I wrote a below html coding in Narrative View to open new window and show the .jpg file but in new window show the error Internet Explorer cannot display the webpage
    *<html>*
    *< target='_blank' href='http://localhost:9704/analytics/images/mediaspent.jpg'>Help</>*
    Note: I placed the above line within <a>
    *</html>*
    Here the mediaspent.jpg file located in
    E:\oracle\bise1\bi\oc4j_bi\j2ee\home\applications\analytics\analytics\res\s_oracle10\images
    and
    E:\oracle\bise1\bi\web\app\res\s_oracle10\images
    Please let me know where I did mistake.
    Thanks,
    Balaa...
    Edited by: Balaa on Jul 2, 2010 5:09 PM

    Your image adress should look something like
    http://localhost:9704/analytics/res/s_oracle10/images/report_automotive1.jpgregards
    John
    http://www.obiee101.blogspot.com/
    BTW: image name is CaSeSenSite.JpG
    Edited by: John Minkjan on Jul 2, 2010 4:12 AM

  • Magnified image in new window?

    Hey all,
    Ive got a little coding problem yet again. Im trying to code a method that will take a portion of an existing buffered image, magnify it and display it in a new window. But right now the window is coming up, but the window is just white and does not show the magnified image. Heres my code:
    public void magImage(){
    Frame mag= new Frame();
    mag.setVisible(true);
    mag.setTitle("MagImage at " + hmult+ "X");
    mag.setSize(200,200);
    Graphics g= getGraphics();
    Graphics2D g2 = (Graphics2D) g;
    BufferedImage magi= new BufferedImage (200,200,BufferedImage.TYPE_INT_RGB);
    Graphics2D magContext= magi.createGraphics();
    int scalew;
    int scaleh;
    scalew=(int) (imgw * hmult);
    scaleh= (int) (imgh * hmult);
    magContext.drawImage(image,xpos,ypos,scalew,scaleh,mag);
    magContext.drawImage(buffer,xpos,ypos,scalew,scaleh,mag);
    magContext.drawImage(buffer,xpos,ypos,scalew,scaleh,mag);
    Can anyone see whats wrong with this?
    Thanks,
    Rick

    I don't know the details of this case real well, but often when stuff does not show up on a GUI for me I throw in a call to validate. (e.g.:
    myComponent.validate ();
    This wakes up the layout manager and calls repaint as well as far as I remember and can tell.
    One issue you may have, which I am not sure from the code I have seen, is the window may be repainted blank after you paint it with the picture. You may want to create a component for the magnified image which extends a JPanel or such and then have the component override the paint method to ensure the object is always getting repainted.
    Just a thought...
    Tony

  • Display values on new window from backing bean HashMap

    Hi,
    I need to open a new window when user clicks on some link from the current page. New window will display few values which are set once the link is clicked.
    I have created a bounded task flow with a jspx page added into the task flow. This jspx page contains a jsff page. While clicking on the link, I have called backing bean method which will create and set a HashMap containing key-value set which is used to display on new window.
    New window is created by javascript. And I am not able to get HashMap values which are set by bakingbean method.
    Is there anyway to solve this?
    Code:-
    Backing Bean method to open new window
    private void launchWindow () {
    FacesContext facesContext = FacesContext.getCurrentInstance();
    // Taskflow parameters map
    Map <String, Object> params = new HashMap <String, Object> ();
    // Get taskflow URL to be opened in new window.
    String taskflowURL = ControllerContext.getInstance ().getTaskFlowURL (false, new TaskFlowId (
    AppsConstants.DESCRIPTION_TASKFLOW_DOCUMENT,
    AppsConstants.DESCRIPTION_TASKFLOW_ID), params);
    taskflowURL = taskflowURL.replaceAll("%2F", "/");
    ExtendedRenderKitService erks = Service.getRenderKitService (FacesContext.getCurrentInstance (), ExtendedRenderKitService.class);
    String jsScriptWindowOpne = "window.open(\"" + taskflowURL + "\", \"" + resourceBundleMapper.getString (AppsConstants.LBL_NOTI_DESC_NEW_WINDOW_TITLE) + "\");";
    try {
    erks.addScript (FacesContext.getCurrentInstance(), jsScriptWindowOpne);
    } catch (Exception e) {
    logger.log (Level.SEVERE, "Exception while adding javascript to open a new window in ExtendedRenderKitService object. " + e);
    New window jsff page
    <af:outputText value="#{backingBeanScope.notification.notificationDescriptionMap}" />
    Output
    I want to get values from this HashMap, to test the size/content of this Map, I have printed this Map.

    Hi,
    Yes its possible..
    A simple google search gave me this Result.
    Betw:
    you can also open taskflow as popup in your page(inline popup) instead of opening the taskflow in other browser window.
    53-taskflow-in-popup-169196.pdf
    Regards,
    Santosh.
    Edited by: Santosh Vaza on May 11, 2011 2:11 PM

  • How to merge multiple PDFs and display in a new window

    Hi,
    I'm trying to merge multiple PDFs into one PDF and display the output in a new window using PeopleCode. I have a button on a page, which when clicked should open a new window with the merged PDFs. I am able to succussfully merge the PDFs using the PDFmerger class (mergePDFs) but unable to display the result in a new window.
    Please help.

    Thanks.
    I also found this piece of code very helpful.
    Local PSXP_RPTDEFNMANAGER:Utility &oUtil;
    Local boolean &bRtn;
    /* send the output to client */
    /* &sFileName = the file path /file_name.extension */
    &oUtil = create PSXP_RPTDEFNMANAGER:Utility();
    &bRtn = &oUtil.zipAndViewAttachment(&sFileName);
    Edited by: user8260115 on Sep 9, 2009 4:57 PM

  • Question slide- Launch a full screen image in new window.

    Hi,
    I am using Captivate 4.
    In the question slide (MCQ/ Matching) I want to have a transparent button over a thumbnail image.
    On clicking this button, it lanches a full screen image in a new window.
    The student views the image and answers MCQ,  Matching (droplist)  on the main screen/slide of captivate.
    This new window can then be closed by clicking 'X' on top right corner of the window.
    How to do this?
    Thanks and regards
    Rajan

    Hi there
    Instead of a Transparent Button you should think instead about Click Boxes. But either way, Captivate doesn't allow Buttons or Click Boxes to be inserted on Question Slides.
    However, Captivate does allow you to insert Flash objects on Question slides. So you could develop a Flash object that would carry out the desired actions when clicked. Then insert the object on the Question slide.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcererStone Blog
    Captivate eBooks

  • Trying to get an .swf link to display in a new window

    Hi everyone,
    I recently received some links to Captivate videos for a
    webhelp project I'm working on (RH Office X5.02). I can link from a
    topic to the .aspx wrapper file and get the wrapper with the
    associated flash files to display in a separate window without any
    problem.
    However, when I try do the same thing (get the link to open
    in a new window) by linking directly to one of the .swf files
    associated with the wrapper, RoboHelp tells me I can't do it. The
    Flash file displays within the content pane, the text appears much
    smaller (but not illegible), and since it didn't resize to fit
    within the pane, the information on the right of the video appears
    "cut off". Fortunately, most of the information appears to be on
    the left side. I would REALLY like to get this Flash file to open
    in a separate window.
    Any ideas on this one? My Captivate expert suggested that I
    could try linking to the .htm file that's associated with the .swf,
    and I'm going to try that next, if no one else has any ideas.
    Thanks,
    Jim

    Hi all
    @Jim - You might want to do this by using a Redirect page.
    Since the redirect is a HTML page, you could then open it in a new
    window as desired. Then the redirect handles opening the .SWF.
    @Cindi - Actually, inserting Captivate content in RoboHelp
    topics is quite simple. You just click the Captivate icon in your
    toolbar (or click Insert > Captivate) and point at the .SWF
    Captivate created. RoboHelp will then create the appropriate code
    to insert the Captivate into your existing page.
    To both/all - Captivate normally creates a few different
    files when it creates output. Another approach is to simply import
    the Captivate created HTML page designed to present the Captivate
    content. Then link to it as you would any other HTML page in
    RoboHelp.
    The links below may help. Although they were created when
    RoboHelp X5 and Captivate 2 were dominant, most of what they cover
    still applies.
    Link
    one
    Link
    two
    Cheers... Rick

  • Preview doesn't display images to fit window

    I'm running OSX 10.6.8 on a 27" iMac, and when I enlarge the Preview window to fit the screen (by dragging the corner), the images don't enlarge. They seem to be stuck at about 1920 pixels wide (at a guess) instead of 2560 wide. I can zoom in, but I want the images to exactly fit the window. Preferences > Scale large images to fit window doesn't work, neither does View > Zoom to fit (which is grayed).
    Any suggestions as to how I make images fit the window?

    Hi, Guy Burns,
    What is the resolution of the images you try to enlarge?
    My guess:
    If the resolution of your images is lower then 2560 wide (your screen resolution), the window will open with the exact size and resolution of the picture (for instance 1920 wide). i.e. One pixel on your screen equals one pixel of your picture.You can indeed enlarge the window and zoom in, but then you are enlarging pixels, the image will get less sharp.
    The "Scale large images to fit window" function, is meant for "large images" as the name implies, so images with a larger resolution then your screen resolution. With this function, you can reduce the size of images that would otherwise not fit entirely on your screen, to the necessary size to view the whole picture as big as possible. So this function does not work if the "scale" is 100% or more.
    In slideshow mode however, there's a function to automatically adapt the size of smaller images to "full screen", and also "quicklook" (spacebar) supports full screen mode.

  • Display info in new window

    I have detail information about some article,now I need to print this details, but before user wants to open new window with the same content and after that print everything...
    Help me please!

    Thank, you !
    But I used this approach(I am not sure that it's correct:))
    <script language="javascript">
    function windowOpen(id){
    var newwindow;
    newwindow=window.open("ShowDetail.jsp?PPID="+id,"Show",'toolbar=yes,location=no,directories=no,status=no,menubar=no,scrollbars=yes,resizable=no,copyhistory=no,width=500,height=400');
              newwindow.focus();
              newwindow.print();
    </script>
    <a href="javascript:windowOpen(<%=id%>)">Click here for more details</a>

  • Display images in Design windows

    I'm using images on a AIR project, I see them in the compiled file but they're not loaded inside the Design window of Flash Builder.
    Is it possible to display that images directly inside Flash Builder, avoiding to compile the project everytime I have to make a check on the images?

    Babu,
    Do search the forum before putting the issues. This issue has been discussed many times.
    --Shiv                                                                                                                                                                                                                       

  • MediaView doesn't display video; opens new window instead

    Hello,
    I'm having some trouble working with the MediaView/MediaPlayer classes.
    Using Netbeans' composer, I've configured correctly (I think) a MediaView component so that it should load the MediaPlayer, which loads a local Media file. However, when executed, the MediaView area just remains blank, while a new "ActiveMovie" window opens, rendering the video.
    I've done some searching over here and on google but I really haven't found any solution. I know the ActiveMovie window is probably just DirectShow opening the video; why, though, does this happen, if I explicitly designed the application so that the MediaView component alone displayed the video?
    It's as if, by instanciating a Media component, the code was issuing a Open File system call and Windows - not JVM - was doing the rest.
    Any help is very welcome.
    Thanks,
    Leo

    aidreamer wrote:
    I don't know how to fix it, assuming that is even possible without rewriting DirectShow or the JavaFX platform, but I can tell you about my own experiences with this issue.
    I was trying to figure out a way to run WebM video files in JavaFX and installed a Direct Show filter from Xiph to enable it. It sort of worked, except that it caused the same issue you just described. I tried playing other video formats handled by Direct Show, and they ran normally, so I'm assuming that it is an issue specific to some of the filters.Thank you for your reply, I think now I've finally understood what the problem is!
    Indeed, I've ran into some cases where one tried to use recent HD Youtube videos (VP8-encoded, which is what WebM uses: see http://en.wikipedia.org/wiki/WebM#Services) and have also failed.
    Apparently, JavaFX only really supports VP6 videos. Probably that's the reason the SimpleMediaPlayer sample (http://javafx.com/samples/SimpleVideoPlayer/) uses a VP6 video, and not, say, an WMV or whatever other encode.
    The main problem is the strange deceitfulness of all documentation related to video playback on JavaFX: while most articles and docs state rather ambiguously that "any video supported by the system will run on the JavaFX platform", only one document explicitly states that that's not quite the case:
    Video Codecs
    Cross-Platform: On2 VP6
    Windows XP and Vista: All the codecs supported by Windows Media Player
    Mac OS X 10.4 and 10.5: All the codecs supported by Mac through Core Video
    Ubuntu 8.04 and OpenSolaris 2009.06: All the codecs supported by GStreamer.http://download.oracle.com/javafx/1.2/tutorials/media/format.html#audio
    Well, that clears things up! Natively, JavaFX only really supports On2 VP6 encoding, whilst any other encoding will depend solely on the operating system and 3rd party software installed. So that's the reason why, when trying to open any other video which isn't VP6-encoded, JavaFX calls the 3rd party codec, which opens an ActiveMovie DirectShow window, failing to display the player in the appropriate MediaView container. Please do correct me if I'm wrong; I've only been playing with JavaFX for a day or so!
    The deceitfulness is that JavaFX is fanfared as a "ultimate, play-all media API", which lead me to thinking that it would easily handle the most popular video encoders. This assumption is enforced if we remember that the old Java Media Framework (JMF) API did indeed suport MPEG-1.
    Once again, thanks!

  • A pdf file will not display in a new window in FF12 (and many previous revisions)

    There appear to be several different ways to display a pdf file from a browser. One is just opening another tab and displaying the file. This way works. Another option is a 'download' window will open up downloading the pdf file which can then be displayed successfully. A third way is that another external window opens with some application verbiage displayed which is then overwritten by the actual pdf file. This method does not work for me. I have to go to Chrome or, pardon the expression, IE, to get the pdf files displayed in this manner.
    I have a jpg of the opened window with no pdf data displayed but I didn't know how to include it.
    Thank you.

    Can you try in safe mode please?
    http://kb.mozillazine.org/Firefox_Safe_Mode

  • How do I display search results in a new window?

    Our current search feature (http://mainedreamvacation.businesscatalyst.com/business-search) displays the search results in the same page. When someone clicks to see the details page, the goes "back" the browser displays an alert asking the user if they want to re-submit the form.
    Is there a way for the search results to display in a new window? My hope is that by loading results into a new window, a user could click to see the detail, then return without the alert message.
    I'm open to simply suppressing the alert message, but I don't think that's possible.
    I should point out that this is NOT a site search. Also, I have tried  {module_webappsresults,,_blank} without success.
    Thanks!

    Hi Tim,
    The approach would be similar to customizing this for normal site search. 
    You'll need to locate the page where you inserted the web app search access the html and locate the pageID in the form action.  Use the same method found in the site search to apply the specific page.
    - http://helpx.adobe.com/business-catalyst/partner/add-search-form.html> Point to the results page
    **Ensure you please the {module_webappsresults} on the custom page to have the content display as well. 
    Kind regards,
    -Sidney

  • Links will not display in new window

    I have just install the new version of Thunderbird 31.4.0 and now find when I click on a Link it does not display in a new window. To display the link I have to click on the Explorer tab near the start button. I would like the link to open immediately as it did previously. Thank you very much

    This is not actually a Thunderbird question, but a browser issue, so you should really be asking this in the Firefox forum (assuming you use firefox) as it is the browser not taking the focus.
    However, here is some help if you use Firefox.
    If you use Firefox:
    type : about:config into the Firefox address bar and hit enter. you will get a warning to be careful :)
    In the Search bar, type : diverted look for this line: "browser.tabs.loadDivertedInBackground"
    By default, the value of this entry should be false. This would give you focus on the browser after opening the link.
    So check to see if you may have this set as 'True'.
    To change it, double click on that line and it will toggle the value from 'True to 'False'.
    Restart Firefox .

Maybe you are looking for

  • Two seperate contacts appear to be the same one in Text Messaging

    I have two separate contacts that when I text message them it always lists them as the same contact.  So when I look at my list of conversations in the Text messaging app it shows two separate conversations for the same contact, but one of them is fa

  • Timer in j2me canvas

    Hi, I want to implement timer in my mobile game,that will start from 5and go to 0 timer will show hours:min:sec:milisec on screeen . plz tell me if anybody know

  • Barcode to be centered alligned in Adobe forms

    Hi, I am working on Adobe form, I am using barcode 3 of 9 for material code, material code can be of variable length, can bar code be center alligned. Regards, Kimaya.

  • Missing notifications tab mavericks

    Okay so I have a bit of a bug where my mac wont show the little notifications tab on the side beside the search pls help

  • Initialise load Problem

    Hi All, I did an Initialise load in CATS(HR) Cube in QA on the 22nd NOv.  I restricted this load by Calendar Day (01.01.2002 to 31.12.2002).  I thought this would only bring back records for 2002, but it returned 11 million records, which I think is