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

Similar Messages

  • ITunes does not display my feed image as defined in the itunes:image tag

    I set up a feed using a custom PHP script I wrote. This script creates an rss file that I will submit to apple once I have everything ironed out. right now the only thing left to fix is the missing feed image. I checked the xml and for the image I have:
    *<itunes:image href="http://www.roaringbrookbaptistchurch.org/podcasts/feed/images/feedIcon.jp g" />*
    I checked the image in a browser and it indeed exists and displays as expected, this is a test image not the final one. It is a 600x600 jpg. I am previewing my podcast in itunes using a direct link to this rss file.
    Why is my image not showing up? I get some other image, not sure where it comes from, instead.

    When you subscribe to a podcast feed, either from the Store or - as I assume you have done - from the 'Advanced' menu, the image referred to in that tag is not displayed. The images which are seen on selecting each episode have to be embedded in the actual media file: please see this page -
    http://homepage.mac.com/rfwilmut/notes/faq.html#coverart
    You will not see the image referenced in the feed until the podcast is actually accepted and shows in the Store.

  • How to get the image stored in archieve link as an attachment in work item.

    Hi All,
    through transaction OAWD we are storing scanned images.
    Once this transaction is executed a workitem appears in the inbox of the initiator with the scanned invoice as attachment.
    When the user executes the work item FV60 screen is displayed where the user enters the data based on the scanned invoice attachment.
    After the user Parks the document the custom workflow triggers and a workitem appears in the inbox of an approver.
    Our requirement is that the scanned image should also appear as the attachment.
    Can you please suggest how to get the image stored in archieve link as an attachment in work item.
    Regards
    Shraddha

    Hi Martin,
    with every parked document a scanned image is linked.
    I need to create a link under objects and attachments in the work item, such that when the user clicks that link the image is displayed.
    At present the following functionality is available.
    The BO used is FIPP
    Objects and attachments:
    parkeddocument:AK0108500001252008.(via FIPP binding with WIOBJECT_ID)
    On clicking the link below objects and attachments: the parked document AK0108500001252008 opens in display mode.
    Now we want to have 2 links:
    parkeddocument:AK0108500001252008.
    image.
    When we click on the link image then the scanned invoice linked to the document should get opened.
    I am able to get the image id of the the image through  SAP_WAPI_GET__OBJECTS,
    export parameter leading_object provides the detail.
    But I am not able to figure out how to use it in my workflow to display it as an attachment.
    Hope this will give a better understanding of my question.
    can you please suggest as to how I should proceed with it.

  • Safari not displaying web site image

    I have a website that is suddenly not displaying the header image in Safari and IE5.2.
    I have my suspicions that it is due to a JavaScript from Google to run their Analytics programme which I installed a few days ago, (and will shortly remove it to confirm the suspicion or otherwise.)
    But first I wish to check if other people are experiencing the same problem, or if it is localized to my computer. (Need to be able to inform Google if their script is the fault and affects all Safari users or only some versions. So please check the site and report results here, including your Safari version. Mine is Safari 1.3.2 (v312.6) and Internet Explorer 5.2 for Mac.
    The site is http://www.paintmaking.com
    What I see in Firefox, Netscape, Opera, and Camino is a flash title over a colored background with a photo.
    Thats what I saw in Safari until recently too. But suddenly all I now see in Safari and IE is the flash title over a gray background, no photo, and above the menu bar a very thin strip of color (about 1mm, 1/16in). The sidebar images are unaffected (and those images at the side work fine in all the browsers), it is just the header.
    Can you please tell me what you see and the browser version?
    Tony

    Thank you to everyone who has reported what you are seeing on my website. Now I need some help to troubleshoot the problem. So far I am confused as to where the problem lays let alone what the problem might be.
    I need guidance as I am running out of ideas for troubleshooting. Are there any files that I should try trashing?
    Could the problem lie in my Flash player perhaps (how do I test this?
    Updates:
    I can see only a gray color behind my flash title on http://www.paintmaking.com in Safari 1.3.2 (v312.6) and Internet Explorer 5.2.3 (5815.1). What should be there is a colored header image.
    I have established that other people can see the image correctly, including on the same builds of Safari and IE and on the same OS (10.3.9). An exception is someone using Shiira who can only see gray in Shiira, but sees colors in other browsers including Safari.
    On my computer Netscape 7.2, Firefox, Mozilla, Opera and Camino can all see the image correctly.
    Safari and IE have the same problem displaying the image on all the accounts on my eMac.
    I have: cleared cache with no improvement, checked Safari Preferences (Java enabled, JavaScript enabled, and 'display images as pages open' is checked.
    I have removed the software that I installed recently. (MacTracker)
    I have removed a piece of JavaScript added recently (from Google to facilitate their Analytics programme)
    The only major thing I have done lately that is out of the ordinary is to Clone my OS X hard drive to an external drive using SuperDuper.
    I don't seem to be having problems with other websites.
    So how can this be? If the problem is in my computer why only the one site affected? (I checked several sites) Yet if the problem is with the site then why can other people see the site correctly?
    (A very puzzled) Tony.
    eMac + iBook 12 inch (10.3.9 on both)   Mac OS X (10.3.9)   PowerPC G4 1 GHz 1 GB SDRAM + (iBook) PowerPC G3 500 MHz 384 MHz SDRAM

  • Indesign CC does not display linked PDF image on screen

    On Mac1 (10.6.8) When I imported a PDF file into Indesign CC 9.1 as a linked image - the image would come in as usual, however the image would not appear on my screen. Only a blank page box.
    I can see the thumbnail image of the imported PDF in the links palette correctly.
    However, on my page it appears as a blank box.
    Selected Hi-res preview, and still it appears as a blank box.
    I export to PDF, and the image is there as it should be on the exported PDF.
    I tried the same image on Mac2 (10.8.3) with Indesign CC.
    The imported image appears correctly on the page. (no blank box)
    I saved that file and opened it on Mac1 that is having the problem displaying the image.
    Mac1 again does not display the image, instead it is a blank box.
    Tried the same image import in Cs6. No issue on either mac1 or mac2
    What could be causing the imported PDF not to display on the page in Indesign CC?
    Has anyone else come across this problem?

    Hi
    Are you still facing the same issue ?
    Please refer to these threads for steps that you can try :
    Edge Animation not working properly
    Edge Animate not working in Muse Browser Preview, But works in Edge Preview
    http://tv.adobe.com/watch/learn-adobe-muse-cc/integrating-adobe-edge-animate-graphics/
    Thanks,
    Sanjit

  • Some PDF files and other emails do not display the whole page. Is there a way to change that?

    Some PDF files and other emails do not display the whole page. Is there a way to change that?

    If an app does not behave as expected, try closing the app completely and reboot the iPad. It appears as though you have the original iPad. It helps if you list your iPad model and the iOS that you are running.
    Tap the home button once. Then tap the home button twice and the recents tray will appear at the bottom of the screen. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner of the app that you want to close. Tap the home button twice.
    Reboot the iPad by holding down on the sleep and home buttons at the same time for about 10-15 seconds until the Apple Logo appears - ignore the red slider if it appears on the screen - let go of the buttons. Let the iPad start up.

  • Thumbnail not displaying when attaching image to email

    Suddenly my Mac is not displaying a thumbnail image when I go to attach an image to an email. I have fixed permissions, restarted and relaunched Finder, but it's still not displaying. I've also unchecked and rechecked "show icon preview" in View Option while in the Finder. Anyone know any solutions?

    Couple of ideas...
    • After you have attached the image and it is showing in the email, right-click or Control-click the displayed image. From the menu that appears, select "View as icon". Then send it as a test.
    • Once the image has been attached, fiddle with the Image Size dropmenu choices - this dropmenu is located in the lower right corner of the New Message window after adding the image.

  • Acrobat Pro XI v.11.0.06 - PDF created by Microstation Print Organizer - Windows 7 -  Printing shaded squares on top of shaded building and not displayed on screen, only displays on paper when printing

    I have attached an image of the sheet to show the areas that are shaded. The building is supposed to be shaded, however the two squares within are not. These squares are not in the file converted to pdf and do not display on screen when viewing the pdf. Also there are several sheets in the set with shaded buildings and only two of the buildings have this issue. Any help with this would be greatly appreciated.

    I'm seeing this same problem happen on multiple platforms here in the office. Every time this happens, the screen view does not show these shapes. I have been seeing the same problem except linework will be missing in one of these square shapes as well. Please give feedback if anyone knows what causes this problem. One thing to note -  these squares are the size and placement of a selection box within acrobat.  For example, if i use the selection tool and click near where the problem printed out, the shaded area that gets selected is in the exact same spot and is the exact size.@

  • I purchased a movie via Itunes and it does not display as a purchased item on my Apple TV yet A TV show I bought does.

    I purchased a movie via Itunes and it does not display as a purchased item on my Apple TV yet A TV show I bought does. The only way I can view it is if I turn on home sharing and the movie is downloaded to my PC. Is this normal?

    Welcome to the Apple Community.
    Perfectly normal, purchased items only applies to TV shows, the studios have not licensed movies for redownloading.

  • I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    I connect my Macbook 13" to my thunderbolt to display on my HD television but it keeps asking for a KeyChain password for "user-hp". My key keychain password is nothing but it does not want to accept and not display my screen to the Television. Suggestion

    Apple support article:
    Mail Keeps Asking for Password
    Maybe this will help. If you monitor the "More Like This" box (top right), other threads appear. Opening them usually displays other threads.
    https://discussions.apple.com/message/20549403#20549403

  • HT201263 IPad starts but will not display home screen.

    IPad starts by will not display home screen.  Seems to be suspended but will not respond.

    Reset iPad
    Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears
    Note: Data will not be affected.

  • JSplitPane not displaying on screen

    Someone please help me. Stuck on this problem for 3 days now but just cannot see the answer. JSplitPane just does not display on screen. When I call it from within the class xer it appears as a little rectangle of about 2mm by 4 mm insize. When I call it from within actionPerformed I just do not see anything at all. I need to call it from actionPerformed as a final solution. Please give the answer based on it being called from actionPerformed. Thanks.
    Peter Loo
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import javax.swing.table.*;
    import javax.swing.tree.*;
    import java.util.*;
    import javax.swing.event.*;
    import java.lang.*;
    public class xer extends JFrame
    JPanel erPanel;
    Container contentPane;
    public xer()
    contentPane = getContentPane();
    erPanel = new JPanel();
    contentPane.add(erPanel);
    // Menu
    ErMenu erMenu = new ErMenu(contentPane, erPanel);
    setJMenuBar (erMenu.getErMenuBar());
    // If I call Define Report here I have small JSplitPane about 2mm by 4 mm size
    new DefineReport(contentPane, erPanel);
    pack();
    setExtendedState(Frame.MAXIMIZED_BOTH);
    setDefaultCloseOperation (DISPOSE_ON_CLOSE);
    setVisible(true);
    public static void main (String args[])
    new xer();
    * Processing for menu
    class ErMenu implements ActionListener
    Container contentPane;
    JPanel erPanel;
    JMenuBar erMenuBar;
    JMenu fileMenu;
    JMenu reportMenu;
    JMenuItem defineMenuItem;
    JMenuItem runMenuItem;
    DefineReport defineReport;
    StringBuffer currentScreen;
    * Create menu & menubar
    public ErMenu (Container contentPane, JPanel erPanel)
    this.contentPane = contentPane;
    this.erPanel = erPanel;
    // Menu bar
    erMenuBar = new JMenuBar ();
    // Menu reports
    reportMenu = new JMenu (" Report ");
    defineMenuItem = new JMenuItem ("Define Report");
    defineMenuItem.setActionCommand ("MenuItemDefineReport");
    defineMenuItem.addActionListener (this);
    reportMenu.add(defineMenuItem);
    runMenuItem = new JMenuItem ("Run Report");
    runMenuItem.setActionCommand ("MenuItemRunReport");
    runMenuItem.addActionListener (this);
    reportMenu.add (runMenuItem);
    erMenuBar.add (reportMenu);
    public JMenuBar getErMenuBar()
    return erMenuBar;
    public void actionPerformed (ActionEvent e)
    String menuaction = e.getActionCommand();
    if (menuaction.compareTo ("MenuItemDefineReport") == 0)
    // If I call Define Report here I do not get the JSplitPane
    defineReport = new DefineReport(this.contentPane, this.erPanel);
    * Main processing for Defining a report
    class DefineReport
    JPanel erPanel;
    Container contentPane;
    JSplitPane erJSplitPane;
    public DefineReport (Container contentPane, JPanel erPanel)
    this.erPanel = erPanel;
    this.contentPane = contentPane;
    // this.contentPane.invalidate();
    // this.contentPane.removeAll();
    // this.erPanel.invalidate();
    // this.erPanel.removeAll();
    erJSplitPane = setupErJSplitPane ();
    erPanel.add (erJSplitPane);
    // contentPane.add(erPanel);
    contentPane.setVisible(true);
    } // End of constructor DefineReport
    public JSplitPane setupErJSplitPane()
    JScrollPane listScrollPane;
    JScrollPane treeScrollPane;
    listScrollPane = new JScrollPane ();
    treeScrollPane = new JScrollPane ();
    erJSplitPane = new JSplitPane (JSplitPane.HORIZONTAL_SPLIT,
    listScrollPane, treeScrollPane);
    erJSplitPane.setOneTouchExpandable (true);
    erJSplitPane.setDividerLocation (50);
    Dimension minSize = new Dimension (50,50);
    listScrollPane.setMinimumSize (minSize);
    treeScrollPane.setMinimumSize (minSize);
    listScrollPane.setBackground(Color.red);
    listScrollPane.setForeground(Color.red);
    treeScrollPane.setBackground(Color.blue);
    treeScrollPane.setForeground(Color.blue);
    return erJSplitPane;
    } // End of class DefineReport

    I have read all the tutorials that I can find and it
    seems (at least to me) that I have done everything
    necessary. I am really quite new to Java.
    Peter LooIts called a learning curve dear, we've all been there

  • Outlook doesn't display print screens images sent in my inbox from other people

    Hi,
    I am using a MacBook Air. My professional Outlook never displays print screens images sent from time to time by other colleagues (they all use PC's with Windows OS), i instead have a little blue question mark icon.
    Do i need to download a specific plugin to display those print screens? Could someone help me out with this please?
    Thank you for your assistance.
    Youjine

    Yes, I have added the Page to the Workset, and also the IView to the Page.
    If I set up a temporary workset, And assign the 2 objects to it (the IView and the Page), they appear as links at the top of my Portal. When I click the link assigned to the IView, the Inbox is shown. When I click the link assigned to the Page, it only shows a blank window instead of the Inbox.
    Michael.

  • Images in RTF file do not display in WordPad

    I inserted some images into a flowdocument, then save it as a rtf file.
                Image photo = new Image();
                BitmapImage photoFile = new BitmapImage();
                photoFile.BeginInit();
                photoFile.UriSource = new Uri("image.bmp", UriKind.Relative);
                photoFile.EndInit();
                photo.Source =photoFile;      
                Paragraph pPhoto = new Paragraph();
                pPhoto.Inlines.Add(photo);
                flowdoc.Blocks.Add(pPhoto);
    When I open the rtf file with wordpad, all the images are lost. But they can be displayed in Word.
    Why does that happen?
    Thx.

    WordPad (at least version 6.1 on W7) cannot display linked images, MSWord can. WordPad
    can display embedded images. But the format seems to be some uncompressed WindowsMetaFile8 format, which may increase the storage footprint, compared to eg. PNG graphics, drastically. (Open a Wordpad RTF in Notepad, you'll see...)
    A cross-check against the DotNET 1.1 RTF control shows the same as in Wordpad, linked images do not show up. That leads to the assumption that Windows Forms as well as Wordpad are based on the Windows Common RTF Control, and that control seems
    not to support linked images.
    I'm not quite sure yet, but WPF converts RTF content to XAML (which is very similar to HTML), so it does not rely on the Windows RTF common control, thus linked images in RTF are not a problem there.
    HTH
    Ulrich

  • Images uploaded in Shared Components not displaying

    We recently installed version 4.2.1 on a new dedicated server. The entire setup went through without error.
    The default images found in apex (/i/apex/builder/ etc.) are all visible. But when we upload any image through Shared Components > Images do not show on screen. An entry is available in the report on the Images page but the image itself is blank. The URL of the image is shown as : "+http://hostname:port/apex/wwv_flow_file_mgr.get_file?p_security_group_id=100000&p_flow_id=100&p_fname=Sampleimage.jpg+". The image is available in the wwv_flow_file_objects$ table and can be viewed through the BLOB_CONTENT column. But it is not visible in the front end.
    Is there a solution to this issue?
    Thanks,
    Aniket

    AniketP wrote:
    We recently installed version 4.2.1 on a new dedicated server. The entire setup went through without error.
    The default images found in apex (/i/apex/builder/ etc.) are all visible. But when we upload any image through Shared Components > Images do not show on screen. An entry is available in the report on the Images page but the image itself is blank. The URL of the image is shown as : "+http://hostname:port/apex/wwv_flow_file_mgr.get_file?p_security_group_id=100000&p_flow_id=100&p_fname=Sampleimage.jpg+". The image is available in the wwv_flow_file_objects$ table and can be viewed through the BLOB_CONTENT column. But it is not visible in the front end.Is the image associated with an application (No Application Associated)? If not then consider using the #APP_IMAGES# substitution istring nstead of #WORKSPACE_IMAGES#

Maybe you are looking for

  • Macbook pro Hard drive replacement issue, won't read new drive.

    I have a Macbook pro Core 2 Duo. The 2nd generation Macbook pro. I am trying to install a 640GB Western Digital Scorpio Blue hard drive. I have formatted the new drive to Mac OS Extended (Journaled) with the GUID table though an external USB enclosur

  • Draw a line at a threshold of high colour contrast

    Hello, I'm wanting to write a script where photoshop can analyse a photo and draw a line where there is a high contrast of adjacent pixels. So i'd need a pixel differentiating script (like magnetic wand) which preceeded a draw line script i guess. Ex

  • Unable to open Mitutoyo Digimatic Instrument Reader using Mit. Mux

    Hi all, I was trying to open this example "Mitutoyo Digimatic Instrument Reader using Mit. Mux" http://zone.ni.com/devzone/cda/epd/p/id/4546 but was no luck. When i open Miutoyo Event Handler2.vi It prompts for the following file location: programmat

  • In HCP Cockpit, is there a way to provide version information for the deployed java applications?

    We have a Java Application which is deployed on HCP. When we make fixes and redeploy it again, is there a way that we can provide version information that could be useful to identify which version is currently deployed. Please advice if there is an a

  • Cannot import contacts in CSV format

    hi all, When i updated my firmware on nokia e 71 i saved my messages to my pc using nokia messaging center as csv format.After upgradation when i tried to take it back the import option was disabled. I can do only export or what ?. Can anyone help me