IMAGES in WEB DEPLOYNMENT

Hi all,
I have a problem concerning images when my forms are put on the web.
Configuration:
FORMS 5.0.6.8.0
=> Java Client is in f50all.jar
=> Forms Server is f50srv32.exe
ORACLE DB: 8.0.5.00
NETSCAPE 4.08 or IE 5.50
I have forms that have images as GRAPHICAL OBJECTS and/or IMAGE ITEMS in it
If I open the forms normally in runtime I have no problems.
As soon as I try to open them in NETSCAPE BROWSER
I get message like this:
FRM-9999 Network Error ....
Java Exception: Null Pointer Exception ...
at Sun.awt.SunTollkit.getImageFromHash(Compiled Code)
at Sun.awt.SunTollkit.getImage(Compiled Code)
when I open the form in BROWSER IE
I get the form but with the IMAGES crashed.
where is the problem ?
shall I upgrade the BROWSER or is there a possible trick in settings of the FORMS server.
thanks, any help appreciated.
-Duro
PS Otherwise I must make 2 sets of forms, one for normal use and one for web.
null

Your image must be in GIF format to display them on the WEB: convert !!!
To check the running enviroment (on windows platforms) and load the image in container fileds you can use the following statement:
IF get_application_property(USER_INTERFACE) != 'WEB' THEN
READ_IMAGE_FILE(...);
null

Similar Messages

  • Getting out of memory exception while loading images in web browser control one by one in windows phone 8 silverlight application?

    Hi, 
    I am developing a windows phone 8 silver light application . 
    In my app I am displaying images in web browser control one by one , those images are the web links , the problem is after displaying 2 to 3 images I am getting out of memory exception .
    I searched for this exception how to over come , everybody are saying memory profiling ,..etc but really I dont know how to release the memory and how to clear the memory .
    In some sites they are adding this
    <FunctionalCapabilities>
    <FunctionalCapability Name="ID_FUNCCAP_EXTEND_MEM"/>
    </FunctionalCapabilities>
    by doing this am I free from out of memory exception?
    Any help ,
    Thanks...
    Suresh.M

    string HtmlString = "<!DOCTYPE html><html><head><meta name='viewport' content='width=device-width,initial-scale=1.0, user-scalable=yes' /></head>";
    HtmlString = HtmlString + "<body>";
    HtmlString = HtmlString + "<img src=" + source +" />";
    HtmlString = HtmlString + "</body></html>";
    innerpagebrowser.NavigateToString(HtmlString);
    that image source is the web link for example www.sss.com/files/xxx/123.jpg .
    Note this link is not real this is sample and image is of size 2071X3097
    Suresh.M

  • Saving two dimensions od image for web

    Hi there,
    I have made script (with your help ) to export images for web with dimensions 300x300 px. Now I want that my script do one more resize of that files so that i get two files one 300x300 and another 66x66 px. I will post my script and ask you to hel me find the bug
    And one more question. My script exports file name + jpg but it also keeps orginal extension so I get ie. FileName.psd.jpg
    can you help me fixing this in my script... else is fine...
    thank you,
    Voah
    Edit:
    In the meen time I managed to resolve the problem so here is the new script
    But I have one more thing I would like to do. I have to manually make folder "300x300 and "66x66" or my script stops. How coud I make that script make that folders? (under inputFolder/300x300/ and inputFolder/66x66/)
    // Save current dialog preferences
    var startDisplayDialogs = app.displayDialogs;    
    // Save current unit preferences
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PIXELS;
    var inputFolder = Folder.selectDialog("Select the input folder");
    //var outputFolder = Folder.selectDialog("Select the output folder");
    ProcessImages();
    function ProcessImages() {
      var filesOpened = 0;
    //   if ( inputFolder == null || outputFolder == null)
         if ( inputFolder == null) {
                alert("No source folder selected");
    //     if ( outputFolder == null) {
    //       alert("No output folder selected");
    //else{
      var fileList = inputFolder.getFiles();
      for ( var i = 0; i < fileList.length; i++ ) {
           if ( fileList[i] instanceof File && ! fileList[i].hidden) {
                     open( fileList[i] );
                     ResizeImage();
                     filesOpened++;
      return filesOpened;
    function ExportPng(filePrefix, fileSuffix){
    try
    var docRef = app.activeDocument;
    var docName = app.activeDocument.name.slice(0,-4);
    var saveOptions = new ExportOptionsSaveForWeb();
    saveOptions.quality = 70;
    saveOptions.format = SaveDocumentType.JPEG;
    saveOptions.optimized = true;
    docRef.exportDocument(File(app.activeDocument.path+'/300x300//'+docName+'.jpg'), ExportType.SAVEFORWEB, saveOptions);
    catch (e)
    alert("Error encountered when attempting to save the image. \r\r" + e);
    return;
    // funkcija export 2
    function ExportPng2(filePrefix, fileSuffix){
    try
    var docRef = app.activeDocument;
    var docName = app.activeDocument.name.slice(0,-4);
    var saveOptions = new ExportOptionsSaveForWeb();
    saveOptions.quality = 70;
    saveOptions.format = SaveDocumentType.JPEG;
    saveOptions.optimized = true;
    docRef.exportDocument(File(app.activeDocument.path+'/66x66//'+docName+'.jpg'), ExportType.SAVEFORWEB, saveOptions);
    catch (e)
    alert("Error encountered when attempting to save the image. \r\r" + e);
    return;
    function ResizeImage()
    if (app.documents.length > 0) {
        var docRef = app.activeDocument;
        var n = docRef.pathItems.length;
            if((n>0)&&(docRef.pathItems[0].name!="Work path" ))  {
                 docRef.pathItems[0].makeSelection();
                 docRef.selection.invert();
                 docRef.selection.clear();
                 docRef.selection.deselect();
       function fitImage() {
    var docRef = app.activeDocument;
    docRef.trim()
    var docWidth = docRef.width.as("px");
    var docHeight = docRef.height.as("px");       
    if (docWidth / docHeight > 4.8)
        docRef.rotateCanvas (315)
        docRef.trim()
    else if (docHeight / docWidth > 4.8)
        docRef.rotateCanvas(45)
        docRef.trim()
    if (docWidth < docHeight)
              docRef.resizeImage(undefined, UnitValue(270,"px"), 72,  ResampleMethod.BICUBIC )
          else if (docWidth > docHeight)
                          docRef.resizeImage(UnitValue(270,"px"),undefined, 72,  ResampleMethod.BICUBIC )
          else if (docWidth == docHeight)
                    docRef.resizeImage(UnitValue(270,"px"),UnitValue(270,"px"), 72,  ResampleMethod.BICUBIC )
    docWidth = docRef.width.as("px");
    docHeight = docRef.height.as("px");       
    if (docWidth < docHeight)
                        docRef.resizeCanvas(UnitValue(300,"px"), UnitValue(300,"px"), AnchorPosition.MIDDLECENTER);
          else if (docWidth > docHeight)
                docRef.resizeCanvas(UnitValue(300,"px"), UnitValue(300,"px"), AnchorPosition.MIDDLECENTER);
          else if (docWidth == docHeight)
                docRef.resizeCanvas(UnitValue(300,"px"), UnitValue(300,"px"), AnchorPosition.MIDDLECENTER);
    var docRef = app.activeDocument;
    var savedState = docRef.activeHistoryState;
    fitImage();
    app.displayDialogs = DialogModes.NO;
    ExportPng( File( "",".jpg" ))
    docRef.resizeImage(UnitValue(66,"px"),UnitValue(66,"px"), 72,  ResampleMethod.BICUBIC );
                ExportPng2( File( "",".jpg" ))
    docRef.close(SaveOptions.DONOTSAVECHANGES);
    docRef = null;
    // Reset app preferences
    app.displayDialogs = startDisplayDialogs;
    preferences.rulerUnits = originalRulerUnits;

    Does this help?
    main();
    function main(){
    var originalRulerUnits = preferences.rulerUnits;
    preferences.rulerUnits = Units.PIXELS;
    var inputFolder = Folder.selectDialog("Select the input folder");
    if(inputFolder == null) return;
    var fileList = inputFolder.getFiles(/\.(jpg|tif|psd|png)$/i);
    var outputFolder1 = Folder(inputFolder + "/300x300");
    if(!outputFolder1.exists) outputFolder1.create();
    var outputFolder2 = Folder(inputFolder + "/66x66");
    if(!outputFolder2.exists) outputFolder2.create();
    for (var a in fileList){
    open(fileList[a]);
    var Name = decodeURI(activeDocument.name).replace(/\.[^\.]+$/, '');
    app.activeDocument.trim(TrimType.TRANSPARENT);
    FitImage(300,300);
    var saveFile = File(outputFolder1 + "/" + Name + ".jpg");
    SaveForWeb(saveFile,70);
    FitImage(66,66);
    var saveFile = File(outputFolder2 + "/" + Name + ".jpg");
    SaveForWeb(saveFile,70);
    app.activeDocument.close(SaveOptions.DONOTSAVECHANGES);
    preferences.rulerUnits = originalRulerUnits;
    function FitImage( inWidth, inHeight ) {
    var desc = new ActionDescriptor();
    var unitPixels = charIDToTypeID( '#Pxl' );
    desc.putUnitDouble( charIDToTypeID( 'Wdth' ), unitPixels, inWidth );
    desc.putUnitDouble( charIDToTypeID( 'Hght' ), unitPixels, inHeight );
    var runtimeEventID = stringIDToTypeID( "3caa3434-cb67-11d1-bc43-0060b0a13dc4" );
    executeAction( runtimeEventID, desc, DialogModes.NO );
    function SaveForWeb(saveFile,jpegQuality) {
    var sfwOptions = new ExportOptionsSaveForWeb();
       sfwOptions.format = SaveDocumentType.JPEG;
       sfwOptions.includeProfile = false;
       sfwOptions.interlaced = 0;
       sfwOptions.optimized = true;
       sfwOptions.quality = jpegQuality;
    activeDocument.exportDocument(saveFile, ExportType.SAVEFORWEB, sfwOptions);

  • How do I load an image in WEB-INF?

    How do I load an image from WEB-INF with JSP's? I'm using Glassfish and
    NB.
    Filter code:
    String path = filterConfig.getServletContext().getContextPath();
    contextPath = "http://localhost:8080" + context + path;
    String duke = contextPath + "/duke.gif";
    which results in the following html:
    <img src="http://localhost:8080/WebApplication/duke.gif">
    Which is fine, but any user gets to access that image. I want to move
    the image to WEB-INF so that it's not accessible for users.
    see also:
      NetBeans Forums - how to load an image from WEB-INF?

    No i dont think so..... I need to download the jar file through the JNLP which contains those image files.
    Only then the JNLPClassLoader returns the Image file otherwise it returns null.
    (actually i assumed, it loads all those files into it and keeps it as the Resources. I don know whether it is right or not..)
    eg., I download my img.jar in C:\Downloads using JNLPClassLoader which contains New.gif.
    getClass().getResource("New.gif") exactly returns the URL C:\Downloads\img.jar!\New.gif.
    But my ClassLoader returns null for this getClass().getResource("New.gif").
    I also tried calling getClass().getResource("C:\Downloads\img.jar!\New.gif") It simply returns null.
    Im sure that I have the Image file in that path.

  • Displaying streamed images in Web Dynpro

    Hi All,
    I have following scenario to programme.
    - The DB have "images" stored as BLOB.
    - I need to read the images (stream) and make them visible in Web Dynpro UI.
    Problem is i only one way to providing images in Web Dynpro. The images are picked from url that points to Resource either at temporary location of permanent position Sap Images pool or contribution under mimes folder.
    I see temporary location as one option here but still not able to figure out where to store it !
    Can anybody help in this.
    Thanks and Regards,
    Ashwani Kr Sharma

    Hi ,
    Use
    WDWebResource.getPublicCachedWebResource(byte[] webResource,
                                                                  WDWebResourceType resourceType,
                                                                  WDScopeType scopeType,
                                                                  WDDeployableObjectPart deployableObjectpart,
                                                                  String key)
    Regards
    Bharathwaj

  • How to get the full image directory when i upload the image to web page???

    hai, how to get the full image directory when i upload the image to web page???
    here is the example:
    <form action="uploadfile.jsp" method="post">
    image<input type="file" name="image" />
    <input type="submit" value="submit"/>
    <%
    String s=request.getParameter("image");
    %>
    <%=s%>
    </form>
    i upload the image from C:\image\center.gif. i use request.getParameter just can get the image name like "center.gif". Can anybody help me how to get the full path name. Thanks a lot..

    There is no need to get the path. It is also fairly pointless as the server cannot access the client's local file system.
    Carefully read this article how you can upload files the right way: http://balusc.blogspot.com/2007/11/multipartfilter.html

  • How to add Image to Web Document Report?

    Hi,
    I need to add Logo in my report.  Please share how to achieve this, and are there any constrains regarding picture format, or placement of the image or report transformation(to XL/PDF) or printing.
    Thanks in advance,
    -Vishi

    You simply embed the logo in your report however It does not gets exported when the report in exported in Excel but works in PDF.
    You can fine complete details and workaround for image in excel at below link.
    http://www.dallasmarks.org/blog/2009/02/tips-and-tricks-displaying-images-on-web-intelligence-reports/
    --Kuldeep

  • How to add image in web intelligence report?

    Hi All,
    I tried to add an image into web intelligence report by using the background image function available in the appearance settings. But when I tried to click on the button with ellipse, it does not show up a dialog box.
    Do I miss out anything? Help is really needed.
    Thanks
    David Yee

    Hi David,
    You can try these steps to see if the Background image dialog box is appearing for a Free Standing Cell.
    1. In Webi Java Report Panel, select Templates-> Free Standing Cells -> Formula and Text Cells-> Blank Cell
    2. Click and drag the cell in the report.
    3. Select the cell Properties
    4. Under Text Format, click on the button in the Background Image property.
    5. You can select the u201CImage from URLu201D or u201CImage from fileu201D.
    6. If you are selecting u201CImage from URLu201D, change the u201CRead cell content asu201D property to u201CImage URLu201D under Display section in the Properties Window.
    Hope this helps.

  • Put a image from web on indesign with quality problem....

    Hello,
    sorry my english, but I'll try...
    I need use a lot of images from web, to make a document designed on indesign, and after try with all extension or formats, I mean, tif, png, pdf, jpg, psd, with different resolutions, 72, 150, 300, and different bit depths, 8, 16, 32, and no way... always the image when I put on indesign the image appear pixelate or with bad quality...
    can you help me with that?
    Is urgent, because is for my thesis work...
    thank you..

    pablovenegas wrote:
    ...Now, it seems strange that in word, the images work better than indesign... The subject is that I want work with indesign, because I thought that this software was designed for this theme... and then, you think that there is not a solution for this problem?
    pablovenegas,
    Please realize that Microsoft Word is specifically designed for word processing application, while Adobe InDesign is specifically designed for high-quality professional-grade layout application –where InDesign outputs highest-quality output. I don't use Word app for years.
    To place images onto InDesign document, it is recommended that you place HIGHEST QUALITY of image - at least 300ppi. If you place 72ppi on InDesign, it is HOW you place that specific web-quality image on InDesign. InDesign didn't do anything wrong, it is HOW you put the web image on.
    Word of advice, do you have a permission to use all of those web images captures off the Internet without website owner, or any copyright owner's written permission. If you haven't done so, just stop doing what you are doing (web screen captures off these webistes for your own benefit or pleasure, but cannot use any of these images for commerical use). Just free two-cent advice. In closing, all I can say, be cautious and careful.
    Best of luck!

  • DISPLAYING IMAGES IN WEB APPLICATIONS

    When we store images in a column, we are having problems reading and displaying it on web applications.
    can somebody help?
    Thomas

    What version of Oracle do you use? What is the datatype of the column where images are stored? What are you using to read and display the images on web applications? Do you get any errors?

  • Images from web path won't show in Crystal Reports XI R2

    Hi, I have a problem with my Crystal Report XI R2. I am trying to get images from web as well as static google map using OLE object. After setting the Graphic Location. No images are shown. I am using Windows XP SP3.
    Also, I tried to create a simple report using same program and version installed in my Windows 7 Laptop. I inserted OLE object with graphic location from web like http://www.domain.com/image.jpg and it appears... same as with google static map with given latitude and longitude. And it works!
    Is there any problem with my windows XP machine? any video card issue or dot net version issue or firewall issue?
    Please help. Thanks

    To add to Don's reply. Fiddler is a great HTTP sniffing utility that should be able to tell you what is happening as far as the permissions, etc., etc.
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Which way to get image for webi report?

    Hi,
    I have to add image to webi report. So any way is there for adding image for webi intelligence.

    check this thread:
    Adding an image (logo) to webi report

  • Unable to export image from Webi to  excel.

    Hi,
    Can any one provide solution for export image from webi to excel( 3.1 & 4.0).
    Thanks,
    Praveen

    given link(https://service.sap.com/sap/support/notes/1299111) is not working.
    the above link contain
    Symptom
    Unable to Export images from a Web Intelligence report to Microsoft Excel.
    A Web Intelligence report is created using images to denote alerts. The report works OK in Web Intelligence but when exported to Microsoft Excel, the images do not display.
      Environment  
    Business Objects Enterprise XI Release 2
    Business Objects Enterprise XI 3.1
      Reproducing the Issue  
    Create a simple Web Intelligence document.
    Add a blank cell and within that cell link it to an image. (Either set as background for the cell or Image URL.)
    Save and export to Excel. The image will not be displayed.
    Cause
    Web Intelligence export engine does not support the export of images to excel.
    Resolution
    In BI4.0, Web Intelligence export engine does support the export of images to excel.
    Workaround 1 :
    Most image formats are supported in PDF export. Users may be able to use that as an alternative.
    Workaround 2 :
    If images are required in the final Excel document, the user would need to recreate those image links manually in Excel.
    Keywords
    Export , image , excel , WRC, Webi ,XIR2, XI3.1 , BI4.0
    Header Data
    Released On
    21.10.2011 14:43:35   
    Release Status
    Released to Customer   
    Component
    BI Business intelligence solutions  
    Priority
      Normal  
    Category
      Problem  
    Product
    Product
    Product Version
    SAP BusinessObjects Business Intelligence platform
    SAP BusinessObjects Enterprise XI 3.0

  • Displaying Custom images in Web Layout

    Hello all,
    Can anyone please tell tell me how to display a custom .gif image in web layout instead of the standard gif(rwbeige_logo.gif). Where do I've to store the image, for it to be detected during runtime. Thanks in advance.
    Reagards,
    Arun.V

    for where you store the image you can store it in the database table in the blob column such as. for the report layaut containing image take the following:
    - in the report layaut you can create a report selecting a table that containing the blob column.
    - in the report layaut, modify the property of the item that present the database blob column to image.
    soufiane

  • I am using CS6 and when I go to save an image for Web the image does not retain its quality

    I am using CS6 and when I go to save an image for Web the image does not retain its quality. The first week I did this it worked just fine and now the images save very pixely.
    Here is a screenshot of my image on the artboard as I am editing it
    Here is a screenshot of the image as I'm trying to save it for Web
    As you can see, the image becomes pixely. I have tried to save it as every type of png and jpeg but nothing seems to work. I have no idea why it has started to do this. Please help!

    Change None to Art optimized then click apply(alteast in CS5 there was an apply, believe they removed that in CS6 as so many people missed that part).

Maybe you are looking for

  • How i got PE8 and windows 7 64 bit to work for me

    First off, i have an ati video card, so if your issue is with your nvidia card there is help in the link i'm going to point you to, but i didn't have to try that out. When i would run pe8 on windows 7 64 the display wouldn't work at all, and the prog

  • Web gallery error help

    Hello all: I have a friend running PSCS3. on a macbook pro laptop. When he goes to builkd a web gallery and chooses the images, he creates a folder on the desktop and names it (not the same name as the source folder). When h clicks ok he gets an erro

  • Still images too pixelated

    hi need help with still images looked great in the viewer ,but in timeline and canvas they look too pixelated and poor quality, any ideas as to what i am doing wrong any advice ealy appreciate thankyou simon

  • Data Execution Prevention on Twain Network Scanner

    Hello users I try to scan with a Twain driver to a Lanier scanner. The driver supports Vista. Scanning used to work perfectly on XP. Now under Vista I get the Data Execution Prevention (DEP) message which shuts down the Acrobat 9.0.0 Pro. Scanning wi

  • Can PhotoShop Elements 11 save Organizer Albums in a format PE Version 8 can open/use?

    I haven't found much info on how the Organizer function in PhotoShop Elements has changed from version 8 to version 11.  I've started scanning some photos into PSE8's Organizer, and it works well, but I'm considering moving up to version 11 before do