Images not visible in Web Dynpro

Hi All,
I am trying to show pictures from KM in a Web Dynpro for Java application but I have some issues with some pictures created and modified in Macintosh.
Pictures/images created in Adobe Photoshop CS2 Macintoch are not visible.
Any idea?
Regards,
Ridouan

Hi Armin,
The format is 240 by 340 px, the size is 85kb.
The browser is displaying the images correctly and I can't open the images with MS Paint.
I am using Windows viewer to view these images.
The URL is correct as I have other images (not created in Macintoch) and Web Dynpro is displaying these images just fine. The size is here 10KB.
If I place a link to the image then it will be displayed but not with the KM code.
wdContext.currentContextElement().setImage("/irj/go/km/docs/documents/Telefoongids/"  + klaccount + ".jpg");
IPublicTelGidController.IDetailsElement details = wdContext.currentDetailsElement();
          String klaccount = wdContext.currentDetailsElement().getKlaccount();
          String foto_ok = wdContext.currentDetailsElement().getFoto_Ok();
          String manager = wdContext.currentDetailsElement().getManager();
          if (foto_ok.equals("X") && manager.equals("X")){
               IWDClientUser wdClientUser = WDClientUser.getCurrentUser();
               IUser sapUser = wdClientUser.getSAPUser();
               com.sapportals.portal.security.usermanagement.IUser ep5User = WPUMFactory.getUserFactory().getEP5User(sapUser);
               //Getting the Resource...
               IResourceContext resourseContext = new ResourceContext(ep5User);
               IResourceFactory resourseFactory = ResourceFactory.getInstance();
               String path = "/documents/Telefoongids/" + klaccount + ".jpg";
               RID pathRIDimg = RID.getRID(path);
               com.sapportals.wcm.repository.IResource resourceimg =
               resourseFactory.getResource(pathRIDimg, resourseContext);
               //Reading the image file...
               BufferedInputStream bufIn =
               new BufferedInputStream(resourceimg.getContent().getInputStream());
               byte[] imagebyte = new byte[bufIn.available()];
               bufIn.read(imagebyte);
               //Mapping the image as a WebResourceu2026.
               //IWDWebResource webResource = WDWebResource.getWebResource(imagebyte,WDWebResourceType.GIF_IMAGE);
               IWDWebResource webResource = WDWebResource.getWebResource(imagebyte,WDWebResourceType.JPG_IMAGE);
               wdContext.currentContextElement().setImage(webResource.getURL());
            else{
                 wdContext.currentContextElement().setImage("");
            catch (Exception e)
            e.printStackTrace();

Similar Messages

  • Columns not visible in Web dynpro ALV

    Dear Experts,
    I m having a dynamic alv display based on the Input values.
    I wrote code on method "On Action"(My action name) for dynamic alv and comp table is also filling but it is displaying 'No Columns are visible'.
    Please help to solve this ...
    Regards,
    Zakir Appas A

    Hi,
    Are you using method cl_abap_structdescr=>create to create dynamic structure and creating node dynamic too?
    I have same problem, because I forgot to bind table.
    regards

  • Error Your browser/program is not supported by Web Dynpro

    Hi,
    1. I am getting error "Your browser/program is not supported by Web Dynpro" while executing Web dynpro java application
    2. Portal is EP 7.0 with SP15
    3. Browser is IE 8.0
    4. Which browser(s) (& sp level)  are supported by web dynpro?
    5. Is it possible to customize this error message?
    6. If so, from where (Web dynpro java application or Visual Admin) 
    7. My web dynpro application supports multiple languages.
    8. Is it possible to maintain this message in messagecomponent.xlf file
    Thanks & regards,
    Nilesh

    Hi Nilesh
    IE8 and IE7 is not supported.
    For browser/program is not supported by Web Dynpro----
    check this forums link
    /message/6416540#6416540 [original link is broken]
    /message/2842083#2842083 [original link is broken]
    Re: browser/program is not supported by Web Dynpro!
    Hope this link information will help you
    Regards
    Ruturaj

  • I can't get on my husbands work place to get his pay stub.It says not supported by web Dynpro.I could before i down loaded updated firefox.How do i get it again?

    This started after i down loaded new firefox.last week.I didn't have any problem before that.It won't bring it up period.It just says your browser not supported by web Dynpro.

    Web Dynpro hasn't updated their app to work with Firefox 4.0.x yet I'm afraid.
    You'll have to consider downgrading to the previous secure version if you can't live without it. If that's what you want to do, follow these steps.<br><br>
    #Go to [http://www.mozilla.com/en-US/firefox/all-older.html Download Firefox v3.6.17] and download it to the desktop.<br><br>
    #Then go to Add/Remove Programs, scroll down to "Mozilla Firefox" and remove it, choosing to keep your bookmarks, customizations etc., (''don't checkmark the box'').<br><br>
    #Then reboot and delete the folder called "Mozilla Firefox" at this location: C:\Program Files\Mozilla Firefox<br><br>
    #Finally run the installation file you downloaded to the desktop earlier.<br>
    Your bookmarks, customizations etc., are maintained in a different location and will become available to you again once you complete the installation.<br><br>
    After you complete the installation, go to the [http://www.mozilla.com/en-US/plugincheck/ Plugins Check] page and update where necessary.

  • WHAT THE MEANING OF THIS LINE Sorry, your browser/program is not supported by Web Dynpro

    Sorry, your browser/program is not supported by Web Dynpro pls tell me whats the meaning of above line

    You might try spoofing '''IE7''' User Agent strings to make a wepage or web-based application "think" you're running IE7.
    * https://addons.mozilla.org/en-US/firefox/addon/user-agent-switcher/

  • I've gotten the message Sorry, your browser/program is not supported by Web Dynpro! I'm using Windows 9

    I attempted to open up a program, it seemed to open fine until I tried to click on the tabs to view specific information & that is when I received the message that my browser/program is not supported by Web Dynpro. I checked the website for Web Dynpro but their downloads only cover Windows 8.

    There is no Windows 9 as Windows 8 is still in Beta testing and not out until 2012.
    There is Internet Explorer 9 (IE9) browser and you appear to be using Windows 7.
    Perhaps the 8 is for the IE8 browser.
    Perhaps the unnamed download you are referring to from Web Dynpro is only for IE.

  • What to when my browser/program is not supported by Web dynpro

    when i tried to open a link in the website i am using I get
    this message : your browser/program is not supported by
    Web dynpro - this happened after I updated firefox today -
    what to do ???

    Did this start when you installed Firefox 4?? Many web applications use browser version numbers for compatibility checks. Even if they actually would run just fine in a newer version. I suggest checking with your internal IT on whether this is a known issue for that application.
    If the site previously worked with Firefox 4, maybe they changed something, or maybe you installed a new add-on that is causing a conflict?

  • IP: Sorry, your browser/program is not supported by Web Dynpro!

    Hi guru,
    I want to make an Integrated Planning design.
    When I execute transaction RSPLAN and  I click on "Start Modeler" , I am receiving following msg :  "Sorry, your browser/program is not supported by Web Dynpro! "
    Please can you tell me what is wrong as I am new in IP modeling ?
    I am using IE 8
    Thansks in advance
    Edited by: Firmin Kouassi on Nov 27, 2009 1:33 AM

    Hello
    Go to http://service.sap.com/pam and click on "SAP NetWeaver 7.0". There is a powerpoint with all supported versions.
    Your system should be on SPS20 to use IE8.
    Regards
    Lucimar

  • I am getting message "Sorry, your browser/program is not supported by Web Dynpro! " Please provide the solution

    I am getting following message displayed, for one of the website.
    "Sorry, your browser/program is not supported by Web Dynpro! "
    Please provide the solution
    Regards
    Rajesh R Rakesh

    Use a browser that is supported.

  • IE 9 in EP 7.00 SP24 - Your browser is not supported by Web Dynpro

    Hi Experts,
    We have implemented in our Portal the SP24, and according to PAM ( http://service.sap.com/pam ), the latest version of Internet Explorer, IE9 should be available. Here is a quote about the system information in the administration page of our Portal where is it possible to see that the SP is fully implemented:
    Software  Components
    Name                                 Version                                                                                Applied 
    sap.com/SAP-JEECOR       7.00 SP24 (1000.7.00.24.0.20110405094932)                           20110805185504 
    sap.com/SAP-JEE              7.00 SP24 (1000.7.00.24.0.20110405094838)                           20110805212442
    Although the SP24 is implemented, we still receive the following message when we acces to a Web Dynpro for Java App:
    Sorry, your browser/program is not supported by Web Dynpro!
    Does anybody knows whats wrong?
    Thanks!
    Regards.

    Hi Nicolas,
    What version of IE9 are you using?
    According to SAP Note 1599159 https://service.sap.com/sap/support/notes/1599159 the following restrictions apply:
    1. At the moment the 64bit version of IE9 is not supported.
    2. The new "Quirks Mode Emulation" is not supported at this time. Further details are available in note 1590563.
    Also, in the same note, it states:
    When attempting to display a web dynpro application in IE9, the following message may be outputted:
    "Sorry, your browser/program is not supported by Web Dynpro!"
    Additional details regarding this issue can be found in note 1347768.
    ...however, note 1347768 seems to apply to IE8 only, but might be of help for your case as well
    Hope this helps!
    Robin

  • This browser shows-not supported by web dynpro when open selfcare.ndc.bsnl.co.in

    ''dupe of https://support.mozilla.org/en-US/questions/916084''
    when i open 'selfcare.ndc.bsnl.co.in to check my account usages,on screen appears 'your browser/programme is not supported by Web Dynpro.

    I have downloaded firefox 10 version but my problem is not solved.After browsing selfcare.ndc.bsnl.co.in, a page welcome to customer care portal opens. After login this page with user ID and password another page of sap netweaver portal opens.On this page a message appears,"Your browser/programme is not supported by Web Dynpro".While Safari Browser opens account usage,My services etc. onthis page.

  • SP 2010 Publishing - Rollup and Page Images not visible when entering page edit mode

    All:
    Hello, I have an odd issue recently appearing after installation of FEB 2013 CU install. When users select to Edit a Publishing Page the Rollup Image and also Page Image(Article Page Layout) are not visible. Only the "Click here to insert Image from
    SharePoint" link is visible.
    The issue has be confirmed in 5 servers across two farms
    DEV, QA, and PROD on client recently updated
    DEV and PROD in a completely separate client farm
    I have confirmed the issue does not exist in two separate farms running April 2012 CU. In both of those environments the image appears with issue even in Edit page mode.
    In the farms where the issue exists you can click the insert image link and simply hit OK to see the image again. An easy enough work around for tech savvy but my client's content admins are very confused/frustrated by.
    Is this a bug? I have confirmed in two separate farms including brand new web applications using out of the box publishing site templates.

    Hi.
    We have been facing the same issue in a 2013-environment (SP1), but in this case an upgraded 2010 Solution, which still runs in 2010-mode. Because of this, SharePoint still use resource-files in the 14-hive (as we have not performed an upgrade of Master
    Pages etc.) The problem is also reproduced on a clean 2010 Site Collection in the same 2013-environment.
    I have managed to find the cause of the problem (at least in our environment), and that is that as long as the selected picture/image has
    not defined an "AltText"/"Alternate Text" the problem seems to occur.
    In other words, try to define an Alternate Text and click OK in the "Edit Image Properties" Dialog.
    I don't know if this may be the case for everyone else, but give it a try.
    From this, I've further discovered (after hours of js-debugging) that there is a minor change (from 2010 to 2013) in a js-file called "SelectorControls.js" which is responsible for updating the various controls used in Page Layouts etc.
    The problem exist in a method called ASO_UpdateButtonsAndPanels(), which checks whether the Image Control in question has content or not (Url). The local variable "hasContent" is then determined of an if statement, if(this.AssetData.ManageLinkDisplayText)
    which in 2010 (14-hive) seems to be "true" regardless whether the Control is of type Image or Hyperlink. Further the code checks for AssetText (Alternate Text) which on an Image may be left empty.
    In 2013 (15-hive) however, this if statement has been changed to, if(this.SelectorType==ConstLinkSelectorType), which clearly states "Image" or "Link" depending on the type of control.
    I don't know if this is the cause of the problem in 2013, but in 2010 it seems to be exactly that.
    Pending a solution from Microsoft, we have modified SelectorControls.js to overcome this issue until the customer decides to do a Visual Upgrade to 2013.
    This is by all means not a supported nor a a permanent solution to the problem, as future Hotfixes, Service Pack etc. may "reset" our fix.
    Below is a copy of the working solution:
    function ASO_UpdateButtonsAndPanels()
    {ULSuBa:;
    var hasContent=!!this.AssetData.AssetUrl;
    //SharePoint 2010: ManageLinkDisplayText is always "True"
    //var hasContent=!!this.AssetData.AssetUrl;
    //if(this.AssetData.ManageLinkDisplayText)
    //hasContent=hasContent && !!this.AssetData.AssetText;
    //SharePoint 2013
    //var a=!!this.AssetData.AssetUrl;
    //if(this.SelectorType==ConstLinkSelectorType) a = a && !!this.AssetData.AssetText;
    //Fix for preventing existing selected image to disappear when saving page and/or editing a page with existing image.
    if(this.SelectorType!=ConstImageSelectorType)
    if(this.AssetData.ManageLinkDisplayText)
    hasContent=hasContent && !!this.AssetData.AssetText;
    if( hasContent )
    if (this.ClearAssetButton !=null)
    this.ClearAssetButton.EnableButton();
    this.GetAssetSelectedPanel().style.display="inline";
    this.GetEmptyPanel().style.display="none";
    else
    if (this.ClearAssetButton !=null)
    this.ClearAssetButton.DisableButton();
    this.GetAssetSelectedPanel().style.display="none";
    this.GetEmptyPanel().style.display="inline";
    I hope this helps anyone else struggling with the same problem.
    Thanks!
    Øyvind

  • Absolute URL IMAGE UI control in Web Dynpro ABAP fails

    I would like to display a .jpg from the Internet, either using a URL or an RFC Destination as the source.
    The "Web Dynpro ABAP Development in Detail" manual says that this can be done using only the Source attribute of the IMAGE UI control (see page 114) - that is,
       create an RFC Destination G-HTTP entry for the URL,
       type in that RFC Destination as $NAME$
       append any further extension of the URL as "/path in lower letters"
    I can enter an RFC Destination (ex., $UBERORBS$) which points directly to a single image file via its host/path and it is displayed in SE80's Layout Preview, but nothing displays at runtime.
    If I try to extend an RFC Destination's path to point to that image file (ex., $UBERORBS_BASE$/uberorbs_44pence.jpg), the image is also displayed in the Layout Preview, but not at runtime.
    Is this a bug?  or something wrong with our implementation?  We are at SAP_BASIS 700 level 0006.
    (Also, if the Source entry is not exactly correct, SE80 aborts following the entry with STRING_OFFSET_NEGATIVE.)

    Here's another piece of information.
    I am able to use the test app WDR_TEST_UI_ELEMENTS to display at runtime the $UBERORBS$ RFC Destination-absolute URL image.
    So, does this mean that there is a critical setting within my Web Dynpro component which must be set properly to permit this?

  • Controlling visibility of Web Dynpro Java iView in portal WDJ page

    I should be able to use the WDPortalUtils interface in my Web Dynpro Java DC application to get the name of the iView in my Portal WDJ page using IWDPageService method getVisibleIViews(). My intent is to add another iView to this page and programmatically control the visibility of each iView from my WDJ application.
    -> Instructions I have found through my online research indicate I should not have to specify a sharing reference because I am using the WDJ framework, but I tried it anyway. It didn't work.
    -> I have added DC epbc.prtapi._api public part to my used DC's, and specified dependency at both Build time and Run time.
    -> My portal page template is of type Web Dynpro Proxy Page.
    -> My iView template is of type Web Dynpro Proxy iView.
    -> The Page Content view of my page shows the 'visible' checkbox set for my iView.
    The following statements in the wdDoInit() method of my DC's view controller should return the portal name of my iView:
    IWDPageService pageService = (IWDPageService) WDPortalUtils.getService(WDPortalServiceType.PAGE_SERVICE);
    String[] iViews = pageService.getVisibleIViews();
    I get no compile time errors or runtime errors when I execute these statements.
    BUT...
    Instead of a String array, I get back a memory space pointer.
    Example: [Ljava.lang.String;@664e664e
    What am I missing?

    Hi Jennifer,
    That's what this forum is all about; finding solutions to hard-to-solve issues, which might also help someone who may face the same issue in the future. So I hope my input is valuable
    The last thing I can think of is the method is been called before the portal page has been rendered completely, which may lead to the faulty results.
    Is it possible to move the getVisibleIviews() to a method which is called later in the phase (for instance, at the bottom of wdDoModify or wdDoPostProcessing) or, even better, in an onAction event handler when a button is clicked?
    If this doesn't work I'm afraid I'm running out of options and i would file an OSS message with SAP
    Hope this helps!
    Robin

  • Flash file not visible in web page

    Hello,
    I'm Udayakumar from chennai (India). I created some flash
    files and uploaded in web site. That are working properly in India
    only. But not visible in other countries. What's the problem? I'm
    exporting in swf format with following settings.
    Version - Flash player 8, Loard orfer - bottom up,
    Actionscript version - actionscript 2.0, options - compress movie,
    local play back security - local files only.
    And I'm inserting the swf files in html pages using plugin
    commands. (ie)
    <embed width="100" height="100" src="images/x.swf"
    menu="false">
    So I can't able to understand, why was the flash files are
    not visible in other countries?
    Pls explain me......
    My email id - [email protected], [email protected]
    Thanks & Regards
    P. Udayakumar

    You will need the following in your HTML (with modifications
    to target your document) ...
    <!--url's used in the movie-->
    <!--text used in the movie-->
    <!-- saved from url=(0013)about:internet -->
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="
    http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0"
    width="pudaya enter your document width here" height="pudaya enter
    your document height here" id="pudaya enter swf file name here
    (without ".swf" extension)" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="pudaya enter swf file name here
    WITH ".swf" extension" /><param name="quality" value="high"
    /><param name="scale" value="noborder" /><param
    name="bgcolor" value="#pudaya enter background color as hexidecimal
    here" /><embed src="pudaya enter swf file name here WITH
    ".swf" extension" quality="high" scale="noborder" bgcolor="#pudaya
    enter background color as hexidecimal here" width="pudaya enter
    your document width here" height="pudaya enter your document height
    here" name="pudaya enter swf file name here (without ".swf"
    extension)" align="middle" allowScriptAccess="sameDomain"
    type="application/x-shockwave-flash" pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    All of the above will be generated with all values in place
    using the "Publish Settings" function in Flash if you check HTML as
    one of the export settings.

Maybe you are looking for

  • Data quality report under management consol

    I am using BO DS 4. and trying to use the data quality report under management consol. For me these reports are getting generated for every run of the address cleanse Job. Is it possible to get a consolidated report for a day of the Job rather then f

  • No Values available or not authorized to display

    No Values available or not authorized to display.I have a profit center is a selection parameter in the report.I am not able to select anything in the selection. I am getting the message" No Values available or not authorized to display". Please help

  • Error in Getting Database Connection from datasource

    Hi, I am getting the following error when I tried to get the connection from the datasource object. The call is made by the client proxy and the code is getting executed on the server side.    InitialContext ic = new InitialContext();    DataSource o

  • Extended display option

    i have an ATY, rage128pro graphics card in my powermacG4 i have a modest home audio studio. i am looking for a graphics card that supports extended display so i can run two monitors while i edit. i am not a gamer so i don't need something really powe

  • A660-BT2G2​2 Windows will not boot or repair

    The laptop is running windows 7 professional 64 bit. It locked up frequently and required a crash (holding down power button) finally it wouldn't boot at all. I ran the Windows recovery about 5 times and it said it could not repair windows. I tried b