Generating an image to be displayed by Apex

Hi,
Does anyone have some experience or ideas as to how to generate an image based on data within an Apex application and then render it back within the Apex application?
Assuming that the program has access to the database:
1. what is the best way to execute the program
2. where does the program place the image so that the client-browser can pick it up? I cannot seem to locate the document root for Apex.
Thanks all!

Nothing so complicated! I used an external table to trigger a script that generated svg data from the database data. Then in an HTML Apex region, I looped through the data with a cursor and htp.p'd each line.
My other solution was to have the script generate an image file that I subsequently uploaded into Apex for rendering but that didn't feel like a good multi-user solution.
I will probably end up looking at one of your options too because I now need to parameterize and filter the data.
Edited by: MWT on May 20, 2013 7:58 PM

Similar Messages

  • Image is not displayed in APEX Form with APEX utility Function

    Dear APEX experts,
    As i am new to the oracle apex development. I have just created the basic employee information form in which i upload the photograph of the employee. The photograph gets uploaded but it does not display properly. I have already referred the sample database application to display the image. Moreover, i have followed the same steps as it is used to display the product image in that application. Still i am unable to get result. I am getting following output:
    <img src="apex_util.get_blob_file?a=35682&s=101496289174102&p=15&d=10639237623242912156&i=10639236703270912154&p_pk1=21&p_pk2=&p_ck=FCA12832591A1C706D76FDD589E551A2" />
    Please help me seniors to solve this issue. How to display the image using this utility.

    mehpandya wrote:
    I have observed following HTML code after inspecting the two application.
    1.Sample Database application:
    In this application , the product image is uploaded and displayed correctly and following code is rendered in the HTML source.
    <span id="P6_IMAGE" class="display_only" ><img src="apex_util.get_blob_file?a=64703&s=134073736366663&p=6&d=25732916709090782422&i=25433760606377189086&p_pk1=1&p_pk2=&p_ck=7E23190CC0BFE98BBE4CCE2ADFBBEF26" /></span>
    2.Sample HRMS Application - Which i have created for learning.
    In this application , the employee photo is uploaded but it is not displayed correctly. Following is code is rendered in the HTML.
    "<span id="P15_EMPIMG" class="display_only" >&lt;img src="apex_util.get_blob_file?a=35682&amp;s=100541516379272&amp;p=15&amp;d=10639237623242912156&amp;i=10639236703270912154&amp;p_pk1=21&amp;p_pk2=&amp;p_ck=31A8328E0F5754D7CBD0FC0C6313B38A" /&gt;</span>"
    Hence , in my application the code is not rendered perfectly and syntax is not completed.
    following characters are rendered like this.: &lt , &quot , &gt , &amp.
    So, is this the reason of not displaying the image???Yes.
    To get a Display Item to render as HTML, in the item definition Security section set Escape special characters to No.
    For a report column, ensure the Display Text As report column attribute is Standard Report Column rather than the default Display as Text (escape special characters).
    Use a Display Image item and declarative BLOB support instead of this clunky manual method.
    Please read the FAQ and forum sticky threads (if you haven't done so already.
    You'll get a faster, more effective response to your questions by including as much relevant information as possible upfront. This should include:
    <li>Full APEX version
    <li>Full DB/version/edition/host OS
    <li>Web server architecture (EPG, OHS or APEX listener/host OS)
    <li>Browser(s) and version(s) used
    <li>Theme
    <li>Template(s)
    <li>Region/item type(s)
    The APEX documentation is here.

  • Having trouble displaying images on a page in APEX through IE.

    I'm trying to conditionally display images (used as toggle buttons) in a tabular report in APEX. This is for our Benefits application where an employee can include or exclude his/her dependents from the plan. For each row, in one column I want to show only 'Include' button if an individual is not already a member, and in another column show only 'Remove' button if already included. I'm using the button images as links and passing information to a page process.
    I was able to come up with the SQL query which works perfectly fine in Firefox. But the images won't display in Internet Explorer. Does anyone have any idea how to make this work in IE?
    Below is my query. This code will display 'Include in plan' image only if the member is not already added to the plan. If 'Y' is the result of the query, then the member is already included and no image is displayed. Otherwise display the image. Pass the member_id to an application item and process the record in a Before Header process.
    select elected_member_id, member_type, last_name, first_name, middle_name, gender,date_of_birth,student_flag,trunc(months_between(sysdate ,date_of_birth)/12) AGE,
    decode((select 'Y'
    from eben_elected_plan_info epi
         where plan_name not in ('Delta', 'Vision', 'HEALTH_FLEX', 'DEP_FLEX')
         and epi.elected_member_id = emi.elected_member_id
         and transaction_type <> 'END'), null,'<a href="f?p=&APP_ID.:70:&SESSION.::::F_APP_MEMBER_INCLUDE:'||elected_member_id||'<img src="&WORKSPACE_IMAGES.include.png"></a>') elected_member_id_include,
    elected_member_id elected_member_id_exclude
    from eben_elected_members_info emi
    where emp_person_id = :f_app_person_id
    and member_type <> 'Employee'

    I was able to resolve this issue by creating the SQL statement from scratch in IE. It then recognized the images.

  • How to display dynamically generated SVG image

    Hello, I need some help on this issue...
    I need my page to display programmatically generated SVG image. but if i directly pass SVG string to the page like <h:outputText value="#{MyBean.SVGresult}"/> it will pop up a download dialog box. what should i do to properly include my svg into the page by using embed tag??

    The h:graphicImage does not appear to handle svg; maybe it should be extended. I'm still looking for the best way to do it. I don't know if I have the right solution but here is what I have done so far. This will throw up a x, y polyline graph.
    Put a panelGrid as place holder in the jsp
          <h:panelGrid  title="Report" style="color=black" border="0" id="dataReports" columns="1" binding="#{dataAnalysis.dataReport}">
          </h:panelGrid>Then take a 'template' svg and fill it in with the dynamic additions and changes in the backing bean. In a submit action
                    generateSVGGraph(twothetaArray, intensityArray);
                    UIColumn c=new UIColumn();
                    HtmlOutputText op=new HtmlOutputText();
                    op.getAttributes().put("style","color=black");
                    op.setTitle("header text");
                    op.setValue("header text");
                    c.setHeader(op);
                    //c.getFacets().put()
                    //c.getChildren().add("<embed src=\"../phase.svg\" align=\"left\" width=\"500\" height=\"500\" type=\"image/svg+xml\"/>");
                    //javax.faces.webapp.UIComponentBodyTag embed=new javax.faces.webapp.UIComponentBodyTag();
                    //javax.servlet.jsp.tagext.TagAdapter;
                    com.hypernex.jsf.ext.html.HtmlEmbedGraphic embedGraphic=new com.hypernex.jsf.ext.html.HtmlEmbedGraphic();
                    //embedGraphic.
                    embedGraphic.getAttributes().put("src","../session/phase"+phaseGraphCount+".svg");
                    embedGraphic.getAttributes().put("align","left");
                    embedGraphic.getAttributes().put("width","600");
                    embedGraphic.getAttributes().put("height","500");
                    embedGraphic.getAttributes().put("type","image/svg+xml");
                    c.getChildren().add(embedGraphic);
                     dataReport.getChildren().add(c);
                   c=new UIColumn();
                    op=new HtmlOutputText();
                    op.getAttributes().put("style","color=black");
                    op.setTitle("header text");
                    op.setValue("header text");
                    c.setHeader(op);
                    HtmlOutputText out=new HtmlOutputText();
                    out.getAttributes().put("style","color=black");
                    //out.setTitle("Figure 1.  Powder intensity as dependent on 2&theta;.");
                    out.setValue("Figure "+phaseGraphCount+".  Powder intensity as dependent on 2Theta.");
                    c.getChildren().add(out);
                    dataReport.getChildren().add(c);
    ...generateSVGGraph
        protected void generateSVGGraph(double[] x, double[] y)
            //FacesContext context = FacesContext.getCurrentInstance();
            //context.
            //Create an svg graph of the equation.
            org.apache.batik.dom.svg.SAXSVGDocumentFactory svgFactory=new org.apache.batik.dom.svg.SAXSVGDocumentFactory("org.apache.xerces.parsers.SAXParser");
               org.apache.batik.dom.svg.SVGDOMImplementation svgDOMImplementation=new org.apache.batik.dom.svg.SVGDOMImplementation();
            org.w3c.dom.DocumentType dt=null;//svgDOMImplementation.createDocumentType("svg","-//W3C//DTD SVG 1.1//EN",f.toURI().toString());
            //System.out.println(dt);
         org.w3c.dom.svg.SVGDocument svgOMDocument=null;
            try
                System.out.println("dir "+(new java.io.File(".")).toURI().toString());
                svgOMDocument=(org.w3c.dom.svg.SVGDocument)svgFactory.createDocument((new java.io.File("../webapps/jsf-wita/siteadmin/templates/graph-template.svg")).toURI().toString(), new java.io.FileInputStream(new java.io.File("../webapps/jsf-wita/siteadmin/templates/graph-template.svg")));//new org.apache.batik.dom.svg.SVGOMDocument(dt, (org.w3c.dom.DOMImplementation)svgDOMImplementation);
                org.w3c.dom.svg.SVGSVGElement root=svgOMDocument.getRootElement();
                        org.apache.batik.dom.svg.SVGOMGElement primary_g=new org.apache.batik.dom.svg.SVGOMGElement("", (org.apache.batik.dom.AbstractDocument)svgOMDocument);
                        primary_g.setAttribute("style","stroke:black; fill:none; stroke-width:1");
                        root.appendChild(primary_g);
                        //double[] x=new double[4*90];
                        //double[] y=new double[x.length];
                        //x[0]=(double)(1)/4.0;
                            //methodArgs[0]=new Double(Math.toRadians(x[0]));
                        //y[0]=((Double)method.invoke(mathmlObject, methodArgs)).doubleValue();
                        double xMin=x[0];
                        double yMin=y[0];
                        double xMax=x[x.length-1];
                        double yMax=xMax;
                        double xOfyMax=yMin;
                        StringBuffer points=new StringBuffer();
                        for(int index=0;index<x.length-1;index++)
                            //System.out.println(x[index]+" "+y[index]);
                            //x[index]=(double)(index+1)/4.0;
                            //methodArgs[0]=new Double(Math.toRadians(x[index]));
                            //y[index]=((Double)method.invoke(mathmlObject, methodArgs)).doubleValue();
                            double cx=x[index];
                            double cy=y[index];
                            //if(xMin>cx)xMin=cx;
                            if(yMin>cy)yMin=cy;
                            //if(xMax<cx)xMax=cx;
                            if(yMax<cy)
                             xOfyMax=cx;
                             yMax=cy;
                        org.w3c.dom.svg.SVGTextElement xLabel=(org.w3c.dom.svg.SVGTextElement)svgOMDocument.getElementById("xLabel");
                        xLabel.getFirstChild().setNodeValue("2?");//?");
                        org.w3c.dom.svg.SVGTextElement xMinimumLabel=(org.w3c.dom.svg.SVGTextElement)svgOMDocument.getElementById("xMinimumLabel");
                        xMinimumLabel.getFirstChild().setNodeValue(ddf.format(xMin,4).toString());
                        org.w3c.dom.svg.SVGTextElement xMaximumLabel=(org.w3c.dom.svg.SVGTextElement)svgOMDocument.getElementById("xMaximumLabel");
                        xMaximumLabel.getFirstChild().setNodeValue(ddf.format(xMax,4).toString());
                        org.w3c.dom.svg.SVGTextElement yMinimumLabel=(org.w3c.dom.svg.SVGTextElement)svgOMDocument.getElementById("yMinimumLabel");
                        yMinimumLabel.getFirstChild().setNodeValue(ddf.format(yMin,4).toString());
                        org.w3c.dom.svg.SVGTextElement yMaximumLabel=(org.w3c.dom.svg.SVGTextElement)svgOMDocument.getElementById("yMaximumLabel");
                        yMaximumLabel.getFirstChild().setNodeValue(ddf.format(yMax,4).toString());
                        for(int index=0;index<x.length-1;index++)
                            points.append((x[index]-xMin)*500/(xMax-xMin));
                            points.append(",");
                            points.append((y[index]-yMin)*500/(yMax-yMin));
                            points.append(" ");
                        //System.out.println(points);
                        org.apache.batik.dom.svg.SVGOMGElement g=new org.apache.batik.dom.svg.SVGOMGElement("", (org.apache.batik.dom.AbstractDocument)svgOMDocument);
                        g.setAttribute("id",(String)"data");
                        g.setAttribute("transform", "translate(100, 550)");
                        g.setAttribute("style","stroke:black; fill:none; stroke-width:1");
                        org.apache.batik.dom.svg.SVGOMPolylineElement polyLine=new org.apache.batik.dom.svg.SVGOMPolylineElement("", (org.apache.batik.dom.AbstractDocument)svgOMDocument);
                        polyLine.setAttribute("fill", "none");
                        polyLine.setAttribute("stroke", "blue");
                        polyLine.setAttribute("transform", "scale(1, -1)");
                        polyLine.setAttribute("stroke-width", "1");
                        polyLine.setAttribute("points", points.toString());
                        g.appendChild(polyLine);
                        primary_g.appendChild(g);
                       javax.xml.transform.TransformerFactory tFactory = javax.xml.transform.TransformerFactory.newInstance();
                       javax.xml.transform.Transformer intermediateTransformer=tFactory.newTransformer(new javax.xml.transform.stream.StreamSource("../webapps/jsf-wita/stylesheets/identity.xsl"));
                                    intermediateTransformer.setOutputProperty(OutputKeys.ENCODING, "iso-8859-1");
                                    intermediateTransformer.setOutputProperty(OutputKeys.INDENT, "yes");
                         intermediateTransformer.transform(new javax.xml.transform.dom.DOMSource(svgOMDocument), new javax.xml.transform.stream.StreamResult(new java.io.FileOutputStream("../webapps/jsf-wita/session/phase"+phaseGraphCount+".svg")));
            catch(javax.xml.transform.TransformerConfigurationException tce)
                System.out.println("tce err: "+tce.getMessage());
            catch(javax.xml.transform.TransformerException te)
                System.out.println("te err: "+te.getMessage());
            catch(java.io.FileNotFoundException fnfe)
                System.out.println("fnfe:"+fnfe.getMessage());
            catch(java.io.IOException ioe)
                System.out.println("io:"+ioe.getMessage());
        HtmlEmbedGraphic.java
    * HtmlEmbedGraphic.java
    * Created on May 16, 2004, 8:12 AM
    package com.hypernex.jsf.ext.html;
    import javax.faces.component.UIComponent;
    import javax.faces.context.FacesContext;
    import javax.faces.context.ResponseWriter;
    * @author  hyperdev
    public class HtmlEmbedGraphic extends javax.faces.component.UIComponentBase
        /** Creates a new instance of HtmlEmbedGraphic */
        public HtmlEmbedGraphic()
            super();
        public String getFamily()
            return "javax.faces.Data";
        public boolean isRendered()
            return true;
    public void encodeBegin(FacesContext context,
      UIComponent component) throws java.io.IOException {
      if ((context == null) || (component == null)){
          System.out.println("encodeBegin NullPointerException "+context);
        throw new NullPointerException();
          System.out.println("encodeBegin "+context+" "+component);
      //MapComponent map=(MapComponent) component;
      ResponseWriter writer = context.getResponseWriter();
      writer.startElement("embed", this);
      writer.writeAttribute("src", getAttributes().get("src"),"id");
    public void encodeEnd(FacesContext context) throws java.io.IOException {
      if ((context == null)){
        throw new NullPointerException();
      //MapComponent map = (MapComponent) component;
      ResponseWriter writer = context.getResponseWriter();
      writer.startElement("embed", this);
      writer.writeAttribute("src", getAttributes().get("src"),"id");
      writer.writeAttribute("align", getAttributes().get("align"),"id");
      writer.writeAttribute("width", getAttributes().get("width"),"id");
      writer.writeAttribute("height", getAttributes().get("height"),"id");
      writer.writeAttribute("type", getAttributes().get("type"),"id");
      writer.endElement("embed");
    }graph-template.svg - More static parts of the graphic can be put in here.
    <?xml version="1.0" encoding="UTF-8"?>
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="text/ecmascript" width="100%" zoomAndPan="magnify" contentStyleType="text/css" viewBox="0 0 600% 600%" height="100%" preserveAspectRatio="xMidYMid meet" version="1.0">
    <g style="stroke:black; fill:none; stroke-width:1">
    <g id="visuals" style="stroke:black; fill:none; stroke-width:1" transform="translate(100, 550)">
    <rect id="box" transform="scale(1, -1)" x="1" y="1" width="500" height="500" fill="none" stroke="black" stroke-width="1.5"/>
    <g id="labels" transform="scale(1, 1)">
    <text id="xLabel" x="250" y="50" text-anchor="middle"
            font-family="Verdana" font-size="24" fill="blue" >x label</text>
    <text id="xMinimumLabel" x="0" y="20" text-anchor="middle"
            font-family="Verdana" font-size="18" fill="blue" >0.0</text>
    <text id="xMaximumLabel" x="500" y="20" text-anchor="middle"
            font-family="Verdana" font-size="18" fill="blue" >100.0</text>
    <text id="yMinimumLabel" x="-3" y="-3" text-anchor="end"
            font-family="Verdana" font-size="18" fill="blue" >0.0</text>
    <text id="yMaximumLabel" x="-3" y="-500" text-anchor="end"
            font-family="Verdana" font-size="18" fill="blue" >100.0</text>
    </g>
    </g>
    <g id="data" style="stroke:black; fill:none; stroke-width:1" transform="translate(10, 550)">
    </g>
    </g>
    </svg>

  • Images not getting displayed in PD4ML

    hi,
    I used PD4ML for generating PDF.
    but in that generated PDF, Image which i want to display is not displayed. and it is working for other images can u plz help for that.
    code ->java.io.FileOutputStream fos = new java.io.FileOutputStream(f);
              //OutputStream sos = System.out;
              File fz = new File("C://output.htm"); //HTML Code of the template
                    java.io.FileInputStream fis = new java.io.FileInputStream(fz);
                    InputStreamReader isr = new InputStreamReader( fis, "UTF-8" );
                    PD4ML html = new PD4ML();
                    html.setPageSize( new Dimension(450, 450) );
                    html.setPageInsets( new Insets(20, 50, 10, 10) );
                    html.setHtmlWidth( 750 );
                    html.enableImgSplit( false );
                    html.interpolateImages(true);
                    URL base = new URL( "file:C:/" ); //Used for images, css, etc.
                    // alternatively base can be specified with <base href="..."> tag
                    html.render( isr, fos, base );Edited by: raj_pardeshi1986 on May 11, 2009 1:37 AM
    Edited by: raj_pardeshi1986 on May 11, 2009 1:38 AM

    This might be a good place to start: [http://pd4ml.com/support.htm] since this doesn't seem to be a Java problem.
    But if I had to guess I'd say the problem was here:
    new URL( "file:C:/" );Of course, since you haven't told us the problem...

  • Image is not displaying in page

    hi frnds
    i m uploading image , and then displaying image , but image is not displaying
    this code written in ONINPUTPROCESSING  and this code is working fine
    but problem is this
    the value if diplay_url is getting blank when it comes in layout
    * To Display this image on BSP
    CREATE OBJECT cached_response
                  TYPE
                    cl_http_response
                  EXPORTING
                    add_c_msg        = 1.
    cached_response->set_data( lv_file_content ).
                cached_response->set_header_field( name  = if_http_header_fields=>content_type
                                                   value = lv_file_mime_type ).
                cached_response->set_status( code = 200 reason = 'OK' ).
                cached_response->server_cache_expire_rel( expires_rel = 700 ).
    * generate GUID
                CALL FUNCTION 'GUID_CREATE'
                  IMPORTING
                    ev_guid_32 = guid.
                CONCATENATE runtime->application_url '/' wa_file INTO display_url.
                CONCATENATE  'http://siildev.siil.com:8001/' display_url INTO display_url.
                cl_http_server=>server_cache_upload( url = display_url
                                                     response = cached_response ).
    here display_url ='http://siildev.siil.com:8001/sap(bD1lbiZjPTc3Nw==)/bc/bsp/sap/zprbsp_002/aa.jpg'
    and in layout
    <% DATA:     display_url    TYPE  STRING. %>
    <iframe src="<%= display_url %>" width="100%" height="500px">
      </iframe>
    and here   display_url is blank
    so how i will get the value of display_url in layout
    Edited by: Guptaprashant on Apr 16, 2009 12:49 PM
    Edited by: Guptaprashant on Apr 16, 2009 12:50 PM

    Hi,
    according to your code, you define a local variable display_url in the layout of your page but without setting any value:
    <% DATA:     display_url    TYPE  STRING. %>
    <iframe src="<%= display_url %>" width="100%" height="500px">
      </iframe>
    I guess, you have also a page attribute or local variable in your eventHandler named display_url.
    So the local definition in the layout overrides the global page attribute an its value.
    Use just the page attribute to set the value on initialization and display it in the layout.
    Best regards,
    CW

  • Lots of garbage generated when Image is bound to a property that is null

    I noticed something odd -- I've written a program that displays some huge images in the background (1920x1200), but not all the items that are in the database actually have an image. Now, when an item is selected where the background image is null, and I simply set this image, I get a nice fade to black (so far so good).
    However, I noticed that as long as this "image" is being displayed something is generating about 1 MB of garbage on the heap every second. As soon as I switch to a real image again, this stops... and it starts again when I switch to the null image.
    Anybody notice the same? This seems like it might be a bug -- I'm thinking somekind of stacktrace is generated somewhere in the core but being swallowed.
    Workaround is to not set 'null' images I suppose :)

    That does seem very odd. Better follow this to make it know:
    https://forums.oracle.com/forums/ann.jspa?annID=1713

  • How To Display an Image in a Display Image Page Item

    i have a pageitem textbox called SearchBox , a Button called Search and a Display Image called Image
    i to display and image upon inserting an ID into the searchbox. It work alright if i put a static ID in the BLOB Column returned by SQL statement in Display Image
    Note the facialimage of datatype BLOB
    Sample
    ===
    select facialimage
    from voter_v
    where voterid= 34343434;
    But when i do it with a bind variable like the pageItem SearchBox
    it doesnt on the click of the Button
    what can be the problem
    Sample
    ===
    select facialimage
    from voter_v
    where voterid= :P1_VOTERSEARCH;

    Hi,
    can you please setup an example on apex.oracle.com and let me know the login credentials for the workspace. I think that will be the easiest to sort this out.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Image cannot be displayed (as htmltext) when published for Air, android and iphone

    Hi,
    I am using Adobe Flash CS5.5 (AS3) and am building an online rss reader which loads a rss(xml) feed as htmlText containing title, description (with html formatting, linkage and image).
    My rss format is roughly based on the online sample found at  *** http://movies.msn.com/rss/topcelebs
    ***sample code as given below***
    <description><![CDATA[<div><a href='http://movies.msn.com/celebs/celeb.aspx?c=153441&affid=100055'><img src='http://entimg.s-msn.com/i/150/Movies/Actors/Sheen_TD00988581054_150x200.jpg' title='Tyler Demogenes/Retna Ltd.' style='float:left;border:none'></a>
    <p>A leading man who has displayed a knack for action, comedy, and dramatic roles, "Charlie Sheen" is nearly as well known for his offscreen exploits as for his acting, though after suffering through scandals that would have ended many performers' careers, he overcame bad press and bad habits to enjoy a major comeback on television in the late '90s. "Charlie Sheen" was born Carlos Irwin Estevez to actor "Martin Sheen" (born "Ramon Estevez") and his wife, Janet Templeton, in 1965. By all accounts, young... [<a href='http://movies.msn.com/celebs/celeb.aspx?c=153441&affid=100055&mp=b'>more</a>]<br clear=all></div>]]></description>
    Success story
    All text and images are displayed from online as htmlText when published as SWF
    The problem/requirement
    Images are NOT displayed when published as AIR 2.6, AIR for Android or AIR for iphone
    Searched the net, but no success. The images are not visible/loading when the rss application is installed on mobile devices (Android and iPhone)
    Please help.
    Thanks in advance.

    Hi Colette
    Are you saying that there should be .hhc, .hhk, .hhp, etc. files for each topic?
    Those are project files and you would not see one for each topic. There is one (maybe more, depending on what you are doing) for each project.
    One thing you may wish to try is to enable the "Use lowercase file names" option in your SSL recipe.
    After you do this, generate and publish again.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7 or 8 moments from now - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcererStone Blog
    RoboHelp eBooks

  • Image does not display have editing

    I'm wondering if anyone is have this issue. On some of pictures after I make an edit (i.e. crop, spot/patch, etc). the image does not display. If I switch to full screen the updated image displays. When I switch back to the browser and viewer mode the image does not display in the viewer.
    This problem certainly makes editing pictures quite difficult.
    Any help would be great!!!
    Here's my system configuration:
    Aperture 2.1
    Mac Pro Dual Core 2.66Ghz
    5GB RAM
    2 x Nvidia GeForce 7300 Graphics Cards
    4 x 24" monitors.

    Karsten, thank you for your response, but the problem still seems to exist. I rebuilt my entire Aperture library then started to generate new previews. The rebuilt library and new previews work fine, however, again if I make an edit to the image and the apply the change the updated image does not display. If I resize the image in the viewer the image appears.
    This seems to be a very weird problem.

  • Images are not displaying(PHP MySQL)

    Hi,
    I've created a database table (MySQL) to store file path of images stored in a folder but the only problem is that the images are not displaying on the web page. Here's the procedure that I've used:
    -Placed the cusor at the insertion point (div).
    -Then selected 'Insert image' from the insert menu.
    -Selected 'data sources' in the select image dialogue box.
    -Selected the 'path' field in the recordset containing the image details of the images I want to display.
    -Then OK.
    Here's the code generated:
    <td colspan="3" nowrap="nowrap"><img src="<?php echo $row_rsBanner['path']; ?>" width="950" height="141"/></td>
    Here's the client side code generated:
    <td colspan="3" nowrap="nowrap"><img src="C:/xampp/htdocs/Dirwebclient/banner3A_mod.png" width="950" height="141"/></td>
    But the funniest thing is that if I pull the image as a background of the <td> (table data) it displays perfectly.
    Here's the code:
    <td colspan="3" nowrap="nowrap" background="<?php echo $row_rsBanner['path']; ?>" width="950" height="141"></td>
    Can someone please give an idea of how I can pull the image using the <img> tag and not as a background.

    Here's the source code from the browser for pulling the photo;
    <td height="126" colspan="3"><p align="center"><img src="C:/xampp/htdocs/Dirwebclient/banner3A.png" alt="jpeg" width="950" height="124" /></p></td>
    And here's the source code for the whole page (It's quite long because I had not yet mastered CSS);
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    <html xmlns="http://www.w3.org/1999/xhtml">
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>Untitled Document</title><style type="text/css">
    <!--
    @import url("links2.css");
    body {
    background-image: url();
    background-repeat: no-repeat;
    -->
    </style>
    <link href="style1.css" rel="stylesheet" type="text/css" />
    <link href="style2.css" rel="stylesheet" type="text/css" />
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <!--
    a:link {
    text-decoration: none;
    a:visited {
    text-decoration: none;
    a:hover {
    text-decoration: none;
    a:active {
    text-decoration: none;
    -->
    </style>
    <link href="links.css" rel="stylesheet" type="text/css" />
    <link href="copyright.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/AC_RunActiveContent.js" type="text/javascript"></script>
    <link rel="stylesheet" href="style.css" type="text/css" media="screen" />
    <script src="jquery-latest.pack.js" type="text/javascript"></script>
    <script src="jcarousellite_1.0.1c4.js" type="text/javascript"></script>
    <script type="text/javascript">
    $(function() {
         $(".newsticker-jcarousellite").jCarouselLite({
              vertical: true,
              hoverPause:true,
              visible: 2,
              auto:500,
              speed:1000
    </script>
    <style type="text/css">
    <!--
    a:link {
         text-decoration: none;
    a:visited {
         text-decoration: none;
    a:hover {
         text-decoration: underline;
    a:active {
         text-decoration: none;
    -->
    </style>
    <link href="links2.css" rel="stylesheet" type="text/css" />
    <link href="link2.css" rel="stylesheet" type="text/css" />
    <link href="categories.css" rel="stylesheet" type="text/css" />
    </head>
    <body>
    <div align="center">
      <table width="51%" height="539" border="3" align="center" bordercolor="#008FE6">
        <tr>
          <th scope="col"><table width="85%" height="518" border="1" align="center" bordercolor="#D2EEFF">
            <tr>
              <td height="126" colspan="3"><p align="center"><img src="C:/xampp/htdocs/Dirwebclient/banner3A.png" alt="jpeg" width="950" height="124" /></p></td>
            </tr>
            <tr bordercolor="#A6DDFF" bgcolor="#A6DDFF">
              <td height="26" colspan="3" bgcolor="#A6DDFF"><table width="579" border="0" align="left">
                  <tr>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=1" class="links">HOME</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=2" class="links">ABOUT US</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=3" class="links">SERVICES</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=4" class="links">CONTACTS</a></div></th>
                                    <th width="573" height="20" scope="row"><div align="left"><a href="visualindex2.php?recordID=5" class="links">BOOKING</a></div></th>
                                  </tr>
                </table>
                  <table width="220" border="0" align="right" cellpadding="0">
                    <tr>
                      <td width="248"><div align="right" class="style2">
                          <div align="center">
                            <!-- #BeginDate format:fcAm1a -->Saturday, May 19, 2012 1:07 AM<!-- #EndDate -->
                          </div>
                      </div></td>
                    </tr>
                </table></td>
            </tr>
            <tr>
              <td bordercolor="#FFFFFF" bgcolor="#D2EEFF"><table width="201" height="250" border="3" align="left" cellpadding="0" bordercolor="#7DCEFF" bgcolor="#D2EEFF">
                <tr>
                  <td width="215" height="164"><div align="left">
                      <table width="199" height="77" border="0" align="center" cellpadding="0" bordercolor="#7DCEFF">
                        <tr bgcolor="#A6DDFF">
                          <td width="215" height="35"><div align="center">
                              <span class="categories">CATEGORIES</span> </div>
                              </td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Plumbing</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Electricals</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Fittings</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Roofing</a>
                            <hr />
                          </div></td>
                        </tr>
                                            <tr>
                          <td height="36"><div align="left"><a href="visualindex2.php" class="links2">Electronics</a>
                            <hr />
                          </div></td>
                        </tr>
                                          </table>
                  </div>
                    &nbsp;</td>
                </tr>
              </table>
              <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p>
                <p>&nbsp;</p></td>
              <td height="256" bordercolor="#FFFFFF"><table width="500" height="251" border="3" align="center" bordercolor="#7DCEFF">
                  <tr bordercolor="#FFFFFF">
                    <td width="469" height="247" bgcolor="#FFFFFF"><script type="text/javascript">
    AC_FL_RunContent( 'codebase','http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0','width','499','height','245','src','images/slideview','quality','high','flashvars','flashlet={imageLinkTarget:\'_blank\',captionFont:\'Verdana\',titleFont:\'Verdana\',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:\'Fade\',titleColor:#333333,slideAutoPlay:true,imageURLs:[\'images/test2.JPG\',\'images/test.JPG\',\'images/test1.JPG\'],slideLoop:true,imageLinks:[\'http://macromedia.com/\',\'http://macromedia.com/\',\'http://macromedia.com/\'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:\'VISUAL CONCEPT MEDIA\'}','pluginspage','http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash','flash_component','ImageViewer.swc','movie','images/slideview' ); //end AC code
                    </script>
                      <noscript>
                      <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="499" height="245">
                        <param name="flash_component" value="ImageViewer.swc" />
                        <param name="movie" value="images/slideview.swf" />
                        <param name="quality" value="high" />
                        <param name="FlashVars" value="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['images/test2.JPG','images/test.JPG','images/test1.JPG'],slideLoop:true,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:'VISUAL CONCEPT MEDIA'}" />
                        <embed src="images/slideview.swf" quality="high" flashvars="flashlet={imageLinkTarget:'_blank',captionFont:'Verdana',titleFont:'Verdana',showControls:false,frameShow:false,slideDelay:5,captionColor:#333333,transitionsType:'Fade',titleColor:#333333,slideAutoPlay:true,imageURLs:['images/test2.JPG','images/test.JPG','images/test1.JPG'],slideLoop:true,imageLinks:['http://macromedia.com/','http://macromedia.com/','http://macromedia.com/'],frameColor:#333333,bgColor:#D2EEFF,imageCaptions:[],title:'VISUAL CONCEPT MEDIA'}" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="499" height="245"> </embed>
                      </object>
                      </noscript>                  </td>
                  </tr>
              </table></td>
              <td height="256" bgcolor="#D2EEFF"><table width="218" height="229" border="3" align="right" cellpadding="0" bordercolor="#7DCEFF" bgcolor="#EAF4F5" margin="0">
                  <tr>
                    <td width="198" height="188" bgcolor="#EAF4F5"><div id="newsticker-demo">
                      <div class="title">
                        <p class="categories">Latest News</p>
                      </div>
                      <div class="newsticker-jcarousellite">
                        <ul>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/5.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/4.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/3.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/2.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/1.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                                <li>
                            <div class="thumbnail"><img src="C:/xampp/htdocs/Dirwebclient/6.jpg" alt="jpeg" width="90" height="78" /></div>
                            <div class="info"> <a href="http://www.vladstudio.com/wallpaper/?knight_lady"></a> <span class="cat"></span> </div>
                            <div class="clear"></div>
                          </li>
                                              </ul>
                      </div>
                    </div>                <p>&nbsp;</p>
                      </td>
                  </tr>
              </table></td>
            </tr>
            <tr bgcolor="#A6DDFF">
              <td width="215" bgcolor="#D2EEFF" class="style2">&nbsp;</td>
              <td width="503" height="63" bgcolor="#A6DDFF" class="style2"><table width="479" height="61" border="0" align="center">
                  <tr>
                    <td width="558" height="57"><p align="center" class="style1">WELCOME TO VISUAL CONCEPT MEDIA</p>
                        <p align="left" class="style2">To redefine the default formatting of a specific HTML tag, select the Tag option and then enter an HTML tag in the Tag text box or select one from the pop?up menu.
    To define the formatting for a particular combination of tags or for all tags that contain a specific Id attribute, select the Advanced option and then enter one or more HTML tags in the Selector text box or select one from the pop?up menu. The selectors (known as pseudo?class selectors) available from the pop?up menu are a:active, a:hover, a:link, and a:visited.
    Select the location in which the style will be defined, and then click OK:
    To place the style in a style sheet that is already attached to the document, select the style sheet.
    To create an external style sheet, select New Style Sheet File.
    To embed the style in the current document, select This Document Only.
    In the CSS Rule Definition dialog box, select the style options you want to set for the new CSS rule. For more information, see the next section.
    When you are finished setting style properties, click OK.
    Note: Clicking OK without setting style options results in a new, empty rule.
    </p></td>
                  </tr>
              </table></td>
              <td width="219" bgcolor="#D2EEFF" class="style2"><table width="218" height="29" border="3" align="right" cellpadding="0" bordercolor="#7DCEFF">
                  <tr>
                    <td width="215"><div align="left">
                        <script src="http://connect.facebook.net/en_US/all.js#xfbml=1"></script>
                      </div>
                        <fb:like-box href="http://www.facebook.com/platform" width="205" show_faces="true" stream="false" header="true"></fb:like-box>
                      &nbsp;</td>
                  </tr>
                </table>
                <div align="right"></div></td>
            </tr>
            <tr>
              <td height="33" colspan="3" nowrap="nowrap" background="C:/xampp/htdocs/Dirwebclient/footer1.gif"><div align="center">
                <table width="374" align="center">
                  <tr>
                    <th class="copyright" scope="row">&copy VISUAL CONCEPT MEDIA 2011</th>
                  </tr>
                </table>
              </div></td>
            </tr>
          </table></th>
        </tr>
      </table>
    </div>
    </body>
    </html>

  • Probem when generating dynamic images when 2 servers is running!

    I'm running 2 servers, one for the admin and the other for my applications. I
    deploy my application (war and ear) on the application server. During the processs,
    I generate dynamic images and save it on de hard disk (in the related DefaultWebApp
    folder), so I can display it on a web page in the html. The problem is there
    is no images displaying. Then! when I restart the application server, the images
    will be displaying.
    I guest the problem is the application server do not refresh live(probing the
    relative path), so the context doesn't found any image.
    Anyone have a clue how to fix it?
    Tanx

    The Image class itself does not have any methods for loading images from files so you must be using something more. Most methods for loading images from files have an overload that lets you use a URL, so you just need to use that method with a call to getResource like in the other thread. If you can't think of anything else, you can use ImageIcon to load an Image (the Image is returned by a call to ImageIcon.getImage). See also "how to use icons" from the swing tutorial:
    http://java.sun.com/docs/books/tutorial/uiswing/misc/icon.html

  • Component image not getting displayed in Portal

    Hi All,
    I have added a jpg image to MIME folder in my component and used it as source for Image UI and also as a separator in Breadcrumb. When I run this web dynpro application in portal, the image is not getting rendered. I am getting cross mark instead of the image. But the image is getting displayed if I run the application as a stand alone application from SE80 -> Test. Once I do this, the image starts appering even in portal and again disappears after sometime.
    Could you please help me to resolve this issue?
    Thanks & Regards,
    Vishweshwara P.K.M.

    Vishweshwara,
    I hope you referred the MIME object in below way.
    '/sap/bc/webdynpro/sap/ZCOMP_EPI/SELECTED.JPEG'
    Where zcomp_epi is my component name and selected.jpg is mime object name. Check and let me know
    Regards
    Srinvias

  • Adf images not  getting displayed in th browser.

    Hi,
    I have image tag in my jsff file.
    The image is shown on preview.
    But when i run the application , the image is not displayed.
    Am using Firefox 3.6.6 and IE 7
    Tried using the following tags:
    <af:activeImage id="image" source="/WEB-INF/Images/logo.jpg"/>
    <af:image id="img" source="/WEB-INF/Images/logo.jpg"
    shortDesc="logo"/>
    Do i have enable anything for this ?

    Move your images to a folder outside WEB-INF. Anything under the WEB-INF folder cannot be accessed directly by the user. However, you can use a servlet to access images under WEB-INF.
    Timo

  • PDF Watermark - logo image is not displayed in ibr converted pdf

    Hi
    I have enabled pdf watermark administration and configured image watermark with rule, if the content type is document then the image watermark is to be applied but it is not displayed to the converted word document to pdf by IBR.
    If i change image watermark layer to "over", then image watermark is displayed, but word are displayed under the logo image watermark, so it is difficult to study the document.
    If the native file is pdf, then its image watermark is working fine.
    Thanks
    Deepak

    Hi ,
    I think this could be caused by the following :
    Check the factor set for Transparency and if it is completely opaque (Transparency =0%) then the converted PDF's will not show watermarks which has Layer set to UNDER.
    To get the watermarks displayed PPT's will need to be set to Transparency = 100% .
    The intention of the UNDER watermarking layer is that it should appear"behind" whatever is in the content layer.If the content layer completely covers the page and is opaque, then nothing behind it will be visible,including watermarks.The only reasonable solution is to check the above mentioned value before submitting the PPT's for conversion so that users are aware of this behavior for PPT's
    The above description if for PPT's where in this was found to be caused by the transparency factor of native PPT . If it is a word document then check for the same setting and set to 100% , then test .
    Hope this helps .
    Thanks,
    Srinath

Maybe you are looking for

  • How do I remove whitespace from a template header

    I am trying to work myself thru understanding html coding by using a dreamweaver template and creating a page for my company. I have used dreamweaver before CC, however I am trying to understand the new changes. I ran into a problem I am hoping to ge

  • Development of Forms in Oracle Identity Manager 9.1.0.2

    Hello friends, They can guide me to know how to make forms in Oracle Identity Manager 9.1.0.2. Thanks for your support.

  • How do you unlock a disabled Ipad

    i am not sure how to do this because i left it unatended and my brother disabled it. i am used to using the MP3 players so this is a huge change for me

  • Progress of update

    Hi friends, is there a possibility to see the progress of an update-statement, i.e. how many "rows" of the table have been processed already. We currently have a rather simple UPDATE-statement which cycles through a table with 135000 rows and after 9

  • Cannot delete smtp account

    I recently upgraded to snow leopard. I have two email accounts, one on mobile.me that i sucessfully added and one from work (Microsoft Exchange). I tried to add the exchange account but was unable to establish the account. I found later that day that