Display an CHOOSE_ICON image on an SBO Item

When i try to draw an button with an image, the bitmap (CHOOSE_ICON or TREE_LIST) don't appear in the SBO control;
here my code :
Dim oItem As SAPbouiCOM.Item
Dim oButton As SAPbouiCOM.Button
oItem = oForm.Items.Add _
        ("1",SAPbouiCOM.BoFormItemTypes.it_BUTTON)
oItem.Left = 5
oItem.Width = 65
oItem.Top = 50
oItem.Height = 19
oButton = oItem.Specific
oButton.Image = "CHOOSE_ICON"
oButton.Type =SAPbouiCOM.BoButtonTypes.bt_Image
Have you an idea,
Thanks

> When i try to draw an button with an image, the
> bitmap (CHOOSE_ICON or TREE_LIST) don't appear in the
> SBO control;
I suppose you're not trying to assign a bitmap from a variable to this property, but a path to an bitmap file (like stated in the DI-help: <i>Returns or sets a path to an image file, which will be displayed on the button.</i>
is it vb6? i copied your code to a vb6 project and it didn't work, adding "set" two times solved the problem.
    Dim oItem As SAPbouiCOM.item
    Dim oButton As SAPbouiCOM.Button
    /* added a 'set' */
    Set oItem = objSendingForm.Items.Add("lalala", it_BUTTON)
    oItem.Left = 0
    oItem.Width = 100
    oItem.Top = 0
    oItem.Height = 20
    oItem.Visible = True
    /* added a 'set' */
    Set oButton = oItem.Specific
    oButton.Type = bt_Image
    oButton.Image = "C:btntest.bmp"
This code does work for me.
Nice champions league evening...

Similar Messages

  • Some JPG images, stored in DB, do not display on screen/image item.

    Hi friends,
    I have a form to save and retrieve images (JPG, GIF, TIF) to and from DB, using WEBUTIL_FILE_TRANSFER.CLIENT_TO_DB and CLIENT_IMAGE.WRITE_IMAGE_FILE respectively.
    It’s working fine, but with few JPG images, it stores in DB but do not display on screen/image item.
    Secondly, if I try to retrieve and write this JPG to OS (using CLIENT_IMAGE.WRITE_IMAGE_FILE), it prompts error “FRM-47101: Cannot write image file”.
    Environment:
    Forms [32 Bit] Version 10.1.2.0.2
    OS XP Pro 2002 SP3
    Oracle DB 11g Enterprise Edition Rel. 11.1.0.7.0 - 64bit
    Any help will be highly appreciated.

    Hi,
    I have done a workaround here, which worked for me.
    My requirement is to direct save images in DB. So my system was just saving images without knowing if picture would display on form or not later.
    I created a (non-DB) image item on form and added a code (CLIENT_IMAGE.READ_IMAGE_FILE) to place image in this image item, if it successfully display image then save image directly in DB using code (WEBUTIL_FILE_TRANSFER.CLIENT_TO_DB).
    Note: - If CLIENT_IMAGE.READ_IMAGE_FILE fails it raises exception and it means image has invalid format/internal data header and system does not save image in DB.
    Now I have a kind of a filter to stop saving pictures which do not display later on form. :)
    Edited by: user12173428 on 29/09/2011 16:38

  • Display in "Oracle Forms 10g" a BLOB item

    Hey, anybody know if there was any java component or a way to display in "Oracle Forms 10g" a BLOB item, which contains no images, but files of type PDF, DOC, TXT ....
    Thank you

    <p>The Enhanced HTML browser bean allows showing amost everything in its window. See this screen shot</p>
    So you could download your stored document onto the AS or the client with the Webutil FILE_TRANSFERT package, or you could envisage top develop
    a nice PL/SQL procedure that would send the content via the UTL_HTTP package.
    Francois

  • Adding A Separate Background Image For Each Menu Item

    I asked this in the Spry forum, and not sure I understand the answer. Plus, I should have been more specific in asking how to do it, as I'm still pretty new to this stuff. Nothing I'd found indicated it could be done, or how.
    Org question -
    I know you can apply a background image to the menu bar items, but is it possible to add a background image for each individual item? What I'm basically trying to keep are the effects (bevel/emboss, etc.,) that I attached to the text, when I created it in PS CS4.
    Answer -
    Yes you can. The widget is just normal plain html markup so you can just add other classNames or id attributes to the elements. And style the elements through those classes/ids.
    Does this mean I'd have to write a new rule for each menu item? What?
    Thank you.

    Did an Adobe Tutorial for creating/entering a Spry Menu Bar. This is the HTML, after I took out the submenus.
    <ul id="MenuBar1" class="MenuBarHorizontal">
          <li><a href="news.html">Features</a></li>
          <li><a href="news.html">News</a></li>
          <li><a href="news.html">Fashion</a></li>
          <li><a href="news.html">Lifestyle</a></li>
          <li><a href="news.html">Calendar</a></li>
        </ul>
    This is from the SpryMenuBarHorizontal.css (It seems like I need to make changes in the Design Info section of this code. But nothing I've tried has worked):
    /* The outermost container of the Menu Bar, an auto width box with no margin or padding */
    ul.MenuBarHorizontal
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    cursor: default;
    width: auto;
    text-transform: uppercase;
    /* Set the active Menu Bar with this class, currently setting z-index to accomodate IE rendering bug: http://therealcrisp.xs4all.nl/meuk/IE-zindexbug.html */
    ul.MenuBarActive
    z-index: 1000;
    /* Menu item containers, position children relative to this container and are a fixed width */
    ul.MenuBarHorizontal li
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    position: relative;
    text-align: left;
    cursor: pointer;
    width: 7em;
    float: left;
    /* Submenus should appear below their parent (top: 0) with a higher z-index, but they are initially off the left side of the screen (-1000em) */
    ul.MenuBarHorizontal ul
    margin: 0;
    padding: 0;
    list-style-type: none;
    font-size: 100%;
    z-index: 1020;
    cursor: default;
    width: 8.2em;
    position: absolute;
    left: -1000em;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to auto so it comes onto the screen below its parent menu item */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible
    left: auto;
    /* Menu item containers are same fixed width as parent */
    ul.MenuBarHorizontal ul li
    width: 8.2em;
    /* Submenus should appear slightly overlapping to the right (95%) and up (-5%) */
    ul.MenuBarHorizontal ul ul
    position: absolute;
    margin: -5% 0 0 95%;
    /* Submenu that is showing with class designation MenuBarSubmenuVisible, we set left to 0 so it comes onto the screen */
    ul.MenuBarHorizontal ul.MenuBarSubmenuVisible ul.MenuBarSubmenuVisible
    left: auto;
    top: 0;
    DESIGN INFORMATION: describes color scheme, borders, fonts
    /* Submenu containers have borders on all sides */
    ul.MenuBarHorizontal ul
    border: 1px solid #CCC;
    /* Menu items are a light gray block with padding and no text decoration */
    ul.MenuBarHorizontal a
    display: block;
    cursor: pointer;
    background-color: #EEE;
    color: #333;
    text-decoration: none;
    /* Menu items that have mouse over or focus have a blue background and white text */
    ul.MenuBarHorizontal a:hover, ul.MenuBarHorizontal a:focus
    background-color: #33C;
    color: #FFF;
    /* Menu items that are open with submenus are set to MenuBarItemHover with a blue background and white text */
    ul.MenuBarHorizontal a.MenuBarItemHover, ul.MenuBarHorizontal a.MenuBarItemSubmenuHover, ul.MenuBarHorizontal a.MenuBarSubmenuVisible
    background-color: #33C;
    color: #FFF;
    SUBMENU INDICATION: styles if there is a submenu under a given menu item
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarDown.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that have a submenu have the class designation MenuBarItemSubmenu and are set to use a background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenu
    background-image: url(SpryMenuBarRight.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarDownHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    /* Menu items that are open with submenus have the class designation MenuBarItemSubmenuHover and are set to use a "hover" background image positioned on the far left (95%) and centered vertically (50%) */
    ul.MenuBarHorizontal ul a.MenuBarItemSubmenuHover
    background-image: url(SpryMenuBarRightHover.gif);
    background-repeat: no-repeat;
    background-position: 95% 50%;
    BROWSER HACKS: the hacks below should not be changed unless you are an expert
    /* HACK FOR IE: to make sure the sub menus show above form controls, we underlay each submenu with an iframe */
    ul.MenuBarHorizontal iframe
    position: absolute;
    z-index: 1010;
    filter:alpha(opacity:0.1);
    /* HACK FOR IE: to stabilize appearance of menu items; the slash in float is to keep IE 5.0 from parsing */
    @media screen, projection
    ul.MenuBarHorizontal li.MenuBarItemIE
    display: inline;
    f\loat: left;
    background: #FFF;

  • ATG 10.1.2 display URL like image in BCC new tab

    Hi all,
    I am doing a new item-descriptor that store images and I like to display it in BCC new tab (but not flex content, just JSP). I don't descend media item descriptor.
    I used the URL property, like this:
              <property name="url" data-type="string" property-type="atg.distributor.DistributorPropertyDescriptor" display-name-resource="upload.url"
                          category-resource="categoryUpload" >
                <attribute name="uiwritable" value="false"/>
                   <attribute name="poolPath" value="/atg/commerce/catalog/ContentDistributorPool" />
                   <attribute name="propertySortPriority" value="8"/>
              </property>It display my image URL, but like a string. I would like to display it like image.
    I read Oracle documentation and saw that viewImage.jsp exists to show it.
    But I don't know how to use it, how to do this binding betweew the URL image and the JSP to display like a image.
    I thought that ATG would display like image automatically, like in media-internal items that use the same URL property that I am using.
    Any help?
    Thanks a lot
    Edited by: Grando on May 7, 2013 7:16 AM

    Hi Grando,
    As Far as I know atg will display as image if your property is item-type="media" if not you just will se a plaing string due that is the type, perhaps you need to create an Property Descriptor custom to return a media Item by a given url.
    You can go to http://docs.oracle.com/cd/E26180_01/Platform.94/RepositoryGuide/html/s0715implementingauserdefinedproperty01.html in order to see how to create your own property Descriptor.
    Regards,
    Obed

  • Rollover images on navigational bar items

    Has anyone implemented rollover images on navigational bar items to change colors of the images when passed over and out? I already have the images.
    From what I can determine, I believe I need an onMouseOver and onMouseOut event defined in my navigational bar entry template that references a javascript function. Then I think I also need two javascript functions defined in the header portion of my page template to get the new image source.
    If you have done this could you post the following:
    1 - navigational bar entry template, and
    2 - the two javascript functions used
    My navigational bar entry template currently looks like this:
    <td>
    #TEXT#<img src="#IMAGE#" />
    #TEXT#</td>
    Thanks alot, Andy

    Has anyone implemented rollover images on navigational bar items to change colors of the images when passed over and out? I already have the images.
    From what I can determine, I believe I need an onMouseOver and onMouseOut event defined in my navigational bar entry template that each references a javascript function. Then I think I also need two javascript functions defined in the header portion of my page template to get the new image source.
    If you have done this could you post the following: 1) navigational bar entry template, and 2) the two javascript functions used.
    My navigational bar entry template currently looks like this:
    &lt;td&gt;&lt;a href="#LINK#" style="text-align:center;display:block;"&gt;&lt;img src="#IMAGE#" /&gt;&lt;br /&gt;#TEXT#&lt;/a&gt;&lt;/td&gt;
    Thanks alot, Andy

  • Displaying an Graphical Image.

    The Image Format property has a list of file types (bmp, gif, tiff, pict, etc.); SVG is not one of the file types listed. Is it possible to display a grahic image that is not of the Image Format file type in a DataBlock Item displaying images?

    You would have to do the conversion before the form touches the image. Put some conversion software in the the db and create a view that has the conversion function in the select clause.
    ... or..
    You are always welcome to download and use any java beans that you may find/write that display alternate image formats. (I dont know of any, but I'm sure there are some.)
    .. or..
    Does the image have to display in the form? If not, display it via web browser/helper application.

  • Cant display all xml images

    Hi, I'm trying to make a gallery of random xml images in a grid and have them display randomly using a timer.  I got the idea from an as2 tutorial but do not know any as2 so I have tried to convert it to as3 (which I currently learning). All thumbs load randomly once as they should but, I have only been able to make one of the thumbs rotate through the array of random images and cant figure out how to have all thumbs also rotate through random array. Any Ideas would be appreciated. Thanks
    import com.XMLLoader;
    var loader:XMLLoader = new XMLLoader(new URLRequest("gallery.xml"));
    loader.addEventListener(Event.COMPLETE, onComplete);
    var theXML:XML;
    var gallery:Array;
    var aThumb:Thumb;
    var thumbsPerRow = 15;
    var thumbWidth = 40;
    var thumbHeight = 40;
    var thumbSpace = 8;
    var startX = 10;
    var startY = 10;
    var myTimer:Timer = new Timer(Math.ceil(Math.random() * 3000) + 500);
    var myArray:Array;
    var curIndex:Number;
    var myMCL:Loader;
    var usedClips:Array;
    var lastRef:MovieClip;
    function calcPosition(ind:Number):Array
        var whichCol = ind % thumbsPerRow;
        var curThumbX = startX + (whichCol * (thumbWidth + thumbSpace));
        var whichRow = Math.floor(ind / thumbsPerRow);
        var curThumbY = startY + (whichRow * (thumbHeight + thumbSpace));
        return [curThumbX, curThumbY];
    function buildGallery(numThumbs:Number)
        for (var i = 0; i < numThumbs; i++) {
            var pos = calcPosition(i);
            myMCL = new Loader();
            myMCL.contentLoaderInfo.addEventListener(Event.COMPLETE, oli)
            lastRef = new MovieClip();
            lastRef.x = pos[0];
            lastRef.y = pos[1];
            addChild(lastRef);
            var aThumb = new Thumb();
            aThumb.x = pos[0];
            aThumb.y = pos[1];
            lastRef.addChild(aThumb);
            init(gallery);
    function onComplete(e:Event):void
            gallery = new Array();
            theXML = loader.xml;
            var len = theXML.children().length();
            for (var i = 0; i < len; i++) {           
                var item = new Object();
                item.image = theXML.image[i];
                gallery.push(item);
            buildGallery(135);
    function oli(e:Event):void{       
            if(usedClips.length > 1){
                var d = usedClips.shift();
                var i = curIndex;
                //not sur how to unload d;
            curIndex++;           
            if(curIndex >= myArray.length){
                curIndex = 0;
            myTimer.addEventListener(TimerEvent.TIMER, doLoad);
            myTimer.start();
    function init(gallery:Array):void
            myArray = new Array();
            usedClips = new Array();
            var tempArray:Array = gallery.slice(); //duplicate gallery
            while(tempArray.length > 0){
                var it = tempArray.splice(Math.floor(Math.random() * tempArray.length), 1);
                myArray.push(it[0]);
            curIndex = 0;       
            doLoad(null);   
    function doLoad(e:TimerEvent):void
            myMCL.load(new URLRequest(myArray[curIndex].image));
            lastRef.addChild(myMCL);
            trace(gallery.length);
    import com.XMLLoader;
    var loader:XMLLoader = new XMLLoader(new URLRequest("gallery.xml"));
    loader.addEventListener(Event.COMPLETE, onComplete);
    var theXML:XML;
    var gallery:Array;
    var aThumb:Thumb;
    var thumbsPerRow = 15;
    var thumbWidth = 40;
    var thumbHeight = 40;
    var thumbSpace = 8;
    var startX = 10;
    var startY = 10;
    var myTimer:Timer = new Timer(Math.ceil(Math.random() * 3000) + 500);
    var myArray:Array;
    var curIndex:Number;
    var myMCL:Loader;
    var usedClips:Array;
    var lastRef:MovieClip;
    function calcPosition(ind:Number):Array
        var whichCol = ind % thumbsPerRow;
        var curThumbX = startX + (whichCol * (thumbWidth + thumbSpace));
        var whichRow = Math.floor(ind / thumbsPerRow);
        var curThumbY = startY + (whichRow * (thumbHeight + thumbSpace));
        return [curThumbX, curThumbY];
    function buildGallery(numThumbs:Number)
        for (var i = 0; i < numThumbs; i++) {
            var pos = calcPosition(i);
            myMCL = new Loader();
            myMCL.contentLoaderInfo.addEventListener(Event.COMPLETE, oli)
            lastRef = new MovieClip();
            lastRef.x = pos[0];
            lastRef.y = pos[1];
            addChild(lastRef);
            var aThumb = new Thumb();
            aThumb.x = pos[0];
            aThumb.y = pos[1];
            lastRef.addChild(aThumb);
            init(gallery);
    function onComplete(e:Event):void
            gallery = new Array();
            theXML = loader.xml;
            var len = theXML.children().length();
            for (var i = 0; i < len; i++) {           
                var item = new Object();
                item.image = theXML.image[i];
                gallery.push(item);
            buildGallery(135);
    function oli(e:Event):void{       
            if(usedClips.length > 1){
                var d = usedClips.shift();
                var i = curIndex;
                //not sur how to unload d;
            curIndex++;           
            if(curIndex >= myArray.length){
                curIndex = 0;
            myTimer.addEventListener(TimerEvent.TIMER, doLoad);
            myTimer.start();
    function init(gallery:Array):void
            myArray = new Array();
            usedClips = new Array();
            var tempArray:Array = gallery.slice(); //duplicate gallery
            while(tempArray.length > 0){
                var it = tempArray.splice(Math.floor(Math.random() * tempArray.length), 1);
                myArray.push(it[0]);
            curIndex = 0;       
            doLoad(null);   
    function doLoad(e:TimerEvent):void
            myMCL.load(new URLRequest(myArray[curIndex].image));
            lastRef.addChild(myMCL);
           // trace(gallery.length);

    Hi,
    This forum is to discuss problems of C# development. Your question is not related to the topic of this forum.
    I suggestion you post the question in the ASP.NET forums at
    http://forums.asp.net/. It is appropriate and more experts will assist you.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • 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 can I add the logo image for a single item in an RSS feed?

    Hello,
    I am an administrator of iTunes U at the University of Minnesota.
    Before transitioning new public site, we are trying to figure out how to put a logo image into RSS feeds.
    We use our server to makes xml codes to create RSS feeds for podcasts.
    We successfully put a logo image for a collection in a RSS feed, but putting a logo image for a single item did not work.
    Below is the part of the xml code for the logo image for a single item, which is created by our server. I deleted other parts of xml code for your convenience.
    <item>
    <title>Plagiarism</title>
    <itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" />
    <enclosure url="http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3" length="8544508" type="audio/x-mp3" />
    <guid>http://mediamill.cla.umn.edu/mediamill/download.php.mp3?file=87504.mp3</guid>
    <image></image>
    </item>
    We tried both <itunes:image href="http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimmin g-contast.jpg" /> or <image>http://picture.funnycorner.net/funny-pictures/6041/dolphin-vs-cow-swimming-conta st.jpg</image>.
    Both did not work.
    Can anyone help?
    Thank you for your help in advance!!
    Seogjoo

    Haven't created too many podcasts, but in this one
    http://itunes.apple.com/us/podcast/connecticut-college-sculpture/id372414245
    or
    itpc://video.conncoll.edu/d/sculptures/index.xml
    before we included the audio files, we added the images in iTunes.
    Select the file, then go to File>Get Info, here you can add metadata, and in Artwork add an image.
    Then upload this file to your server. Works for audio files anyways.
    You don't see the image in the web podcast, but you do in iTunes after you download each item, in "Show item artwork" in lower left. Click on the image and it zooms out.

  • 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.

  • 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

Maybe you are looking for

  • Problem with script – NEED HELP

    HELP!!! why isn't the script working? on adding folder items to thefolder after receiving theAddedItems repeat with eachitem in theAddedItems set theSender to "me<[email protected]>" set recipCommon to "Files" set recipAddress to (choose from list {"

  • Compressor process permanently "Not responding"

    Hello all, While I usually lurk in the FCP forum ,this is a Compressor only question. I recently upgraded to both Leopard and FCS2 via a clean install, following all the suggestions on how to do so, and so far so good. I've been editing in FCP the pa

  • Proxy Problems

    At my school I recently found out that my iWeb cannot publish for some reason. It worked when I was home, but now gives me an error message that says to check my connection. My school server is under a proxy so this leads my to believe that this is t

  • Search return no results

    Hi i'm trying to find message within the designer headstart forum by entering a search term however whatever search term I use I got no results. What could be cause of this. Could you provide me with any insights. Many thanks in advance Gertjan Hakke

  • When accessing netflix from apple tv get error msg ATVui1614

    Is this error msg apple's or netflix?