How to view blob/image in uix?

Version: JDev 9.0.5.2
Goal: To view an image that is coming from a database table.
Set Up:
In the database: I have a database table with a blob data type. The blob data type contains a pointer to the image in a database directory.
In JDev.model: I have an Entity Object and View Object that contains the column attribute with a blob/blob domain data type.
Question: How do I build a uix page that allows me to pull in the blob (image)?
Thanks for the assistance.
--Connie                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Take a look at this, hope it helps.
http://download-east.oracle.com/otn_hosted_doc/jdeveloper/904preview/creating_html_clients/uix_pimagewintermediatags.html

Similar Messages

  • How to view blob data.

    I had created a table for storing image as well as the package. How to view the image. I am using sql developer.. is it possible to view.. ?? or else how..??
    Is it possible to view through http connecting via oracle client to the database.

    You can save the BLOB column with help of UTL_FILE and UTL_RAW as operating system file and then view that with some external software.

  • How to view large images ?

    i just updated my phone c601 from symbian anna to belle..may i know how to view large images in the nokia internet browser..i cant change it

    sorry,since i have just updated my mobile,i can't show you how large is it,
    but i can show you how small is it...
    even though i click 'more>view image',
    the image that shows me is just that small....
    Attachments:
    scr000001.jpg ‏102 KB

  • How to view an image at runtime?

    Hi all,
    I am developing a web application using JSP,struts, ADF BC with JDeveloper 10.1.3.
    I have added
    <input type="image" src="../../images/calendr3.gif"/>
    in my Databound table on my JSP page.
    I can see the image at Design time but no image at runtime.
    What should I do to view the image at runtime??
    I have tried
    <input type="image" src="<%=request.getContextPath()%>/images/calendr3.gif"/>
    in this case JDeveloper completely stops functioning. I don't know why? Maybe it's not allowed to have a jsp tag within a databound jsp form???

    Hi,
    did you add the image to JDeveloper (hit the refresh button) so it gets deployed with the application ?
    Also, look at the generated JSP code to see how the image is accessed. I am sure you will find an improperly defined URL
    Frank

  • How to view an image @ 100% ?

    When I do some editing in iPhoto, especially sharpening, I'd like to see it @100%.
    There is no indication at what % I'm viewing the image.
    Is there any way to know that ?
    When clicking "edit" on the bottom, at what size the image opens?
    Thanks!

    ok, I found an Apple article from 2007 which explains how to do that. I'm posting it here for others:
    ===================================
    iPhoto: Sharpness adjustment may not be apparent when viewing at less than 100 percent
    Last Modified on: July 13, 2007
    Article: 301425
    When you view an image at less than full size, iPhoto smooths it (a technique known as anti-aliasing) to get rid of artifacts that result from scaling down the photo. The relationship between anti-aliasing and sharpening is a trade-off; although anti-aliasing does not modify the actual image file, it does counter the effect of sharpening when viewing the image at less than full size.
    Because of this, if you sharpen a photo, close it, then reopen it again at a less than 100-percent view, you may get the impression that your sharpness changes were not saved. In reality they were, but since the image has been re-aliased to fit your screen, the image's true sharpness may not be apparent.
    To evaluate whether an image is sharp or needs sharpening, you should view the photo at 100 percent/full size while editing in a separate window. To open the photo in a separate window, you can either Control-click the image and choose "Edit in a separate window" from the shortcut menu, or change your iPhoto preferences:
    From the iPhoto menu, choose Preferences.
    In the General pane, locate the preference for "Double-click photo."
    Set the radio button to "Opens photo in edit window."
    Close the preferences window.
    Now photos will open in a separate window when you double-click them. Once in the separate window, choose 100% from the Size pop-up menu. If you don't see the Size menu, widen the window until it appears.
    Tip: If you are editing the photo from one of the other view options, you can press the 1 key to quickly jump to 100 percent view.
    Other applications, such as Adobe Photoshop, handle anti-aliasing differently, so the degree of apparent sharpness can vary from one application to the next when viewing an image at a scaled-down size. You should see consistency when comparing the image at 100 percent across other applications.
    Important: Information about products not manufactured by Apple is provided for information purposes only, and does not constitute Apple's recommendation or endorsement. Please contact the vendor for additional information.
    ========================================

  • How Adobe viewer scales images?

    Hi,
    I am putting a JPEG file of lesser resolution than the PDF and is scaling it inside PDF. I have a doubt how the viewer scales the image while rendering? Is it just pixel replication or can we specify inside PDF to use some filters for scaling to get better quality? Can someone please help me regarding this doubt?
    Thanks,
    Sham

    I found the answer myself from the PDF standard. Image interpolation is done if the /Interpolate field in the image XObject is set true. I am quoting from the PDF standard below.
    "When the resolution of a source image is significantly lower than that of the output device, each source sample covers many device pixels. As a result, images can appear jaggy or blocky. These visual artifacts can be reduced by applying an image interpolation algorithm during rendering. Instead of painting all pixels covered by a source sample with the same color, image interpolation attempts to produce a smooth transition between adjacent sample values. Image interpolation is enabled by setting the Interpolate entry in the image dictionary to true. It is disabled by default because it may increase the time required to render the image."

  • How to view mail image in nokia lumia 720 phone

    i unable to view mail image and how to enable cc mail option

    For viewing the Images.. refer attachment 1 (which is for .xls file but should be the same for Images) ...
    For cc option .. Refer Attachment 2 (Tap on (...) to get the option)
    Attachments:
    Attachment Downloading.jpg ‏59 KB
    wp_ss_20130830_0001.jpg ‏28 KB

  • How to view an Image in ABAP Webdynpro on button action

    Hi Experts,
    I want to view an image on a button action without creating a new view or window.
    I just need to display the image.
    Thanks,
    R Sahu

    Hi Rabi,
    Add Context Attribute "SOURCE_IMG" with type String.
    Add Image UI "img_id" in layout and bind its source with this context attribute.
    on any method where you want to change/show image dynamically, put this code :
    here url can be path to image on local or any url-path for web image.
    call method wd_context->set_attribute
           EXPORTING
             name = 'SOURCE_IMG'
             value          = url .
    I hope this is what you are looking for.
    Thank you
    Meet Vajaria

  • How to view the image as cylindrical view in panorama image viewer?

    i am facing the problem to view the image as cylindrical view.
    i.e, the image moved at the end position ,the image seems to jump to the start.
    instead of this the image should view as cylindrical view. i.e, that the end of the image sticks to the beginning of the image.
    import java.awt.Dimension;
    import java.awt.Graphics;
    import java.awt.Graphics2D;
    import java.awt.MediaTracker;
    import java.awt.event.ActionEvent;
    import java.awt.event.ActionListener;
    import java.awt.image.BufferedImage;
    import java.io.File;
    import java.io.IOException;
    import javax.imageio.ImageIO;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.Timer;
    public class PanoramaImageDemo
         private BufferedImage biBackground = null;
         private JFrame f;
         PanoramaImageDemo()
              f = new JFrame("AniDemo 1.0");
              f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              loadBackground("C:/Documents and Settings/All Users/Documents/My Pictures/Sample Pictures/sunset.jpg");
              myPanel p = new myPanel(biBackground);
              f.add(p);
              f.pack();
              f.setVisible(true);
         private void loadBackground(String fn)
              File file = new File(fn);
              BufferedImage image = null;
              try
                   image = ImageIO.read(file);
              catch (IOException e1)
                   System.out.println("File Not Found");
              MediaTracker mt = new MediaTracker(f);
              mt.addImage(image, 0);
              try
                   mt.waitForID(0);
                   biBackground = new BufferedImage(image.getWidth(), image
                             .getHeight(), BufferedImage.TYPE_INT_RGB);
                   Graphics2D g2 = biBackground.createGraphics();
                   g2.drawImage(image, 0, 0, null);
                   g2.dispose();
              catch (InterruptedException e)
                   System.out.println(e.toString());
         public static void main(String[] args)
              new PanoramaImageDemo();
         class myPanel extends JPanel implements ActionListener
              private BufferedImage background;
              private BufferedImage bi = null;
              private int upperLeft = 0;
              int width;
              int height;
              myPanel(BufferedImage bg)
                   super();
                   background = bg;
                   width = background.getWidth() / 2;
                   height = background.getHeight();
                   bi = background.getSubimage(upperLeft, 0, width, height);
                   setPreferredSize(new Dimension(width, height));
                   Timer t = new Timer(5, this);
                   t.start();
              public void actionPerformed(ActionEvent e)
                   upperLeft += 1;
                   if (upperLeft >= width)
                        upperLeft = 38; // adjust to make rollover seemless
                   bi = background.getSubimage(upperLeft, 0, width, height);
                   repaint();
              public void paintComponent(Graphics g)
                   g.drawImage(bi, 0, 0, this);
    }plz help me regarding this concept

    I have learnt a technique when I am programming in flash.
    Assume you have a photo cat.jpg with 10 units in width and 10 units in height. You can have a view(viewport) 10 units in width and 10 units in height.
    The following shows the width of the photo:
    012345679
    To show an effect of panorama, you can draw 2 photo at any time. I assume the eyesight of a person move from left to right with 1 unit at a time.
    The original image is 0123456789.
    If the person move eyesight to right by one unit, the image become
    1234567890
    If the person move eyesight to right by one more unit, the image become
    2345678901
    You can program the by drawing 2 images at any time.
    0123456789(zero width for second image)
    123456789(0, 1 unit in width in second image)
    23456789(01, 2 unit in width in second image)
    To display part of image, try this link to a program to crop image
    http://www.java2s.com/Code/Java/2D-Graphics-GUI/Imagecrop.htm

  • How to view the image(blob) to smaller window

    Hi Friends,
    I am browsing photo data (BLOB) column using SQLDev.
    But the display is too big Its not so comfortable to view.
    How do I resize the display window to something like 2"x2" ?
    Thanks a lot

    It all depends on what you are doing. You asked how to resize the window and I said that you can drag the window size to enlarge it to see the photograph. If this is not useful then having an additional column of thumbnail images is an option. I don't know what you are building or what your app is. SQL Developer is a GUI that helps you look at your data. For a blob it provides a window for you to see the image[i] as it is. I typically save images in their original format and in some instance I create thumbnails (http://sueh.visualblogging.com/) Yes, this is a manual process, and yes there are 2 images. In your case this might mean changing the table structure and so not what you are after.
    Sue

  • How to display BLOB image column with WEB application, JSF, ADF BC

    I looking for a way to display the content from a blob column on a WEB application, JSF, ADF BC
    The blob column contains a JPEG image.
    About the application
    The model contains a viewobject where the blob column attribute (photoimg) type is of type : BlobDomain
    Now I have to create the view to display the content of photoimg inside a JSF-JSP page.
    Any advice ?

    Search is your friend
    How to display the content of a BLOB column in a ADF/BC pages ?
    John

  • How to view embedded images in gmail on an iphone

    I have a 3G iphone and am unable to view embedded e-mail images from gmail on my phone.  Does anyone know how to make this work?

    go to settings>safari>passwords & autofill>saved passwords

  • How to download blob image, inline to new browser tab or window

    APEX V4.2.3
    I have an interactive report with a blob download column which is set to inline.  When I click on the "download" link the image appears automatically in same window as the APEX application.  How do I download the image into a new browser tab?  I need to squeeze 'target="_blank" ' somewhere but I don't know where as the link structure is hidden.
    Here is the code for my download column in the Interactive Report.
    select
    decode(nvl(dbms_lob.getlength(BLOB_CONTENT),0),0,null,
    '<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
    'src="'||
    apex_util.get_blob_file_src('P98_BLOB_CONTENT',image_id)||
    '" height="100" width="100" alt="'||FILENAME||'" title="'||FILENAME||'" />')
    as detail_img,
    from "#OWNER#"."TIS_ATTACHMENTS"
    thanks in advance
    PaulP

    I would suggest
    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  target="_blank" href="'||apex_util.get_blob_file_src('P4_DOCUMENT',id)||'">Download</a>'
      end
      END new_img
      FROM TEST_WITH_BLOB

  • How to view satellite image during navigation with google maps iphone 5

    I am a new iPhone convert. I switched from the HTC EVO that used Google Navigation. Google Navigation in Android allows the user to see the image of the map during actual navigation to be the satellite view instead of the standard map view. I downloaded the Google Navigation App to my iPhone 5 but I can't get the map to switch to satellite view. I can only get the satellite view up for the overview map. Once navigation starts, the screen pops back over to the standard map view. How do I view the satellite image during navigation? Please help....

    I don't believe that is an option in Google Maps for iOS.

  • How to view correct image dimensions in design view?

    I am new to Dreamweaver cs6. In previous version, the dimensions of an image is directly reflected in the design view. Now it doesnt appear to do so. Does anyone know if there is a setting to fix this? It looks fine when I preview in the browser, but I'd like to see how my page elements fit together in the design view. Any suggestions?

    Here is the code for a similar example:
      <td width="409" height="37"><img width="409" height="1" border="0" style="display:block; line-height:0;" src="http://offers2.compuware.com/rs/compuware/images/spacer.png" alt=""></td>
    Although the height is set to 1, it is showing a height much larger than that (in both the design view and browser preview)
    Thanks! I really appreciate the help.

Maybe you are looking for