Error displaying .png image inside the portlet

Hi all -
I am having an issue with the remote portlet displaying a certain image file, i.e. .png is not showed up inside the portlet. If someone had dealt with this issue and know a fix, please share that information. THX.
A simple test war was built and deployed to the WebLogic server with two embedded images, one GIF and another PNG, and in Webcenter ALUI 6.5 a remote portlet/webservice were created to display the image files. The portlet only shows the .gif image and not the .png image?? I am not sure what the issue is with the portlet??

I am faced with the exact same issue: .png is not showed up inside the portlet. Removing the prefix URL gateway for the portlet web service would work.
However, in my case, my system is sitting behind a gateway to ensure a secure connection. I can NOT remove the prefix URL gateway on my system. It appears the problem is, if the portlet web service is prefix with a URL gateway, the PNG fie is delivered to the browser with the wrong MIME-type ("text/html" instead of "image/png").
My web service is deployed on a WebLogic container. Is this a configuration issue in AquaLogic/WebCenter Interactions?
Any help would be greatly appreciated. Thanks!

Similar Messages

  • Text inside the portlet is cutting off

    I have a process portlets and the text inside the portlet is cutting off. For example, instead of displaying the name of the process "Certificate of good standing" I get "Certificate of Goo..." How can I make the text wrap or show the full project name. I try placing the portlet in a full page, but it's still dose not fix it. Anyone know where it can be change?

    Here is the solution that I got from puspendu
    And it worked:
    From your question , I am assuming you are using the ALIP version of the BPM. The portlets UI are designed to only display that many characters for the application name and display the full name as html title field.
    If you really want to change you can go to the application.jsff file under ptjsp folder and change to display the applicaiton.name instead of applicaiton.shortname.
    ----------------

  • How to display an image on the HTML page by using applet

    Dear friends,
    I am now writing an java applet, I want to display an image on the HTML page, and tried the following commands:
    {color:#ff00ff}{color:#000000}Image map; //put in the class definition
    map=getImage(getCodeBase(),"hhh.gif"); //put in the function of init()
    g.drawImage(map,0,300,this); //put in the function of paint(){color}
    {color}
    However, when I run it, the image wasn't displayed at all.
    I hope who guys ever come across this problem could help me to solve it. Thank you in advance!
    Hawaii

    Hi,
    I am no expert on Images
    but
    from personal exp.
    are you sure that map actually contains the image?
    try using
    ImageIcon ii = ImageIcon(String name);
    map = ii.getImage();I saw a tutorial on images i think on sun
    where they use ImageIcon to load the image

  • How can I center the chart inside the portlet?

    Hi,
    I created a bar chart and published it as a portlet.
    The chart is left-positioned inside the portlet which doesn't
    look good. How can I center it?
    Thank you in advance for your help.

    Hi,
    There is no way of centering your chart within a portlet.
    Thanks,
    Anu

  • Load picture control with png image from the web

    Hi guys,
    Is there an example anywhere for Labview 8.6 for loading a picture control with png image from the web?

    Hi lavalava,
    here you find a note on how to load pictures from the internet. After grabbing the data you could save them to a file, load the file with the picture file functions and then convert it into the image datatype to feed a picture indicator with the data...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • How do I create a duplicate image inside the same page? Then how do I change the color of that image

    how do I create a duplicate image inside the same page? Then how do I change the color of that image from black to red?

    Hello there!
    Here is one way to create a duplicate image and colorize it. As you can see below, I have one image right now, that I want to duplicate.
    My layers panel looks like below.
    To duplicate your image, click the downward arrow on the right side of your Layer Panel.
    Select Duplicate Layer. This will duplicate the layer that the image is on.
    Select "OK" to approve the duplication.
    As you can now see in the Layers panel, the image is duplicated. The new layer is now at the top of the Layer panel.
    Now to colorize your image, go to Window > Adjustments.
    The Adjustments panel will now be opened. Select the Hue and Saturation icon as seen circled in red.
    The Hue and Saturation propertied panel will be opened. I selected "Colorize", and adjusted the hue and saturation bar to achieve the level red in my photo.
    As you can see below, the image is now red.
    Now i want to make sure only ONE of my image layers is red. I moved the Hue and Saturation layer to only be on top of the bottom layer. The image on the top layer now will not be affected by the red.
    Select the move tool, so I can now move the image layers so we can see both of them.
    With each image layer selected, you can take the move tool and move the images. I moved mine on top of eachother and you can see my red layer (bottom) and the non red layer (top).
    I hope that helps. i have also included helpful links.
    Please post back with any questions,
    Janelle

  • Export PDF, JPG or PNG images from the mapviewer

    hi,
    I need to export PDF, JPG or PNG images from the mapviewer (Oracle Map client).
    How Can I do it?
    Any Ideas?
    Thanks.

    What I do with xml after calling getMapAsXML function
    Any example?There is a request page in the mapviever configuration webpages, there you can send it to the server and get the image in return.
    or you can write your own programm to send it to the mapviewer servlet using post and progress the response by yourself. Have a look at the mapviewer documentation pdf, there are some examples on the different possible different xml requests.

  • Images used inside the Portlets are not getting displayed on Oracle Portal

    I am registering my JSR Portlet producer on Oracle Portal server but when its rendered on the portal page its not showing images.It just shows a red cross mark showing image is not loaded.Can anyone help me out please samt thing is happening with CSS also.Please reply soon

    I'd check the image properties (right click the x and choose properties) and see what the path is for the image. If it is a relative path, you need to make sure that the file is in that location on the Application Server. /images/myImage.jpg would mean the file should be in $ORACLE_HOME/portal/images on the midtier.

  • I have a 2nd generation iPod that only displays an image of the cord, and an arrow to connect to iTunes. I've done this and it says it needs to be restored. Tried that but I get an error: 1611.  Any suggestions?

    I have a 2nd generation iPod that won't do anything but display the Apple logo for a brief second then an image of the cord suggesting it should be connected to iTunes. I tried to restore it via iTunes but I get an Error: 1611. It does nothing else.  I tried turning off using both buttons...nothing. Any suggestions?

    Error 1611: This error may indicate a hardware issue with your device. Follow the steps in this article. Alsoattempt to restore while connected with a known-good 30-pin Dock Connector cable, computer, and network to isolate this issue to the device. The MAC address being missing or the IMEI being the default value (00 499901 064000 0) can also confirm a hardware issue. Out-of-date or incorrectly configured proxy or security software, such as FoxyProxy, can cause error 1611. To troubleshoot third-party security software, follow these steps.
    Above from:
    http://support.apple.com/kb/TS3694#error1611
    Note it could be a hardware problem

  • How to add round image inside the table column? with different background color, column value should appear in the middle of the round portion.

    Hi
    This question is related to table component implementation.
    I want to display the column values inside the small round image with different colors and value should appear in the middle.

    Hi,
    >>1. how can i align Title(DCS Clinical Report-Technician wise) center of pdf report with image named:logo5.png immediately coming to it's right?.
    2. how do i add the given below row and it's data to my top my table in pdf report from c# windows forms using itextsharp?
    3.how to make my column headers in bold?<<
    I’m sorry for the issue that you are hitting now.
    This itextsharp is third party control, for this issue, I recommended to consult the control provider directly, I think they can give more precise troubleshooting.
    http://sourceforge.net/projects/itextsharp/
    Thanks for your understanding.
    Regards,
    Marvin
    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.

  • Help displaying an image using the canvas!!!!!!!!

    Hey guys
    I don't know whether I am not grasping some concepts well.I have been going mad trying to get the code working
    Here is the code
    import javax.microedition.midlet.*;
    import javax.microedition.lcdui.*;
    import java.io.*;
    * @author Administrator
    * @version
    public class MyMIDlet extends javax.microedition.midlet.MIDlet implements CommandListener{
    private Display display;
    private MyCanvas canvas;
    private Command exitcommand = new Command("Exit",Command.SCREEN,1);
    private Image source;
    public MyMIDlet() {
    protected void startApp() throws MIDletStateChangeException{
    if (display == null){
    initMIDlet();
    protected void pauseApp() {
    protected void destroyApp(boolean unconditional)throws MIDletStateChangeException {
    exitMIDlet();
    public void commandAction(Command c, Displayable d) {
    if (c == exitcommand){
    exitMIDlet();
    protected void initMIDlet() {
    display = Display.getDisplay(this);
    canvas = new MyCanvas(this);
    System.err.println("Canvas instiated succesfully");
    canvas.addCommand(exitcommand);
    canvas.setCommandListener(this);
    display.setCurrent(canvas);
    public void exitMIDlet() {
    notifyDestroyed();
    import javax.microedition.lcdui.*;
    import javax.microedition.midlet.*;
    import java.io.*;
    public class MyCanvas extends Canvas implements Runnable {
    private MIDlet midlet;
    private Image offscreen;
    private Image currentimage;
    private Graphics g;
    //MID profile application
    /** Creates a new instance of MyCanvas */
    public MyCanvas(MIDlet midlet) {
    this.midlet = midlet;
    try{
    currentimage = Image.createImage("/bird0.png");
    }catch(IOException e){
    System.err.println(e.getMessage());
    if (currentimage!= null){
    System.err.println("Image create successfully");
    }else{
    System.err.println("Image not created");
    try{
    Thread t = new Thread(this);
    t.start();
    }catch(Execption e){}
    protected void paint(Graphics g){
    Graphics saved = g;
    int x = getWidth();
    int y = getHeight();
    g.setColor(255,255,255);
    g.drawImage(currentimage,x,y,g.TOP|g.VCENTER);
    public void run() {
    repaint();
    I know for a fact that the Canvas class 's paint method is called by the system and not the application. This poses a problem for me because I am not sure how to pass the image to the piant method, so that it can be painted.
    When I run the program(using J2ME wtk04), this is the outcome.
    Image created succesfully
    Canvas instiatiated successfully
    null
    Here are my questions
    1) when is the paint method precisely called by the system?after a reference to the canvas class is created?
    2) is it wise to create the image when instiating the canvas class?( initially created the image using a separate thread)-when sould the image be created?
    3)how to let the application know when to use the image when painting the display area?
    I am just trying the logistics here. It is very crucial to me to understand the bolts of this as the core f my project fouses on the man machine interface development.(For the project, the cilent application is quering for the map using HTTP)
    I use a png file of size 161 bytes. Is that too big for testing purposes.
    I would all the help that I can get. thanks in advance

    1) when is the paint method precisely called by the system?after a reference to the canvas class is created?
    After the canvas is set as the current display, and after that, after the repaint() is called.
    2) is it wise to create the image when instiating the canvas class?( initially created the image using a separate thread)-when sould the image be created?
    It's better to create the image in the very begining of the program e.g. in the midlet initialization. You can call the created image as often as you like later on
    3)how to let the application know when to use the image when painting the display area?
    you have to tell it :))
    you can use if-then, switch, or anything else
    and you can use clipping too

  • I want Page Id and Site Id inside the portlet...

    I want my site id and my page id of the page that contains my dynamic page (in form of a portlet)
    I tried the API portal.wwctx_api.get_query_string inside my portlet to get the same.
    But when i run it as portlet from the interface, it displays the query string. And as soon as i add the portlet into my page, then the query string of the page is not returned.
    Please if someone has the solution for the same, please let me know.
    Thanks and Regards,
    Rahul Munjal

    Rahul,
    In a PL/SQL portlet:-
    declare
    v_page varchar2(200);
    begin
    v_page := portal.wwpro_api_parameters.get_value( '_pageid', 'a');
    htp.p('siteid, pageid: ' || v_page);
    end;
    Refer to : current page url
    Cheers,
    Pedro.

  • Whenever I have a png image as the last saved filed in my camera roll, it overlaps a picture I've deleted a long time ago. What?

    Just as the title said. iPod touch 4th generation, 4.3.5, not jailbroken. Different png images have different, but specific to each image, pictures that they overlap. Could this be automatic inaccessable-file storing on that confusing extra space? I don't know. I just want them off there.

    ...In the meantime...
    If you can get one of these faulty pictures to display on your iPod Touch (that you don't mind sharing with us) take a screenshot of it. You may already know this, but to take a screenshot on your iPod Touch, press the Sleep/Wake button and the Home button at the same time. The screen should briefly flash white and a picture should be saved in the camera roll.
    To post that picture on this thread, once you have saved the picture onto your computer, simply click the camera icon at the menu bar that displays when you write a post and follow the prompt:
    and then perhaps someone may be able to throw some light on what's happening.
    Do you delete the pictures directly from the Camera Roll, or by using the file manager on your computer? I wonder if it's possible that a delete-on-iPod may not be doing the job properly.
    Usually, when I Sync my iPod, I delete the Camera Roll from the iPod using the computer.
    I have not seen any other posts on this issue, so I don't know if that's the problem, but at this time, I think you simply have to narrow down when and under what circumstances, this happens. Only then could anyone work out what the cause is.
    If I may offer you some advice of a personal nature for your future benefit:
    You're correct, I don't know the exact circumstances surrounding this or the other factors in your life, but neither I, nor anyone else here needs to. But the fact that you're able to afford - and have access to - an iPod makes your life better than many in the world.
    If you're seeking help or advice, in any sphere of your life, it's far more efficient to concentrate on the facts relevant to the issue than to attempt include into your narrative, any perceived slighting you may harbour or grievance you may have with other people. If you allow one person's effect on you to affect your judgemnent of other people, you will only make your own life more intolerable.

  • IFrames keeping the links inside the portlet frame

    Hi All,
    I have installed the iFrame portlet, and tested with the technet.oracle.com portlet. Why do the links on this portlet open up in the whole window rather than stay within the boundaries of the portlet? Isn't that the point of iFrame? I tried to add in
    <convertTarget>false</convertTarget>
    and
    <inlineRendering>true</inlineRendering>
    to the provider.xml, but I got errors each time saying there is no set or add method for them in
    Class oracle.portal.provider.v1.RenderManager
    is there any way I can keep the links inside the frame, or do I have to create a html portlet and manually put in an iframe tag?
    Thanks, Sarah

    It simply does not work! We have tried using iFrames and URLservices with inline rendering and the links always open in the same browser window but outside the portlet. This is getting very frustrating as every post we read has a different solution but none work.
    And yes we have specified inlineRendering and convertTarget in the provider and yes the samples work but they don't open in the portlet. According to 2 threads in the forums, it should work now but it does not.
    Re: ORA-01427: single-row subquery returns more than one row
    Oracle Appplication Server 10g Std Edition One: Linux Available
    We have version 3.0.9.8 and the latest pdk. We are seriously considering switching to a solution that really works.

  • Registration error in Jdeveloper while registering the portlet

    Hello All,
    As per the Tutorial for Oracle WebCenter Developers 11g Release 1 (11.1.1) E10273-01 guide . I am creating the sample application. I have created the portlet and deployed it on integrated weblogic server and created the connection too in the portal application.But when i am dragging the Products portlet onto the cust:PanelCustomization then it gives error.
    Registration Error :- An error occured while trying to register the portlet producer products
    and the error details are :-
    oracle.portlet.client.container.PortletException: oracle.portlet.client.persistence.PersistenceException: Error creating MDS MO : typeName=wsrpProducer mdsId=/oracle/adf/portlet/Products.pxml
    * at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerWSRPProducer(PortletProviderManager.java:2024)*
    * at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerPortletProvider(PortletProviderManager.java:1582)*
    * at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerPortletProvider(PortletProviderManager.java:545)*
    * at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegUtil.registerProducer(WSRPProducerRegUtil.java:308)*
    * at oracle.adfdtinternal.model.portlet.wizards.registration.wsrp.WSRPProducerRegUtil.executeAppProducerRegistration(WSRPProducerRegUtil.java:189)*
    * at oracle.adfdtinternal.model.portlet.wizards.registration.common.ProducerRegUtil.registerProducerWithAppForPortletDrop(ProducerRegUtil.java:293)*
    * at oracle.adfdtinternal.model.portlet.datatransfer.PortletNodePluginInfo.constructPortletDocumentFragment(PortletNodePluginInfo.java:525)*
    * at oracle.adfdtinternal.model.portlet.datatransfer.PortletNodePluginInfo.getData(PortletNodePluginInfo.java:132)*
    * at oracle.bali.xml.model.datatransfer.operation.CreateFromFragmentOperation$1.performTask(CreateFromFragmentOperation.java:52)*
    * at oracle.bali.xml.model.task.StandardTransactionTask.runThrowingXCE(StandardTransactionTask.java:172)*
    * at oracle.bali.xml.model.datatransfer.operation.CreateFromFragmentOperation.apply(CreateFromFragmentOperation.java:42)*
    * at oracle.bali.xml.model.datatransfer.operation.OperationProcessor._apply(OperationProcessor.java:393)*
    * at oracle.bali.xml.model.datatransfer.operation.OperationProcessor._forceSimpleApplyImpl(OperationProcessor.java:346)*
    * at oracle.bali.xml.model.datatransfer.operation.OperationProcessor.forceSimpleApply(OperationProcessor.java:293)*
    * at oracle.bali.xml.model.datatransfer.operation.OperationProcessor.forceSimpleApply(OperationProcessor.java:243)*
    * at oracle.bali.xml.gui.swing.dnd.DropHandlerHelper._doRegularDrop(DropHandlerHelper.java:273)*
    * at oracle.bali.xml.gui.swing.dnd.DropHandlerHelper.performDrop(DropHandlerHelper.java:87)*
    * at oracle.bali.xml.gui.swing.dnd.ModelDropHandler.drop(ModelDropHandler.java:158)*
    * at java.awt.dnd.DropTarget.drop(DropTarget.java:434)*
    * at sun.awt.dnd.SunDropTargetContextPeer.processDropMessage(SunDropTargetContextPeer.java:500)*
    * at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchDropEvent(SunDropTargetContextPeer.java:812)*
    * at sun.awt.dnd.SunDropTargetContextPeer$EventDispatcher.dispatchEvent(SunDropTargetContextPeer.java:736)*
    * at sun.awt.dnd.SunDropTargetEvent.dispatch(SunDropTargetEvent.java:30)*
    * at java.awt.Component.dispatchEventImpl(Component.java:4487)*
    * at java.awt.Container.dispatchEventImpl(Container.java:2099)*
    * at java.awt.Component.dispatchEvent(Component.java:4460)*
    * at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)*
    * at java.awt.LightweightDispatcher.processDropTargetEvent(Container.java:4309)*
    * at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4163)*
    * at java.awt.Container.dispatchEventImpl(Container.java:2085)*
    * at java.awt.Window.dispatchEventImpl(Window.java:2478)*
    * at java.awt.Component.dispatchEvent(Component.java:4460)*
    * at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)*
    * at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)*
    * at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)*
    * at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)*
    * at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)*
    * at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)*
    * at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)*
    Caused by: oracle.portlet.client.persistence.PersistenceException: Error creating MDS MO : typeName=wsrpProducer mdsId=/oracle/adf/portlet/Products.pxml
    * at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.create(MDSPersistenceContext.java:576)*
    * at oracle.portlet.client.beanimpl.persistence.PersistenceBeanFactory.create(PersistenceBeanFactory.java:213)*
    * at oracle.portlet.client.beanimpl.persistence.PersistenceBeanContext.create(PersistenceBeanContext.java:98)*
    * at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.newProducer(WSRPClientImpl.java:3395)*
    * at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.register(WSRPClientImpl.java:155)*
    * at oracle.portlet.client.techimpl.wsrp.WSRPClientImpl.createProducer(WSRPClientImpl.java:3155)*
    * at oracle.portlet.client.containerimpl.wsrp.WSRPProducerFactoryImpl._createProducer(WSRPProducerFactoryImpl.java:130)*
    * at oracle.portlet.client.containerimpl.wsrp.WSRPProducerFactoryImpl.createProducer(WSRPProducerFactoryImpl.java:107)*
    * at oracle.adfinternal.model.portlet.manager.PortletProviderManager.registerWSRPProducer(PortletProviderManager.java:1976)*
    * ... 38 more*
    Caused by: oracle.mds.exception.ReadOnlyStoreException: MDS-01273: The operation on the resource /oracle/adf/portlet/Products.pxml failed because source metadata store mapped to the namespace / BASE DEFAULT is read only.
    * at oracle.mds.core.MDSSession.checkAndSetWriteStoreInUse(MDSSession.java:2211)*
    * at oracle.mds.core.MDSSession.createMetadataObject(MDSSession.java:478)*
    * at oracle.portlet.client.persistenceimpl.mds.MDSSessionWrapper.createMetadataObject(MDSSessionWrapper.java:227)*
    * at oracle.portlet.client.persistenceimpl.mds.MDSPersistenceContext.create(MDSPersistenceContext.java:572)*
    * ... 46 more*
    Please help!!!

    sorry for the late reply. Yes I have checked all and see everything is fine there. Still not sure what cause this.
    I have now installed 11.1.1.4.0, which is working fine.
    --VipC                                                                                                                                                                                                                                                                                                                                                                               

Maybe you are looking for

  • Creating a where clause in the LOV query box

    Hi guys is any able to help me with this one i have a page in my app where there is a LOV drop down now the values for this drop down comes from a table that looks like this users_for _form_TBL E_MAIL Vendor [email protected] oracle [email protected]

  • Has anyone else out there experienced this?

    Hello All, I was just wandering if anyone else has experienced this. Day one of owning my new 20" iMac Core Duo everything is going just fine, I am really liking it. Then I notice something strange. When scrolling though my start page right dead cent

  • MR21 - Is there configuration for the screen layout?

    We want to make the Reference and Document Header Text fields in MR21 mandatory.  Is there anywhere in configuration that this can be accomplished?  We've looked everywhere...

  • Please help update issue

    I updated my iphone 3g and now itunes is saying that it's restoring iphone software it's now been doing this for about 5 hours and i'm not even half way through is this normal? someone please help thanks

  • Flash Download File will not open - Multiple tries

    Hello Folks, I've searched this site high and low and haven't found a solution to my problem. Trying to Download the newest version of Flash. My Vista(64bit) system shows it as a "File" that's 2,089KB in the downloads list. If I click on the file as