Show image into an item from URL

Hi all
i have to show a gif image into an item, but the source of the file is in a url
Http://xxx.xxx.xxx.xxx/../../../image.gif
i tried with web.show_document and with read_image_file, but there's something wrong... (forms 6)
could you please suggest me the right way ?
thank you !

show_document is like opening a new browser window so that doesn't work. Read_image_file is like the name suggests for reading a file, not url so that doesn't' work either.
You will need to move you files to a drive that the forms server can reach, or use a Java Bean that can load an image from an URL and perhaps even display it. You might find an existing Bean (I don't know of one) or you may have to write one yourself.

Similar Messages

  • Inserting Image into BLOB field from URL

    Is it possible to insert an image into a BLOB field from a URL? I don't have access to the filesystem on the server and I have a page that uses PL/PDF to generate dynamic PDF files from data I pull from the database. I would like to include my companies official header with logo on the top of the PDFs I generate and need to somehow get the image which I currently have uploaded to the images section in Application Express and can access from the "Shared Components => Images" section of the Application Builder. I just want to be able to either query whatever table holds those images or copy the image I need to a blob field in one of my tables so I can use it in my PDF document.
    The other alternative (which is what I first mentioned above) would be to try and perform an insert into the BLOB field in my table but the location of the image file would be like "http://www.myportal.com:7777/pls/htmldb/wwv_flow_file_mgr.get_file?p_security_group_id=1234567&p_flow_id=111&p_fname=myimage.jpg".
    Is this possible? If not, what can I do?
    Thanks in advance.

    The reason why I am asking this question in this forum is two-fold:
    1. I am using Application Express (AE).
    2. Since I am using AE all images that I upload to my workspace are stored in a table in a database and not as an actual file in a directory structure like in Windows etc. This being the case, I can't ever reference any of the files that I upload to my workspace in order to insert them into my BLOB field unless I know their physical location on disk (which of course does not exist b/c they are stored in the AE database somewhere). If I knew AE's database and table structure I could do a "select into ..." from whatever table stores my uploaded images and save those images to my own custom table in my BLOB field.

  • Bean to load image item from URL?

    Can someone point me to a bean that will allow the loading of an image item from a URL?
    Cheers,
    Gary

    Here is the material:
    <p>
    the screen shot is here : http://sheikyerbouti.developpez.com/forms-pjc-bean/handleimage/getimage.png</p>
    <p>Get the jar file and the form module sample (9.0.2)</p>
    Notice that you could also download the image with the File_Transfert.URL_To_Client() Webutil function then load it with the Client_Read_Image_File() built-in.
    Francois

  • Inserting or embed and image into cfmail output from a database-stored path to an actual image.

    I am trying to insert or embed and image into cfmail from a database-stored path to an actual image. The actual JPEG image is stored in a folder called "images_personnel". The path to the image under the column titled photopath is stored in my database table as "/file/images_personnel/28.jpg". Displaying the image on the screen renders without a problem, embedding the same image as part of a cfloop query does not insert/embed the image into an email. All of the other output of the same cfloop displays and emails just fine. However none of the photos of each personelle show up. What an I doing wrong?
    My code is below:
    <cfquery name="Staffreport" datasource="master">
    Select staffreport.*, name.personnelid, name.email, name.last, name.noiid, stafflt, CONCAT(name.fname,' ',name.middle,' (',name.last,')') AS teammember, CONCAT(name.fname,' ',name.middle) AS teammember2, concat(name.photopath,'',name.photo)as hisphoto, stafflt.*, trim(concat(ltfname,' ',ltmiddle)) as LT from Staffreport, name, stafflt
    where 0=0
    and stalt = '#Session.user_id#'
    and ltid = '#session.user_id#'
    and staweekbegin = <cfqueryparam value="#form.staweekbegin#" cfsqltype="cf_sql_date" />
    AND staweekend = <cfqueryparam value="#form.staweekend#" cfsqltype="cf_sql_date" />
    AND stapersonnelid = personnelID
    <!---AND ltid = stalt--->
    AND CITY = 'richmond'
    AND STATUS <> 'd'
    AND STATUS <> 'T'
    AND type = 'personnel'
    Group by personnelid
    Order by teammember
    </cfquery>
    <cfmail>...
    <cfloop query="staffreport"><br />
    <table width="90%" border="0" cellspacing="2" cellpadding="4" align="left">
      <tr>
        <td colspan="2" align="center" valign="top" nowrap="nowrap" bgcolor="cccccc"><strong><font color="black"><cfif #staffreport.last# eq ".">#Ucase(Staffreport.teammember2)# <cfelse>#Ucase(Staffreport.teammember)#</cfif> - ID: <cfoutput>#Staffreport.noiid#</cfoutput></font></strong></td>
      </tr>
    <tr>
        <td align="left" valign="top" nowrap="nowrap" bgcolor="#000000">Name:</td>
        <td>#Staffreport.teammember#</td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Photo:</td>
        <td bgcolor="EBEBEB">
    <img src="#staffreport.hisphoto#" alt="Photo" width="98" height="98">
    </td>
      </tr>
    <tr>
        <td bgcolor="E6E1FD">Email:</td>
        <td bgcolor="EBEBEB">#staffreport.email#</td>
      </tr>
    </table>
    </cfloop>
    </cfmail>

    You'll need to provide a full URL link to the image ("http://mywebserver/file/images_personnel/28.jpg"), not just a relative path.  Remember, the email client that is used to view the email content knows nothing of the internals of your web server - it can only follow a complete URL to get images and other resources.
    -Carl V.

  • Loading an image into an Applet from a JAR file

    Hello everyone, hopefully a simple question for someone to help me with!
    Im trying to load some images into an applet, currently it uses the JApplet.getImage(url) method just before registering with a media tracker, which works but for the sake of efficiency I would prefer the images all to be contained in the jar file as oppossed to being loaded individually from the server.
    Say I have a class in a package eg, 'com.mydomain.myapplet.class.bin' and an images contained in the file structure 'com.mydomain.myapplet.images.img.gif' how do I load it (and waiting for it to be loaded before preceeding?
    I've seen lots of info of the web for this but much of it is very old (pre 2000) and im sure things have changed a little since then.
    Thanks for any help!

    I don't touch applets, so I can't help you there, but here's some Friday Fun: tracking image loading.
    import java.awt.*;
    import java.awt.image.*;
    import java.beans.*;
    import java.io.*;
    import java.net.*;
    import javax.imageio.*;
    import javax.imageio.event.*;
    import javax.imageio.stream.*;
    import javax.swing.*;
    public class ImageLoader extends SwingWorker<BufferedImage, Void> {
        private URL url;
        private JLabel target;
        private IIOReadProgressAdapter listener = new IIOReadProgressAdapter() {
            @Override public void imageProgress(ImageReader source, float percentageDone) {
                setProgress((int)percentageDone);
            @Override public void imageComplete(ImageReader source) {
                setProgress(100);
        public ImageLoader(URL url, JLabel target) {
            this.url = url;
            this.target = target;
        @Override protected BufferedImage doInBackground() throws IOException {
            ImageInputStream input = ImageIO.createImageInputStream(url.openStream());
            try {
                ImageReader reader = ImageIO.getImageReaders(input).next();
                reader.addIIOReadProgressListener(listener);
                reader.setInput(input);
                return reader.read(0);
            } finally {
                input.close();
        @Override protected void done() {
            try {
                target.setIcon(new ImageIcon(get()));
            } catch(Exception e) {
                JOptionPane.showMessageDialog(null, e, "Error", JOptionPane.ERROR_MESSAGE);
        //demo
        public static void main(String[] args) throws IOException {
            final URL url = new URL("http://blogs.sun.com/jag/resource/JagHeadshot.jpg");
            EventQueue.invokeLater(new Runnable(){
                public void run() {
                    launch(url);
        static void launch(URL url) {
            JLabel imageLabel = new JLabel();
            final JProgressBar progress = new JProgressBar();
            progress.setBorderPainted(true);
            progress.setStringPainted(true);
            JScrollPane scroller = new JScrollPane(imageLabel);
            scroller.setPreferredSize(new Dimension(800,600));
            JPanel content = new JPanel(new BorderLayout());
            content.add(scroller, BorderLayout.CENTER);
            content.add(progress, BorderLayout.SOUTH);
            JFrame f = new JFrame("ImageLoader");
            f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
            f.setContentPane(content);
            f.pack();
            f.setLocationRelativeTo(null);
            f.setVisible(true);
            ImageLoader loader = new ImageLoader(url, imageLabel);
            loader.addPropertyChangeListener( new PropertyChangeListener() {
                 public  void propertyChange(PropertyChangeEvent evt) {
                     if ("progress".equals(evt.getPropertyName())) {
                         progress.setValue((Integer)evt.getNewValue());
                         System.out.println(evt.getNewValue());
                     } else if ("state".equals(evt.getPropertyName())) {
                         if (SwingWorker.StateValue.DONE == evt.getNewValue()) {
                             progress.setIndeterminate(true);
            loader.execute();
    abstract class IIOReadProgressAdapter implements IIOReadProgressListener {
        @Override public void imageComplete(ImageReader source) {}
        @Override public void imageProgress(ImageReader source, float percentageDone) {}
        @Override public void imageStarted(ImageReader source, int imageIndex) {}
        @Override public void readAborted(ImageReader source) {}
        @Override public void sequenceComplete(ImageReader source) {}
        @Override public void sequenceStarted(ImageReader source, int minIndex) {}
        @Override public void thumbnailComplete(ImageReader source) {}
        @Override public void thumbnailProgress(ImageReader source, float percentageDone) {}
        @Override public void thumbnailStarted(ImageReader source, int imageIndex, int thumbnailIndex) {}
    }

  • IMPORTING NEF (RAW) IMAGES INTO iPHOTO 6 FROM NIKON D80

    I have just got my self a Nikon D80 and find that I cannon import the NEF(RAW) images into iphoto6 - the files are not recognised - if I shoot in jpeg format it is fine
    Bit of a disappointment as I was really excited to see what the ophotos would come out like! I have not imported the software that came with the camera - but I didnt think that was necessary.
    Any help gratefully received

    David
    What kind of computer do you have? What version of the OS? What version of iPhoto? Have you applied the RAW updates from http://www.apple.com/support/downloads?
    Regards
    TD

  • Images Imported by Reference from URL in FM Are Blank in RH

    Documenting a web-based application in FM9, I was tempted to use FM's ability to import images by reference from a URL in order to show icons from the UI without having to make a local copy of the icon. Worked beautifully in FM, but when I generated my RH WebHelp, those images were not displayed. Instead, I got nice blank images in their place.
    Is this just another break in the so-called "integration" between FM & RH? Or is there a way to make this work?

    Are the graphics in an anchored graphics frame in FM? If they're not, then RH doesn't bring them in.
    I had a head-scratcher today around this fact until I remembered reading the RH help file about what gets pulled into RH from FM & what gets ignored.
    Jeff

  • Why, since CS6 does DW now use ABSOLUTE image paths when dragging images into Design View from a folder in Finder?!

    While I am grateful the previous issue I had with not being able to drag files into design view at all (in CC and CC2014) was resolved.
    Guys (Adobe), seriously, if you're going to change the functioning of something that used to work just fine, at least supply a way for a user to revert to the old way... I absolutely loathe that I need a legacy version of DW to continue with my current workflow. Please put it back to the way it was, or at least allow a user to chose between the two behaviours.
    If there is a way to do this, without using the Site Manager (which still doesn't work from Finder even with relative to document selected), I would appreciate any guidance.
    As for using the Site Manager (before some smart guy suggests that I just use that) I do not wish to navigate to and create up to 20 "sites" a week and wait for DW to cache them all, when I am already in the folder with the image assets in Finder.
    Also before someone pipes up and says: "You shouldn't be diving sites in design view anyway", I don't... I develop many, many newsletters every week and the folder structure is such that navigation to the actual image folder using the Site Manager would be painful at best.
    I don't really like having to and replace all instances of "file:///Users/me/Work/company/Mailers/Year/wk14/mailer/dev/img/prod5.jpg". It is horrendously wasteful, time-wise.
    Thanks in advance for any helpful replies

    Sorry Murray, DW used to have an idea, my point is that since CS6 its developed a case of Amnesia.
    The "elements" are in the "root" folder as follows:
    newslettername.htm
    img
         imagename.jpg
    So the relative path would be <img src"img/imagename.jpg" />
    However since the change: <img src"file:///Users/me/work/Company/year/week/campaign/img/imagename.jpg" />
    Which is completely useless and needs to be corrected before I upload the html anywhere.
    As for using the site directory, I did answer that in my initial post. I use a laptop, I really don't want a site manager taking half my screen just so I can see the folder structure and navigate with that, especially since I am already at the files I need in Finder.
    Again, this is something that used to work just fine in previous iterations of DW, so I don't believe Adobe is incapable of fixing it nor am I being unreasonable asking for a choice for those that may find the local absolute paths useful in some way. All I want is to be able to chose not to use absolute paths when dragging from Finder.

  • Problem importing images into RoboHelp 10 from FM 11

    I am using Adobe TCS4, on Win XP SP3, to import or link structured FrameMaker 11 books and documents into RoboHelp 10. Our default graphics types are generally eps and tiff images, in anchored frames and imported by reference into FrameMaker, and FrameMaker equations. When I import a FM document into RoboHelp, things appear reasonably correct, equations are converted to jpegs, but the other images typically do not appear. Instead, blank images are created in the appropriate size, and named <docname>00001.jpg, etc, where <docname> is the original FrameMaker document name.
    During import, the Images portion of the FrameMaker conversion settings list "Use Distiller to Generate Image". If this box is checked, RoboHelp nearly always crashes when there are non-equation images in the file. If that setting is unchecked, the import generally completes, but the images, except for equations, are not imported. Remarkably, occasionally one or a few of the correct images doappear in the RoboHelp html; in these cases, it is usually one or more tiff images that have somehow been successfully converted to jpeg; but the majority of images are not converted.
    I have tried a few other things, without success. For example, I have replaced all the images in the Framemaker document with jpeg images, then imported into RoboHelp, but the results are the same, with empty renamed images created, and original images not imported. I have also tried reducing the image sizes in the Framemaker to the exact size size required in the output; in other words, so images appear at 100% size in Framemaker. This approach also has not been successful. I have also tried importing to another format in RoboHelp, such as png, with no success.
    I have had some occasional success, for example rare occasions when one or two images appear in the RoboHelp html, and a single case in which nearly all of the graphics imported correctly. That FM document is somewhat different from the others because nearly all of the referenced images in FrameMaker were PDF. The successfully imported PDFs were imported into RH as jpegs of the same name. The only files that failed to import were a few eps files which were imported as blank images named aqccording to the <docname>0001.jpg scheme.
    Aside from converting all of my images to PDF, and modifying documents accordingly, I have run out of things to try. So, I was hoping to get some advise:
    1) Is there another approach I can try?
    2) Should I uninstall and reinstall TCS4?
    3) Is there an import log that could tell me the mapping of FrameMaker image name to RoboHelp image name, for example: fm0201.tif > <docname>00001.jpg? At least then I could use that list to manually import the appropriate jpgs into Robohelp.
    4) Is anyone else experiencing this issue?
    5) What is it with the constant crashes when "Use Distiller to Generate Image" is checked. In these cases, Distiller keeps chugging away, producing images, until RoboHelp crashes.
    Thanks very much, I appreciate any suggestions.
    Chris McCauley

    I remember reading that document on images, parts 1 and 2, I think, but did not find any solution to this issue there. I have seen your posts on the path length, and have tried to reduce them as much as possible by moving files close to the root directory. I continue to have issues with cross-references, but I have not spent much time yet in fully diagnosing that problem. I'm experienced with Framemaker for many years, and I'm beginning to feell familiar with many parts of RoboHelp, so I thoiught I'd try to knock these issues one at a time, in either order, actually. thanks for your suggestion.

  • How to hide/show images or master items?

    Hi,
    Just getting started in pages (on the free trial for now).
    So far I like the way items (e.g. images) can be placed as "master objects". I'm using this feature to insert my business logo and address, so that I can send a PDF which matches my letterhead exactly.
    But if I also want to print a hard copy onto the pre-printed letterhead, is there an easy way to hide the master objects? It'd be great if there was a toggle somewhere, but I can't seem to find it.
    TIA and Cheers,
    JB
    MBP 15.4, 2.33GHz Core2Duo Mac OS X (10.4.8)
    G5 Dual 1.8 GHz   Mac OS X (10.3.8)  

    jb,
    That feature isn't built into Pages, but a work-around comes to mind. Assuming your background is white, you could insert a box, change its color to white, remove its border, then size it to cover up your master object. When not in use, drag it away and send it backward.
    Does this help?
    -Dennis

  • Intermittent problems importing images into Captivate 5 from PowerPoint 2010 slides

    Occasionally, when I import slides from a PowerPoint 2010 pptx file, certain of the images don't move over into captivate.
    Most (if not all) of my images have been saved as .jpg files, so I don't believe that there would be problems with different file types.  Some of the images may be saved at different quality levels; could this possibly affect the import process?
    I can't identify what about these images somehow mark them as "different" to Captivate, and therefore prevents their importation.
    Any help that can be provided is appreciated.

    Hi Rahul,
    I would but I am not the original poster. You will have to wait for JDPJDPJDPJDP to send you the file.
    Best regards,
    Mark

  • Why the lens profile list can't show ALL lens profiles items from "LensProfiles 1.0" folder?

    When I add a new lens profile - Samyang 14mm f2.8 - .lcp file into the "LensProfiles > 1.0" folder, I appear there are many lens profile items can't show in the Lightroom lens profiles list.
    Please tell me how can I add these items into the LR lens profiles list........... thanks!!!

    Sorry my bad, should have put.
    Your custom Camera Raw & Lens Profiles should be installed to the User folders…
    Lightroom 5 no longer uses the shared ProgramData (Windows) / Application Support (Mac) folders for Camera or Lens Profiles. Instead, it stores the built-in profiles with its program files.
    When you create camera or lens profiles, they must be stored in the user locations listed below. If you previously stored custom profiles in other locations, you’ll need to move them to these user folders, otherwise Lightroom won’t be able to find them.
    Windows—C: \ Users \ [your username] \ AppData \ Roaming \ Adobe \ CameraRaw \ CameraProfiles \
    Mac—Macintosh HD / Users / [your username] / Library / Application Support / Adobe / CameraRaw / CameraProfiles /
    For the lens profiles, substitute the LensProfiles folder for the CameraProfiles folder.
    The camera and lens profile file extensions are:
    .dcpr—camera profile recipe file used for creating/editing a profile in the DNG Profile Editor
    .dcp—camera profile
    .lcp—lens profile

  • Show image as form item

    Hi All
    I created a form item that I want to display as image. When I click at this image, I want to open a popup window. I can't show the image. I have set to display as image but it doesn't work. The form is based on wizard using automatic fetch and so on. Someone could help me?
    Tks
    Ricardo

    refer following link
    Grassroots Oracle: Modifying your APEX login page
    Pars.

  • Importing Images into Flash CS4 from Photoshop 7

    Hello,
    I've created an image in flash, basically the image is a ring which has then been divided into 3 equal segments, each segment exists on its own seperate layer with and has a transparent background. I want to make ach of these segments into a button on flash, so I've imported them across and converted them into buttons, however the problem I have is that when it gets imported into flash, it creates a box around each segment which is what flash sees as the full button, this means when you roll over a blank piece of the segment flash recognises it as rolling over the button. Is this just an inherent problem from importing from photoshop into flash or am I doing something wrong?
    Thanks
    Sean

    Check the settings:
    Edit/Preferences.../PSD File importer...
    And then load the *.psd file without the background.
    And certainly there is no change in flash...

  • Need to Upload the image into XMII server from a desktop

    Hi,
    Can anyone let me know how to upload the image from my laptop on to the server which i should be using in my pages. I tried using Image Loader and Image Saver. But it lead me no where. Is there a detailed documentation for this ?
    Thanks for your help in Advance.
    Regards,
    Deepthi lakshmi.A.

    Hi Deepti,
    Could you give some details on what you are trying to achieve.
    Is this a use case scenario where images need to be uploaded by a handful of people using some web UI?
    or
    Is this a use case scenario where you wish to upload images from the harddrive of absolutely any user?
    The reason for my questions is as follows.
    If you wish to allow some high-level (technically savvy) users the ability to upload images to be shown in dynamic content for remainder of the public, you could, in theory, set up a network directory that xMII is able to see.  These High-Level users could drop their images in the folder and specify the path in a text box.
    You could go one step further and use Get Folder List action from within an Xacute transaction and display the list of images in this folder on a web UI.  Users could pick the image from the list and "Bob's your Uncle!".
    Hope this helps,
    Cheers,
    Jai.

Maybe you are looking for

  • How can I sort movies by genre on itunes  from ipad 2 ?

    If i find a movie for buy in itunes ( from pc ) i can select the genre (action , comedy ..) for optimize the search. In mi ipad 2 i cannot do this  , i can select genre for music , apps , etc but in movies i only see alphabetical order and older / ne

  • CRM70 Use of dynpro services is not possible in the current system status

    Hi all, i programmed in Webclient UI an own button which calls a Method of a zclass. Within this method i do a remote function call in ERP. I can test the method successfully but if i call it from CRM Webclient UI i have a BSP error: Business Server

  • Inserting a barcode in a pdf file in Adobe Acrobat Pro

    I have a PDF bookcover created for a printed book, but I'm having trouble inserted the barcode (a eps file , and pdf file ). How do I insert the barcode into the bookcover file in Adobe Acrobat? Please help!

  • Macbook Air won't format or partition SSD

    I bought a 64gb SSD from Active Media Products, http://www.activemp.com/SSD/18-IDE-PATA-ZIF-SSD-Z4.htm. It reports MacBook Air 1st gen support. Install was smoother than expected. Disk Utility actually sees the drive, but when I try to format or eras

  • Questions about an Oracle Feature

    There are JDBC extensions that allow to use a prepared statement and send in queries with different values for these statements in a batch. So, if you want to send in 10 updates at a time, it will wait until there are 10 available until the execution