How to show an image in an Enumeration description

Recently I have tried to show an image instead of a text description, when I use a RadioButtonGroupByKey UI Element.
What I need is to show some sort of a semaphore which can be set by a processing user. Is it possible to achieve this, or do I have to play around with the layout?
Thanks in advance

Wrong forum

Similar Messages

  • How to show an image in JSP given the bytes[] of the photo?

    Hi all,
    I stored a user's picture in the db as text. For this I simply converted the JPG to bytes[] and from bytes to string: Base64.encode(bytes)
    Now I wish to do the reverse - to 'output' the image on the screen. So given the bytes[] of the image with
              byte[] bytesDB = Base64.decode(userPhotoStr); //userPhotoStr is something like this: /9j/4AAQSkZJRgA...Question: How can I show the image in the JSP page embedded in the page not as download?
    I'm using struts with JSP pages.
    Thank you!!!!

    Images in HTML are to be displayed using <img> element. All what an <img> element can take as image is an URL pointing to the image in question.
    If the image is dynamic, then you can just let that URL point to some Servlet which takes some request parameter or reads the path info, reads/gets the image as byte array or (much more efficient) as inputstream and writes it to the outputstream of the response.
    You may get some ideas out of this: [http://balusc.blogspot.com/2007/04/imageservlet.html].
    By the way, massaging the byte array from/to a String is a terribly bad idea. Just store bytes as computer readable bytes, not as human readable characters, this makes completely no sense. Characters on its turn have to be converted to bytes again after all, but now you've let the DB do the work. All with all a performance pain. Bytes > Chars > Bytes > Chars > Bytes instead of just Byes > Bytes. In database you normally use BLOB, BINARY or equivalent for this in combination with JDBC's PreparedStatement#setBinaryStream() and ResultSet#getBinaryStream().

  • How to show an image(jpg/gif) on a JTabbedPanel

    Hi
    I tried to show an image on a JPanel of a JTabbedPanel.
    I the only way to show it for some time was this:
    in the StateChangedListener I use drawImage when the selected panel is teh one I want to draw the image at.
    Tracing code makes the panel show, burt when I step
    all the way up, the panel will be repainted without my image.
    I use mediatracker to get the image loaded.
    Any Idea
    Hanns

    JTabbedPane has components as its tabs. Using a JPanel is not mandatory. Try using a JLabel instead with an Icon (use ImageIcon) in it.
    JTabbedPane tabbed = new JTabbedPane();
    tabbed.addTab(
        "my image panel",
        new JLabel( new ImageIcon( "images/MyIcon.gif" ) )
    );if your were referring to the image of the little tabs, use this:
    JTabbedPane tabbed = new JTabbedPane();
    tabbed.addTab(
        "my tab",
        new ImageIcon( "images/MyImage.gif" ),
        myPanel // instance of Component, can be a JPanel or any JComponent you want.
    );

  • How to show an image in apex

    Hello everone!
    Do u know how to get an image (JPG, gif, bmp) which is saved in the BLOB in a table?
    I suppose that exists an apex function which allows to do that.
    Any help would be very appreciated.
    Thank u in advance.
    Regards

    There are two examples in my demo application:
    http://apex.oracle.com/pls/otn/f?p=31517:64
    http://apex.oracle.com/pls/otn/f?p=31517:212
    which will give you an idea how that can be done.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • How to Show custom image  on Google Map Oracle Apex 4.1 page

    Hi.. All,
    Need to show custom Image (From Database Table which is a BLOB Column) as Marker on Google Map with fixed size if we zoom in or zoom out.
    I am using Apex 4.1 and oracle11g r2.
    Thanks in Advance

    Hello,
    This plugin Does Exactly What You Need.
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/extension-warp11-gmaps-item_109.html
    Please read the comments on the plugin, in case you come across problem in running the plugin....
    Best Regards,
    Fateh
    If you believe that my answer was correct, then please mark the answer as correct. This is for the best of all

  • How to show thumbnail images in finder?

    Windows can do this, so I'm sure Mac must be able to ....
    When I am viewing a list of jpegs in the finder, how can I see thumbnail versions of the images? Currently, all that's displayed is the jpeg icon.
    Thanks.

    If you have files that don't show a thumbnail icon, it may be that whatever program created the files didn't create a thumbnail image.
    You can add the preview image quite easily using a program like
    QuickImage (http://www.versiontracker.com/dyn/moreinfo/macosx/19253)

  • How to show "sold" image ..........

    Hi there
    Hope everybody is well ..... merry x mas and all that
    I having some problems with my site..... I have a simple site that has a simple shopping cart... with no payment gateway.... cash on delivery or bank transfer only.......
    i have product pages all with a buy now button that adds items to a cart and I have all my cart pages working fine
    I trying to figure out how to add a "sold" image to products that are sold out.....
    In my product table in my database I have a field for howmany_pro to store how many of a product I have in stock
    So that when I add a new product.... using my addproduct.php page I can enter the number ... amount....of a product I have......in stock..... into the add product form ..... as a number to be stored in my howmany_pro field in my product table .....
    So.... so far so good......
    So now ... I want that number.... the howmany_pro number to decrease everytime an item is purchased ... so I can make sure that I have the product asked for in stock..... so I don't get two people ordering the same product.....
    So that when the number of stock goes to Zero "0" I can use the show regieon if database value = "0" behaviour
    I have really no idea how to get this to work......
    Any ideas or help would be great .
    Have a great day
    bibibibi

    Hey Charis,
    Give this a try.
    in phpmyadmin make sure the field that holds your inventory count is set to "unique".
    Then this next part I would do after making a backup of one of the trigger class files as it requires editing a certain value.
    On the insert transaction page add the "auto-increment" behaviour which can be found under developer toolbox/forms/advanced/auto increment column. Then choose the field you would like to auto increment (which will be your inventory field). This will now get the largest value from this field and add 1 to the next record inserted. So this is what we want right? almost... we want to subtract 1 instead. This is where the edit for the value in the class trigger file comes in.. I have not tested this so please make a back up of the file before saving out.
    Open "tNG_SetOrderField.class.php" which can be found under "includes/tng/triggers" and go to line 83. you will see code that says
    $sql = 'SELECT MAX(' . KT_escapeFieldName($this->field) . ') + 1 AS kt_sortvalue FROM ' . $this->table;
    There is a "+1"
    I would think change this to a "-1" and test it out.
    hopefully this works :)

  • How to show an image on each row of the report?

    I have created a report in apex. i want to display image on each row in a column of the report.
    How can i do this?

    See About BLOB Support in Forms and Reports in the documentation.
    There's an OBE tutorial that followed the introduction of declarative BLOB support in 3.1 as well.
    In future please
    <li>Search the forum before posting a new question. Most questions (including this one) have been asked and answered before.
    <li>Include as much relevant information with your question as possible, starting with:
    - APEX version
    - DB version and edition
    - Web server architecture (EPG, OHS or APEX listener)
    - Browser(s)/version(s) used
    - Theme
    - Templates
    - Region type(s)
    <li>Change your forum handle to something better than "845927".

  • How to show an image stored by using SQLLDR as BLOB in ORACLE 10g

    Hi!
    i used SQLLDR to upload images from localhost to my oracle db,
    i saves theme as BLOB`s.
    my problem is:
    i can not view them correctly, showing it using the code below, i get:
    gtìSNEvR=Cm¯ö¾ÆTÿmÖØÏs_û«¬ú ÿSê¯HwýÓ ›[[ü/ñŠÝßSº‡—¢
    does any know what to do?? can help me??
    thank you!
    A.H.S.
    <?php
    echo "<p>Attempting database connection...</p></p>";
    $db_conn = ocilogon("username", "password", "ORACLE_SID");
    if (!$db_conn)
    echo "...FAILED. Check the username, passwd, dbstring given in this script are valid or not.</p>";
    if (OCIError($db_conn))
    $erra=OCIError($db_conn);
    dodberror("SQL Error: $erra $erra[message]");
            exit;
          else
            echo "<p>Connected...</p></p>";
    $table_name="images";
    $stmt = ociparse($db_conn, "select * from $table_name" );
         if (!$stmt)
            echo '<p>parsing error</p></p>';
          if (!ociexecute($stmt,OCI_DEFAULT))
            echo "<font color='red'><p>query execute error!</p></font>";
           echo "<table border=1 cellspacing='0' width='50%'>\n";
           $ncols = OCINumCols($stmt);
           echo "<tr>\n";
           for ($i = 1; $i <= $ncols; $i++) {
                $column_name  = OCIColumnName($stmt,$i);
                echo "<td><b>$column_name</b></td>\n";
           while (OCIFetch($stmt))
               echo "<tr>\n";
            for ($i = 1; $i <= $ncols; $i++)
              $column_name  = OCIColumnName($stmt,$i);
              $column_value = OCIResult($stmt,$i);
              if($column_name=="DATA")  
              //Header("content-type: image/jpg");
               $image = "$column_value->load()";
               echo $column_value;    // gives OBJECT!
               echo "<td><img src='$image' width='48' height='48' align='middle' border='0' alt='not found'> </td>\n";
              //echo "<td><img src='$column_value.jpg' width='48' height='48' a-lign='middle' border='0' alt='not found'> </td>\n"; //works 100%
              //$c1 = '<IMG height=128 width=600 SRC="http://host/' . $row[2] . '">';
                //if ($row[image]) { 
              //header("Content-Type: $row[image_type]"); 
              //print "$row[image]";
                else
              echo "<td><b>$column_value</b></td>\n";
            echo "</tr>\n";
          echo "</tr>\n";
           echo "</table>\n";
          OCIFreeStatement($stmt);
          OCILogoff($db_conn);
        ?>                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Do you need to uncomment one of the header() functions? Make sure
    it is called before any text or whitespace is sent.
    Look at the example in PHP 5 Code to Upload and Retrieve an Image (aka BLOB) with Oracle
    -- cj

  • How to show an image from   html ?

    Hi,
    I have an image from a html that I want to show, it�s in a html:
    <BODY LANG="pt-BR" DIR="LTR">
    <P STYLE="margin-right: 0.63cm; margin-bottom: 0cm"><IMG SRC="??????????\Trabalho_html_86e8006.gif" ALIGN=LEFT HSPACE=12><BR>it�s stored in a database and I�m using an outputtext to show it.
    I�d try to use c:\ but it did not works.
    What path do I have use to correctly display the image ???
    Thanks
    Marlos Rodrigues

    duplicate of http://swforum.sun.com/jive/thread.jspa?threadID=50363&tstart=0

  • How to show large images along with cursor while dragging ?

    Hi Friends,
    While dragging images, image has to be shown along with cursor. In normal dragging process, only (32, 32) size of the original image size only appears.
    But in my application, I need to show image with its original size along with cursor while dragging. So i need an application (program) or
    suggestions which can meet the above requirement. It is an urgent issue for me. Any help in this regard is highly appreciated.
    Thanks in advance,
    Sunil

    Learn to search the forums before asking. This is such a recent posting.
    [http://forums.sun.com/thread.jspa?threadID=5346407]
    db

  • How to show a Image (from shell, python or what ever)

    Hi guys
    An Application written in c#/mono takes up to 7 seconds to start. So i was asked to do a little splash screen for it.
    I coul'd not figure out how to do it from shell and i couldn't find the pygtk bindings installed, so i did it quick and dirty in mono showing just an animated gif and killing the process after the applicaiton started.
    The problem with this Solution is that the splash screen itself takes up to 3 seconds to show up, which is quite long.
    Any idea how i could do it from shell or maybe in python or c? Thing is, i can't install any new libraries on that system so it has to be done with the very basic stuff that comes with the xserver.
    Window manager is fvwm. And i would like to stick with the animated gif, since i already have it.
    Lg, Archdove
    display (imagemagic) is probably installed. But how can i deactivate the window decorator? It would also help if i could just set the window title by my self since there is a rule (which i cannot alter or add one more) to do this for special windows.
    Last edited by Archdove (2012-01-25 19:05:38)

    Got it with the -title switch... don't know if it will help me tough
    I just keep updateing here... the tool animate has to be used to animate the gif.
    So what i still need to know is how i can set the exact position of the window to be shown.
    animate -geometry 100%+0+300 -delay 10 -title windowTitle loading14.gif - BÄM!
    Last edited by Archdove (2012-01-25 19:35:56)

  • How to show icon image on Unix

    I the Button Icons are fine on NT machines. When I move the application to a Unix machine, the icons won't show up. How do I set up to let them show up? Any suggestion? Thanks.
    -- [email protected]

    Hello,
    This plugin Does Exactly What You Need.
    http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/extension-warp11-gmaps-item_109.html
    Please read the comments on the plugin, in case you come across problem in running the plugin....
    Best Regards,
    Fateh
    If you believe that my answer was correct, then please mark the answer as correct. This is for the best of all

  • How to show an image Preview

    In my app, there is a file system tree where people choose a certain image file, what is supposed to happen is that when they click on the image file, a preview should appear next to the file system tree box. I am unsure how to that... HELP

    Just to clarify what you want to do, when someone clicks an image in the tree, you want to display that image in an Image control next to the tree?
    FileSystemTree selectedItem is the File object for the selected item, so access the nativePath or url property for that file object and use it in the Image control source property.
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance
    www.ChikaraDev.com
    Flex Development and Support Services

  • How to show JPEG-images with Forms?

    I am able to display .bmp-images in Forms, but according to the documentation it must be possible to display JPEG-images as well. How do I do that?
    null

    Procedure is the same as you call bmp. but you have to write 'JPEG' in place of format where you write bmp. and file_name.JPG where you write file_name.bmp.
    That may help.
    Mustafa

Maybe you are looking for