How I take image into showOneTab?

hi all
i want to show image instead label text in ShowDetailTab component and I already set background-image to inlinestyle but the image doesn'tshow if the label text is blank
pleas help me
Thank you for your kindness...... = (^ . ^ )=

hi,
i think you cnt insert image into a blob type column
you may have to put the path in the column and store the images on to the path on some server....
check out this link
http://www.oracle.com/technology/products/intermedia/htdocs/intermedia_quickstart/intermedia_rel_quickstart.html

Similar Messages

  • How to load image into picturebox

    Hi! Does anyone know how to load image into picturebox by using J2ME? And how to crete the picturebox in the forst place?
    Thanks!
    Regards,
    Jaceline

    You want java.awt.Toolkit.getImage() and java.awt.Graphics.drawImage().
    Ted.

  • How to split image into smaller (same size) pieces?

    Hi all,
    My question is how to split image into smaller (same size) pieces, using Photoshop elements 13? Could anyone help me with this one?
    Thanks!

    Use the Expert tab in Editor (I think that is what it is called in PSEv.13)
    You may find the grid helpful. Go to View>Grid. It will not print, but will help to orient you. You can set up the gridlines to suit via Edit>Preferences>Guides and Grid. If you want to partition the picture in to 4 uniform pieces, it would be Gridline every 50%, Subdivision 1. Also, go to View>Snap to>Grid.
    Set up the Rectangular marquee tool: If the picture is 6" wide & 4" high, enter width=3in & height=2in.on the tool's option bar. This will be a fixed size.
    Click and select one quadrant, press CTRL+J to place this quadrant on a separate layer
    Repeat for the other 3 quadrants
    You should end up with 5 layers : Background, and layers 1, 2, 3, 4.

  • How to add images into a java application (not applet)

    Hello,
    I am new in java programming. I would like to know how to add images into a java application (not an applet). If i could get an standard example about how to add a image to a java application, I would apreciated it. Any help will be greatly apreciated.
    Thank you,
    Oscar

    Your' better off looking in the java 2d forum.
    package images;
    import java.awt.*;
    import java.awt.image.*;
    import java.io.FileInputStream;
    import javax.imageio.ImageIO;
    import javax.swing.*;
    /** * LogoImage is a class that is used to load images into the program */
    public class LogoImage extends JPanel {
         private BufferedImage image;
         private int factor = 1; /** Creates a new instance of ImagePanel */
         public LogoImage() {
              this(new Dimension(600, 50));
         public LogoImage(Dimension sz) {
              //setBackground(Color.green);      
              setPreferredSize(sz);
         public void setImage(BufferedImage im) {
              image = im;
              if (im != null) {
                   setPreferredSize(
                        new Dimension(image.getWidth(), image.getHeight()));
              } else {
                   setPreferredSize(new Dimension(200, 200));
         public void setImageSizeFactor(int factor) {
              this.factor = factor;
         public void paintComponent(Graphics g) {
              super.paintComponent(g);
              //paint background 
              Graphics2D g2D = (Graphics2D) g;
              //Draw image at its natural size first. 
              if (image != null) {
                   g2D.drawImage(image, null, 0, 0);
         public static LogoImage createImage(String filename) { /* Stream the logo gif file into an image object */
              LogoImage logoImage = new LogoImage();
              BufferedImage image;
              try {
                   FileInputStream fileInput =
                        new FileInputStream("images/" + filename);
                   image = ImageIO.read(fileInput);
                   logoImage =
                        new LogoImage(
                             new Dimension(image.getWidth(), image.getHeight()));
                   fileInput.close();
                   logoImage.setImage(image);
              } catch (Exception e) {
                   System.err.println(e);
              return logoImage;
         public static void main(String[] args) {
              JFrame jf = new JFrame("testImage");
              Container cp = jf.getContentPane();
              cp.add(LogoImage.createImage("logo.gif"), BorderLayout.CENTER);
              jf.setVisible(true);
              jf.pack();
    }Now you can use this class anywhere in your pgram to add a JPanel

  • How to insert image into table and to in Oracle 9i intermedia?

    Mr Lawrence,
    I want to ask something:
    I use Oracle 9i intermedia
    If i use this script:
    CREATE TABLE images (
    file_name VARCHAR2(100) NOT NULL,
    image ORDSYS.OrdImage
    then
    CREATE OR REPLACE DIRECTORY imgdir AS 'd:/data';
    then
    INSERT INTO images (file_name, image)
    VALUES ('tree', ORDSYS.ORDImage.init('file','imgdir','tree.jpg' ));
    I put tree.jpg in directory d:/data in my hard drive.
    Is my tree.jpg file had already get in to my images table?
    I'm little confuse, because when i check my table with this script:
    select file_name, i.image.getWidth() from images i;
    it's show that my i.image.getWidth() for file_name tree is empty.. that mean my tree.jpg doesn't get in to my table.. am i correct?
    N also i want to ask how to display to screen all of my image from images table?
    Is it posible Oracle 9i intermedia to support display image from table?
    How?
    thanks Mr Lawrence

    -- First step would be to create a directory in oracle and map it to the folder where your image resides.
    create directory image_dir as *'c:\image_dir';*
    Then you would have to use a procedure to insert the image in your table. SO first create a table to hold the image. Note that you have to use a BLOB to insert the image.
    CREATE TABLE test_image
    ID NUMBER,
    image_filename VARCHAR2(50),
    image BLOB
    Now let's write the procedure to insert the image in the table above.
    CREATE OR REPLACE PROCEDURE insert_image_file (p_id NUMBER, p_image_name IN VARCHAR2)
    IS
    src_file BFILE;
    dst_file BLOB;
    lgh_file BINARY_INTEGER;
    BEGIN
    src_file := BFILENAME ('image_DIR', p_image_name);
    -- insert a NULL record to lock
    INSERT INTO temp_image
    (ID, image_name, image
    VALUES (p_id, p_image_name, EMPTY_BLOB ()
    RETURNING image
    INTO dst_file;
    -- lock record
    SELECT image
    INTO dst_file
    FROM temp_image
    WHERE ID = p_id AND image_name = p_image_name
    FOR UPDATE;
    -- open the file
    DBMS_LOB.fileopen (src_file, DBMS_LOB.file_readonly);
    -- determine length
    lgh_file := DBMS_LOB.getlength (src_file);
    -- read the file
    DBMS_LOB.loadfromfile (dst_file, src_file, lgh_file);
    -- update the blob field
    UPDATE temp_image
    SET image = dst_file
    WHERE ID = p_id AND image_name = p_image_name;
    -- close file
    DBMS_LOB.fileclose (src_file);
    END insert_image_file;
    Now execute the procedure to insert the image.
    EXECUTE insert_image_file(1,'test_image.jpg');
    Thanks,
    Aparna

  • How to put image into pdf file in which image is set it in particuler frame size

    hi, i m creating app for generate pdf in which i can set image into pdf but the image sizze is large so the image is display over the text and how can i set text into pdf and also how to set textfilelds data into pdf or tableview data into pdf.help me plz

    Are you looking for image in selection column or as a separate column?
    --Shiv                                                                                                                                                                               

  • How to transfer images into bytecodes

    i need a help to transfer images from server to proxy and then transfer into client,at that time if that particular image is already there in proxy then the client directly retrieve images from proxy not from server.which replacement algorithm is suitable fror this.how to cache images in proxy.pls reply me..

    by using a caching proxy server. That should do the trick automaticly for you. But why. It's not that you realy need vast amount's of bandwidth or power to serve phones with images...

  • How to take image(screenshot) of first page of any file

    Hi all,
    I am doing a project work and I need to take the image(just as screenshot) of the first page of any file so that contents of that first page can be viewed by that image .
    And finally i want to set that image as an icon for that file.
    I have used "java.awt.Robot" class for taking desktop screenshot but I am not able to find out the way how we can take image of first page of any file by just giving the url of that file even if file is closed. Can any one help me? Waiting for your kind reply..........
    Thanks in advance!!

    Please don't double-post. http://forums.sun.com/thread.jspa?threadID=5430733&tstart=0
    Are you asking whether you can take an icon from a file in the filesystem and store and subsequently display it? Conceptually, not a problem. You would want to determine the extension and then use either JNA or JNI to access the registry (or use an existing API [http://www.dzone.com/links/access_windows_registry_using_pure_java.html]) and find where that extension is associated to a file type. That is usually linked to another registry key that has the icon to display (and its path). Use a FileInputStream to get that icon on the filesystem. You can Google around for how to navigate the Registry, I'm not a Microsoft expert, but I know it can be done.
    Or are you asking whether the contents of the first "page" of an arbitrary file (Word doc, PDF, image, etc.) can be discerned and then stored and subsequently displayed? If this is the requirement, it will be very difficult to support more than a few formats. And many formats that are native to a given O/S will cause you issues.
    - Saish

  • Question - how to layer images into one

    I've been looking for the "how to steps" to layer images into one. All the sites talk about "photoshop" but none actually brake down as which version etc...if you know the steps please post it up so I can stop looking. Thank you!!

    I'm creating a new website and wanted to have 5 pictures layered onto one another on our company logo. Like on this web page at the top. I'm using Adobe Photoshop CS4 Extended
    http://allwebcodesign.com/templates/T27dChromeNavy/Graphic-LOGO-sample.htm

  • How to insert images into oracle databse......

    hi,
    i have to insert images into oracle database..
    but we have a procedure to insert images into oracle database..
    how to execute procedure.
    my images file is on desktop.
    i am using ubuntu linux 8.04..
    here i am attaching code of my procedure
    create or replace PROCEDURE INSERT_BLOB(filE_namE IN VARCHAR2,dir_name varchar2)
    IS
    tmp number;
    f_lob bfile;
    b_lob blob;
    BEGIN
    dbms_output.put_line('INSERT BLOB Program Starts');
    dbms_output.put_line('--------------------------');
    dbms_output.put_line('File Name :'||filE_namE);
    dbms_output.put_line('--------------------------');
    UPDATE photograph SET image=empty_blob()
    WHERE file_name =filE_namE
    returning image INTO b_lob;
    f_lob := bfilename( 'BIS_IMAGE_WORKSPACE',filE_namE);
    dbms_lob.fileopen(f_lob,dbms_lob.file_readonly);
    --dbms_lob.loadfromfile(b_lob,f_lob,dbms_lob.getlength(f_lob));              
    insert into photograph values (111,user,sysdate,b_lob);
    dbms_lob.fileclose(f_lob);
    dbms_output.put_line('BLOB Successfully Inserted');
    dbms_output.put_line('--------------------------');
    commit;
    dbms_output.put_line('File length is: '||dbms_lob.getlength( f_lob));
    dbms_output.put_line('Loaded length is: '||dbms_lob.getlength(b_lob));
    dbms_output.put_line('BLOB Committed.Program Ends');
    dbms_output.put_line('--------------------------');
    END inserT_bloB;
    warm regerds
    pydiraju
    please solve my problem
    thanks in advance.......

    thank you
    but i am getting the following errors.
    i connected as dba and created directory on /home/pydiraju/Desktop/PHOTO_DIR'
    and i gave all permissions to scott user.
    but it not working . it gives following errors.
    ERROR at line 1:
    ORA-22288: file or LOB operation FILEOPEN failed
    Permission denied
    ORA-06512: at "SYS.DBMS_LOB", line 523
    ORA-06512: at "SCOTT.LOAD_FILE", line 28
    ORA-06512: at line 1
    Warm regards,
    Pydiraju.P
    Mobile: +91 - 9912380544

  • How to: add images into an Interactive PDF

    I was wondering if it was possible to add images into an interactive PDF once it has been sent to someone. The PDFs are forms that need to be filled by a client via their iPads using Adobe Expert, and they may need to occasionally attach images to the document and be able to edit these images (i.e. circle parts of the image to highlight them) then send these PDF's back to myself.
    Is there a way this can be done?
    Thanks

    There is no program on the iPad called Adobe Expert. I think you mean Adobe Reader.
    Adobe Reader lets you fill in forms but not to attach images. If you wish to make a request of the Adobe Reader product manager, you can post on the Adobe Reader for iOS forum here:
    http://forums.adobe.com/community/adobe_reader_forums/ios

  • How to include images into a servlet

    Hi guys,
    I found out that I can't include both the "setContentType("image/gif")" and the "setContentType("text/html")" in a servlet. I've tried different methods, but I can't get it right.
    Could anyone tell how to do that...?
    Thanks...

    I beg your pardon? You want to send text and image in the same response? Can't be done. If you go and look at pretty much any HTML page on the web you will see how to include images in HTML.

  • How to import images into BLOB datatypes

    Dear All,
    I'm trying to import image into BLOB table type.I'm executing this SQL commands but found error.
    ORA-22288
    ORA-06512
    Please help me i'll be thank full.
    Regards
    FAHEEM LATIF
    CREATE OR REPLACE DIRECTORY images AS 'C:\IMAGES';
    CREATE TABLE test007 (column1 BLOB);
    DECLARE
    l_bfile BFILE;
    l_blob BLOB;
    BEGIN
    INSERT INTO test007 (column1)
    VALUES (empty_blob())
    RETURN column1 INTO l_blob;
    l_bfile := BFILENAME('IMAGES', 'MyImage.gif');
    DBMS_LOB.fileopen(l_bfile, Dbms_Lob.File_Readonly);
    DBMS_LOB.loadfromfile(l_blob, l_bfile, DBMS_LOB.getlength(l_bfile));
    DBMS_LOB.fileclose(l_bfile);
    COMMIT;
    END;
    /

    I know your original pl/sql routine contained a COMMIT, but did you use the same code with the COMMIT? If not, are you checking the table from a different session?
    I ran your same code and it worked without issues. Are saying if you do a SELECT COUNT(*) from test007 it returns zero rows?

  • How make still images into movie - each 1 frame only??

    I am trying to take the output of the linked program and make it into a movie: http://alienryderflex.com/crawl/ That ends up being about 3000 images for what I have made. When I imported them into iMovie HD, each of them was given 5 seconds each - which makes for a VERY long, and boring movie. How can I either change them all to be 1 frame long (en masse) or import them w/o having a time length attached to them beyond a single frame??
    Thanks,
    eric

    The photos were imported for 5 seconds each because apparently that's the duration currently set in the Photo Settings window, the window that opens when you press the Show Photo Settings button.
    The shortest duration offered by the Photo Settings window is 00:03 — three frames. But there is a back door to import with a 1-frame duration. The trick is to use the iMovie feature that imports photos using the import duration — and all the other photo import settings — of the last imported clip you clicked on.
    1. Click on any photo in the Photos list. Press the Show Photo Settings button. Turn OFF the Ken Burns checkbox in the Photo Settings window; drag the duration slider as far left as it will go; then press the Apply button. The new clip will have a duration of 3 frames. (Don't try to type the duration in the Photo Settings text box. The text box is buggy and you won't get the duration you want.)
    2. Double-click on that new clip. In the Clip Info window that opens, change the duration to 0:00:01, which is one frame. Press the Set button. Now the clip will play for one frame.
    3. In the Photos list, click on any photo. The default duration will be 00:03 in the Photo Settings window, which is the duration of your last import.
    4. Now click on the new 1-frame clip, then click on any photo in the Photos list. Now the default duration will be 1 frame, not 3.
    5. The photos you subsequently import will be 1 frame long until you change the duration, or click on a clip that's longer.
    There's one other hurdle, importing the photos in the order you want them. Ideally you have them now in the same folder, and they are named in numerical order. To preserve the order, the best method is usually to use iMovie's File > Import command to import all at the same time. (Click on the first photo in the folder, then Shift-click on the last one.)
    That method usually delivers them in the proper order. Dragging them from a Finder window — or from the photos list — usually will not.
    Oh, and don't forget to set your iMovie preferences to import them to the Timeline, not the Clip pane.
    If you can't get this to work then Yes, use QuickTime Pro's Import Sequence command. It lets you import all the photos with whatever duration you want. Save that movie, then import it to iMovie. Doing the type of movies you are, it's probably worth purchasing QT Pro for that one feature.
    Karl

  • How convert an image into its RGB value

    i want to find out how to convert an image files such as .gif or .jpg into its RGB value so that i can find out how much amount of a particular colors contain in the image.

    Try this:
    public int countColors(String filename) throws IOException {
    BufferedImage image = ImageIO.read(new FileInputStream(filename));
    Set colors = new HashSet();
    int height = image.getHeight();
    int width = image.getWidth();
    for (int x = 0; x < width; x++) {
    for (int y = 0; y < height; y++) {
    colors.add(new Integer(image.getRGB(x, y)));
    return colors.size();

Maybe you are looking for

  • Creation of Users for Discoverer

    I am using Oracle as Database for my Application. I can have multiple Application users(but the same Oracle user/Schema). For Reports, I would be using Oracle Discoverer where I would like to give access privilege om some Reports to only specific App

  • Alert: Logical disk transfer (reads and writes) latency is too high Resolution state

    Hi  We are getting following errors for my 2 virtual servers. We are getting this alert continuously. My setup Windows 2008 R2 SP1 2 node Hyper V cluster. Which is hosted 7 guest OS out of am facing this problem with to guest os. Once this alert star

  • [HELP] - BAPI_PRODORDCONF_CREATE_TT

    Hello SAP Gurus, I am using BAPI_PRODORDCONF_CREATE_TT and BAPI_PRODORDCONF_GET_TT_PROP to simulate transaction CO11N. There is the sample code: CALL FUNCTION 'BAPI_PRODORDCONF_GET_TT_PROP'      EXPORTING        PROPOSE                  = i_propose *

  • List of Zreports and Z transcations

    how can i find the list of Zreports and Z transcations, created in any company?

  • Can't uninstall my themes!

    i have some themes from ovi i downloaded  and now i want 2 remove it but i cant because when i open my installation app  i cant find the names of this themes like in my themes i have some one name (55555) but when im searching i cant find same name o