Images don't always display

At
http://debseitz.com/press.htm,
the Cosmik Interview doesn't display the images all the time, yet
sometimes it does. All help fixing that is welcome!
Thanks

You have a couple minor validation errors but nothing that
would cause the issue you are describing. When I loaded the page
there did not appear to be anything missing. Is there a specific
image on that page which has been giving you problems?

Similar Messages

  • Images won't always display in a region

    I have a confusing problem. I have loaded 5 gifs on my local version of APEX and designated them as application only.
    To display an image in a region, I use:
    <img src="#APP_IMAGES#AJ01.GIF">
    That gif displays. If I choose any other gif, I get the "broken image" icon.
    I have tried the same steps on the Hosted site and two of the five gifs work.
    I have also tried #IMAGES_PREFIX# with no application selected and that does help.
    Can you point me in the right direction?

    Hi,
    your example code doesn't show. You have to use a space between < and img or use some other sign like [ instead.
    About your problem. Use
    &lt;img src="#APP_IMAGES#yourimage.gif">if you uploaded the file to Shared Components\Images and assigned it to your application. <b>Note:</b> Check that you really assigned it to the correct application.
    Or use
    &lt;img src="#WORKSPACE_IMAGES#yourimage.gif">if you uploaded it into Shared Components\Images but didn't assign it to an application.
    #IMAGES_PREFIX# is just used if you copy it into the APEX <b>images</b> directory onto the web-server. But you shouldn't do that, you should always put it into your own directory.
    Hope that helps to solve your problem.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Nano cover art issues (covers loaded, but don't always display)

    Just picked up an 8GB Nano yesterday, and while the whole idea of having cover art displayed is nice and all, it doesn't seem to be working correctly. I can load the art just fine, and it displays in the Cover Flow view (after a small delay when loading each one), but when just playing the songs and moving back and forth between them with the next/previous buttons (even within the same album), the album art seems to always disappear after one or two songs, only to be replaced by the increasingly-irritating "music note on a gray square".
    Is this a known issue with the 3G Nanos (or iPods in general), or am I looking at a defective unit?

    I actually thought of that last night after I posted that, so I did a test:
    I played the first song in an album that had cover art present. When I hit the "next track" button, the album art promptly disappeared. I then went back to the previous menu and went straight to the song where the cover art disappeared and selected that one. Once again, hitting the "next track" button made the album artwork disappear.
    I'm not a huge fan of iTunes, though, so I've been using Winamp to manage the Nano, especially since I can have Winamp automatically get cover art for songs without having to give it a credit card number.

  • My Code Samples Don't Always Display

    I have table that contain code samples. The help system
    renders everything except the code. If I reload, the code appears:
    http://help.marketbright.com/index.html#adding_tracking_codes.htm
    What's the proper way of "wrapping" code samples so that it's
    not considered part of the help topic's html? I don't know if
    that's the cause, but I thought I'd ask.
    Thank you,
    Angela

    I'm not clear on the problem here. I followed your link and
    the code displays OK. Please explain where things are not working.
    Putting code in a table as you have done and letting the
    table force the wrapping is an accepted way of displaying code.

  • 3.1 Bug? - Images don't display properly after upgrade to 3.1 from 3.0

    When pages are displayed after the upgrade, the image appears the first time the page is opened. Once a user goes to another page, then come back to the page with the image, the image is no longer displayed.
    This happens when the browser is set to "Check for newer versions of stored pages". When it checks for the new version, the image is not displayed.
    This looks like a Bug? Is someone working on a fix for this?
    Thanks.
    - Scott

    Scott,
    Thanks for this information. It is very helpful. May I put you through one last contortion, please?
    I would like to see what information is being passed in the HTTP header in the request for one of these broken images. If you have Live HTTP Headers or Firebug for Firefox, or Fiddler for IE, this should hopefully be easy. You don't seem technically challenged in the least, but just for the record, here's what I did using Firefox:
    1) Ran the Timesheets application
    2) For the very first icon on the left "My Timesheets", I right-clicked my mouse and chose "Copy Image Location"
    3) I opened up a new tab in Firefox and pasted the URL and then hit enter to retrieve the image
    4) I turned on Live HTTP headers and then clicked Refresh in my browser.
    I am most interested in the If-Modified-Since HTTP header. The full request on my system was:
    GET /pls/apx11c/wwv_flow_file_mgr.get_file?p_security_group_id=191046216955701077&p_fname=eba_timesheets.png HTTP/1.1
    Host: apexdev.us.oracle.com:7778
    User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.12) Gecko/20080201 Firefox/2.0.0.12
    Accept: text/xml,application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
    Accept-Language: en-us,nl,it;q=0.9,en-gb;q=0.9,ja;q=0.8,de;q=0.8,zh-CN;q=0.7,zh-tw;q=0.7,en;q=0.6,af;q=0.6,fr;q=0.5,pt-br;q=0.5,ko;q=0.4,ca;q=0.4,de-ch;q=0.3,zh;q=0.3,bn;q=0.2,ja-JP;q=0.2,fr-ca;q=0.1,ru;q=0.1,ru-RU;q=0.0
    Accept-Encoding: gzip,deflate
    Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
    Keep-Alive: 300
    Connection: keep-alive
    If-Modified-Since: Wed, 20 Feb 2008 22:54:09 GMT
    If-None-Match: "1951996202472197182454517155409"
    Cache-Control: max-age=0Thanks in advance.
    Joel
    P.S. I nuked the Cookie line of the request, as it contained my e-mail address and I want to avoid the Web harvesters of e-mail addresses.

  • Image display (Image don't appear the first time?)

    Applet at: http://saladinsite.tripod.com/Project/MiniProject.htm
    Code at and Bottom: http://saladinsite.tripod.com/Project/MiniProject.java
    Hi,
    I just created my very first applet. It's a simple quiz. I'll agree it's very unefficient.. but heh.. good for first try.
    There is a lil problem I am having. Sometimes when I load the applet, the background image don't show up. Sometimes, the happy/cry images (corresponding to right/wrong answer) don't show up (check the applet to see what I am talkin about) It only happens once tho. It's strange. Take a look at the applet, you will see. Btw: It's not the downloadin of image that cuzes the bug. Same problem happens in appletviewer. If it doesn't appear the first time, the next time you go back to it, it will appear.
    My teacher has also struggled with this problem but failed. Hope you guys can help me out.
    Thanks,
    Gant
    LONG Code again:
    import java.awt.*;
    import java.applet.*;
    import java.net.*;
         public class MiniProject extends Applet implements Runnable {
              boolean flag=true;
              Image happy,cry,cartoon,test,buffer;
              Graphics bufferg;
              Thread main;
                   int x = 50;
                   int y = 50;
                   int a,b,c;
                   String str;
                   double score =0;
                   double correct = 0.0;
                   TextField txt, percent, invis;
                   String boxName[] = {"Addition (+)", "Substraction (-)","Multiplication (x)","Division (�)"};
                   CheckboxGroup checkGr = new CheckboxGroup();
                   AudioClip RedMove, Applause, BadMove, NewGame, sad;
              public void init() {
                   URL codeBase = getCodeBase();
                   happy = getImage(getCodeBase(),"happy.gif");
                   cry = getImage(getCodeBase(),"cry.gif");
                   cartoon = getImage(getCodeBase(),"cartoon.gif");
                   test = getImage(getCodeBase(),"test.gif");
                   RedMove = getAudioClip(codeBase, "RedMove.au");
                   Applause = getAudioClip(codeBase, "Applause.au");
                   BadMove = getAudioClip(codeBase, "BadMove.au");
                   NewGame = getAudioClip(codeBase, "NewGame.au");
                   sad = getAudioClip(codeBase, "sad.au");
                   invis = new TextField("",1) ;
                   invis.setVisible(false);
                   setBackground(Color.white);
                   setLayout(new BorderLayout() );
                   Panel p1 = new Panel();
                   add("South",p1);
                   p1.setBackground(Color.gray);
                   p1.add(new Button("Start") );
                   p1.add(new Button("Exit") );
                   p1.add(new Button("Help") );
                   p1.add(new Button("Credits") );
                             p1.add(new Label(" Score in (%):") );
                             percent = new TextField("",3);
                             percent.setEditable(false);
                             percent.setBackground(Color.gray);
                             p1.add(percent);
                   Panel p2 = new Panel();
                   p2.setBackground(Color.gray);
                   add("North",p2);
                   p2.add(new Label("Quiz with: ") );
              Panel p3 = new Panel();
              p3.setLayout(new FlowLayout(FlowLayout.CENTER, 25, 75));
                   txt = new TextField("", 3);
                   txt.setText("");
    txt.setEditable(false);
                   Font f = new Font("Helvetica", Font.BOLD, 36);
                   txt.setFont(f);
              p3.add(txt);
              add("East",p3);
              p3.setBackground(Color.white);
              for (int i=0; i<boxName.length; i++)
                   p2.add(new Checkbox(boxName, checkGr, false) );
              buffer=createImage(size().width,size().height);
              bufferg=buffer.getGraphics();
              startM();
         } //end init
              public void run(){
              while(main!=null){
                   try {
                   main.sleep(50);
                   catch(Exception e){}
         public void stop(){
              if(main!=null){main.stop();}
         public void startM() {
                        bufferg.setColor(Color.white);
                        bufferg.fillRect(0,0,400,400);
                        bufferg.setColor(Color.black);
                             Font f = new Font("Helvetica", Font.PLAIN, 14);
                             bufferg.setFont(f);
                             bufferg.drawImage(cartoon,0,50,this);
                        bufferg.drawString("^ Click on a Quiz above to begin!", 25,47);
                        txt.setEditable(false);
                        txt.setBackground(Color.white);
                        txt.setText("");
                        percent.setText("");
                             Font f4 = new Font("Helvetica", Font.BOLD, 28);
                             bufferg.setFont(f4);
                             bufferg.setColor(Color.red);
                             bufferg.drawString("WELCOME!",15,90);
                             bufferg.setColor(Color.black);
                             bufferg.drawString("to the Interactive",55, 155);
                             bufferg.drawString("Grade 9 Math Quiz",85, 200);
                             Font f5 = new Font("Helvetica", Font.PLAIN, 18);
                             bufferg.setFont(f5);
                             bufferg.drawString("Designed by: Wasay R.",175,360);
         public void clearM() {
              bufferg.fillRect(0,0,450,400);
         public boolean action(Event evt, Object obj) {
              if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Credits") ) {
                             NewGame.play();
                             URL url = getCodeBase(); // get url of the applet
                             try {
                        getAppletContext().showDocument (new URL(url+"credits.htm"));
                             } catch(MalformedURLException e) {
                             showStatus("URL not found");
              if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Help") ) {
                             NewGame.play();
                             URL url = getCodeBase(); // get url of the applet
                             try {
                        getAppletContext().showDocument (new URL(url+"help.htm"));
                             } catch(MalformedURLException e) {
                             showStatus("URL not found");
              if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Exit") ) {
                             NewGame.play();
                             URL url = getCodeBase(); // get url of the applet
                             try {
                        getAppletContext().showDocument (new URL(url+"end.htm"));
                             } catch(MalformedURLException e) {
                             showStatus("URL not found");
              if (evt.target instanceof Checkbox && flag) {
                   flag=false;
                   NewGame.play();
                   txt.setEditable(true);
                   Color c = new Color(204,204,204);
                   txt.setBackground(c);
                   bufferg.setColor(Color.white);
                   clearM();
                   handleCheckbox(evt);
                   if (evt.target instanceof Button) {
                   String butLabel = (String) obj;
                        if (obj.equals("Start") ) {
                             flag=true;
                             y=50;
                             x=50;
                             score=0;
                             correct=0;
                             startM();
              if (evt.target==txt && score<10) {
                   String find = (invis.getText() ).substring(0,1) ;
                   if (find.equals("+")) {
                             handle2();
                             paint( Create(0) );
                             txt.setText("");
                             score++;
                   else if (find.equals("-") ) {
                        handle2();
                        paint( Create(1) );
                        txt.setText("");
                        score++;
                   else if (find.equals("x") ) {
                        handle2();
                        paint( Create(2) );
                        txt.setText("");
                        score++;
                   else if (find.equals("/") ) {
                        handle2();
                        paint( Create(3) );
                        txt.setText("");
                        score++;
              if (score==10) {
                   if (correct>=5 && !(evt.target instanceof Checkbox) )
                        Applause.play();
                   else if (correct<5 && !(evt.target instanceof Checkbox) )
                        sad.play();
                   txt.setText("");
                   txt.setBackground(Color.white);
                   txt.setEditable(false);
                        bufferg.setColor(Color.white);
                        bufferg.fillRect(100,100,350,75);
                        bufferg.setColor(Color.black);
                        bufferg.drawRect(65,110,225,75);
                             Font f = new Font("Helvetica", Font.BOLD, 28);
                             bufferg.setFont(f);
                             bufferg.setColor(Color.red);
                             bufferg.drawString("Quiz Complete!", 75,143);
                             Font f2 = new Font("Helvetica", Font.PLAIN, 18);
                             bufferg.setFont(f2);
                             bufferg.setColor(Color.black);
                             bufferg.drawString( ("Your Score: " + String.valueOf( Math.round( (correct/score*100)/0.01 )*0.01 )+"%"),101,170);
                             Font f3 = new Font("Helvetica", Font.PLAIN, 14);
                             bufferg.setFont(f3);
                             bufferg.drawString("Click Start and select a Quiz at the Top to begin",19,240);
                             bufferg.drawRect(10,227,326,0);
                             bufferg.drawRect(336,38,0,189);
                             bufferg.drawRect(10,243,326,0);
                             bufferg.drawRect(10,243,0,85);
              percent.setText( String.valueOf( Math.round( (correct/score*100)/0.01 )*0.01 ) );
              repaint();
              return true;
                   private void handle2() {
                        str = invis.getText();
                             Font f = new Font("Helvetica", Font.BOLD, 14);
                             bufferg.setFont(f);
                             bufferg.drawString("Correct:",15,70);
                             bufferg.drawString("Incorrect:",4,345);
                        if ( (str.substring(0,1) ).equals("+") )
                             if (Integer.parseInt(txt.getText() )==(a+b) ) {
                                       invis.setText("+correct");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++;
                                       RedMove.play();}
                             else {
                                       invis.setText("+wrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
                        else if ( (str.substring(0,1) ).equals("-") )
                             if (Integer.parseInt(txt.getText() )==(a-b) ) {
                                       invis.setText("-correct");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++; RedMove.play();}
                             else {
                                       invis.setText("-wrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
                        else if ( (str.substring(0,1) ).equals("x") )
                             if (Integer.parseInt(txt.getText() )==(a*c) ) {
                                       invis.setText("xcorrect");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++; RedMove.play();}
                             else {
                                       invis.setText("xwrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
                        else if ( (str.substring(0,1) ).equals("/") )
                             if (Integer.parseInt(txt.getText() )==(a/c) ) {
                                       invis.setText("/correct");
                                       x+=25;
                                       bufferg.drawImage(happy,x,50,this);
                                       correct++; RedMove.play();}
                             else {
                                       invis.setText("/wrong");
                                       y+=25;
                                       bufferg.drawImage(cry,y,325,this);
                                       BadMove.play();
              public String Multi() {
                        a = ( (int) (Math.random()*100) )+10;
                        c = ( (int) (Math.random()*10) );
                   while(c==0 || c==1)
                        c = ( (int) (Math.random()*10) );
                   String a1 = String.valueOf(a);
                   String a2 = String.valueOf(c);     
                   return (a1+" x "+a2+" = ");
                   public String Divi() {
                        a = 2*( (int) (100*Math.random() ) )+2;
                        c = 2*( (int) (10*Math.random() ) )+2;
                        while (a%c!=0)
                             c = 2*( (int) (10*Math.random() ) )+2;
                   String a1 = String.valueOf(a);
                   String a2 = String.valueOf(c);     
                   return (a1+" � "+a2+" = ");
              public Graphics Create(int i) {
              repaint();
              Dimension d=size();
              bufferg.setColor(getBackground());
              bufferg.fillRect(100,100,350,75);
              bufferg.setColor(Color.yellow);
                   a = ( (int) (Math.random()*100) );
                   b = ( (int) (Math.random()*100) );
                   String a1 = String.valueOf(a);
                   String a2 = String.valueOf(b);
                   Font f = new Font("Helvetica", Font.BOLD, 36);
                   bufferg.setFont(f);
                   bufferg.setColor(Color.black);
                   if (i==0)
                        bufferg.drawString(a1+" + "+a2+" = ", 145,150);
                   else if (i==1)
                        bufferg.drawString(a1+" - "+a2+" = ", 145,150);
                   else if (i==2)
                        bufferg.drawString( Multi() , 145,150);                    
                   else if (i==3)
                        bufferg.drawString( Divi() , 145,150);
                        return bufferg;
         private void handleCheckbox(Event evt) {
              Checkbox cb = (Checkbox)evt.target;
                   String str = cb.getLabel();
                   bufferg.drawImage(test,0,50,this);
                   if (str==boxName[0]) {
                        paint( Create(0) );
                        invis.setText("+");
                   else if (str==boxName[1]) {
                        paint( Create(1) );
                        invis.setText("-");
                   else if (str==boxName[2]) {
                        paint( Create(2) );
                        invis.setText("x");
                   else if (str==boxName[3]) {
                        paint( Create(3) );     
                        invis.setText("/");
         } //end handleCheckBox
         public void update(Graphics g){
              paint(g);
         public void paint(Graphics g) {
              g.drawImage(buffer,0,0,this);
    }//end class

    Its not easy to follow your code without the [ code] +[ /code] tags and your link may as well not be there, the code one. I would resolve this by reducing the overhead ie: stripping down the code as much as I could and then adding them back one by one. DIVIDE and CONQUER!!!
    1. Take out the audio data (I suspect this may be the key problem)
    2. Take out the Thread 'main' and have an actionListener attached to your answer field to handle the changes
    3. Take out java.net and your URLs
    4. use a MediaTracker and WaitForAll()
    5. Strip it down further - AS MUCH AS YOU CAN (you can easily reassemble it quickly again) and then look at the program flow
    6. Add more boolean logic to give you control over all your elements ie
    if(myAnswer==answer) smiley=true;
    else smiley = false;
    // or whatever, as I said I could only scan through your code as it is difficult to read in its present format.
    Finally: this is good work I like the smileys and the instant %'s, the general layout, good /intelligent use of random() to generate different Q's each time. It's a good application, just remember that applets can be unreliable and I think your basic problem is that you have too much data here.
    Strip it right down, focus on your logical flow and then put back the elements one-by-one

  • CS5 Design View: local page + images on server - images don't display

    I've recently upgraded to DW CS5. I sometimes have occasion to design pages containing images that are on the server.
    In DW8, images on the server would display in Design View.
    In DW CS5, images on the server display a broken image icon in Design View.
    Yes, I know I can switch to Live View, but I'd rather not, as I find Live View very difficult to edit in (if at all; I can somewhat edit in the code, but what's the point?). I'd far rather be able to see the images as I'm writing the page in Design View.
    Am I missing some setting somewhere, or is this the way it is?

    function(){return A.apply(null,[this].concat($A(arguments)))}
    Diane Vigil wrote:
    I found it under View > Display External Files.
    Thanks so much for this. Really appreciated.
    Used to be under the Commands menu long ago. Obviously relocated to the View menu.
    That means that Adobe's own online Help docs for CS5 are incorrect.
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7cc1a .html
    Note: When inserting images it’s also possible to use an absolute path to an image that resides on a remote server (i.e., an image that is not available on the local hard drive). If you experience performance problems while working, however, you might want to disable viewing the image in Design view by deselecting Commands > Display External Files.

  • Bookmarks are always displayed and we don't want them.

    When I open any pdf file, bookmarks are always displayed. I do not use bookmarks, and would like to turn that feature off.  How do I disable them from opening automatically when I open a document?

    (This may or may not work) I found it in anothert thread.
    SOLUTION for hiding navigation panel in Adobe:
    1. When the navigation panel is opened, left-click and drag each individual icon to the right so that you pull it off the navigation panel and they each become bigger floating pop-up windows.
    2. Now continue doing this for all icons until the navigation panel is entirely gray.
    3. Click on the "X" in the upper right hand side until you close all those pop-up windows.
    4. Right click on the navigation panel gray area and click "hide".
    5. Now that navigation panel will be gone whenever you open up Adobe.
    I've found in both Windows and Mac  that if I close the panel and then close Reader, it doesn't open again.

  • Some images don't load in Firefox 5.0, but show fine in IE, Chrome, Safari, & Firefox 3.6.

    Some simple GIF images don't display or sometimes only partially display in Firefox 5.0 running Windows 7, on my web site: <br>
    http://www.tulane.edu/~sanelson/eens1110/igneous.htm
    <br><br>
    The images are some of those on the right and side below "Origin of Magma". The images do show up in Firefox 3.6, IE9, Chrome, and the iOS version of Safari. What could be causing this?

    *Check the permissions for the domain in the current tab in "Tools > Page Info > Permissions"
    *Check that images are enabled: Tools > Options > Content: [X] Load images automatically
    *Check the exceptions in "Tools > Options > Content: Load Images > Exceptions"
    *Check the "Tools > Page Info > Media" tab for blocked images (scroll through all the images with the cursor Down key).
    If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.
    There are also extensions (Tools > Add-ons > Extensions) and security software (firewall, anti-virus) that can block images.
    *https://support.mozilla.com/kb/Troubleshooting+extensions+and+themes

  • In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    In Mail 3.6 remote images in HTML messages display as blue squares with ? even though checked in viewing references.

    Nurit,
    The point is that that button should not be there, if the preference setting is as you say. This indicates the preference setting is stuck, and that is what I was trying to help you resolve.
    The full purge is done as follows:
    Quit Mail, and in the Finder open Home/Library and locate the Mail folder. Control-click over the Mail folder, and choose Duplicate -- then drag the resulting copy to the Desktop for temporary backup. Next, open Home/Library/Preferences and find the com.apple.mail.plist file and drag it to the desktop.
    Relaunch Mail, which will open as though new, and when prompted to import anything DECLINE. Instead, re-enter your account info, and Mail will re-discover the account folders for your accounts, and all should be well, after setting preferences as you desire.
    Ask any needed questions, and keep us posted.
    Ernie

  • The PDF output is not always displayed!

    Hello
    I'm tryin' to build some PDF outputs and I have the next problem: I have 20 reports to make it on PDF form (viewed with the Acrobat plugin from IE 5.5 or higher) and when I try to see what was builded the PDF it's not always displayed ( mean it's not readed by the plugin). I generate the PDF output from a servlet (which also set the servlet output context as 'application/pdf') and, if the output it's generated too fast (meanning the report information was too small), the Acrobat plugin doesn't catch him ! I think that I have to slow down the servlet response to allow the plugin complete loading, but I don't khow how to do this (and, ofcourse, if it's possible).
    Please, I need a solution. !
    Thanx!

    Hi,
    setting content type as application/pdf is quite enough for the plugin to catch
    I generate the PDF output from a servlet
    (which also set the servlet output context as
    'application/pdf') and, if the output it's generated
    too fast (meanning the report information was too
    small), the Acrobat plugin doesn't catch him !but i think IE has a problem catching this, cause i also once ran thro this kind of problem
    I think that I have to slow down the servlet response to allow
    the plugin complete loading, but I don't khow how to
    do this (and, ofcourse, if it's possible). Yes it is possible.... if ur sevrvlet ehich is displaying pdf is http://host/PdfServert
    just make in such a way that the extention is pdf..
    http://host/PdfServert?xy=z.pdf or register the servlet with .pdf ext
    http://host/PdfServert.pdf...
    belive it really worked perfect for me..
    regards,
    Arun.N

  • Images don't send properly

    Starting since yesterday, I've been having trouble every time my friend tries to send me an image file.
    For any other file (such as .txt) the thumbnail on skype comes up,  I click the download button, it asks me where to save it and what to name the file, the progress wheel starts going, and the file transfers as it properly should.
    However, whenever my friend sends me an image file (We've tried with numerous different formats such as jpg, png, all of them are affected) the thumbnail comes up, but as soon as I click the download arrow icon, the icon just dissapears and gives no indication what's happened, or any option to select the name or where its saved to. If I click the image it opens in my image program, but it's name has been changed from what my friend sent to something in the format of
    ^a huge string of alphanumeric characters^pimgpsh_fullsize_distr.[jpg/png/ et al]
    additionally, whereas with any other file I can right-click and select "show in folder", images don't offer that option when right-clicked in skype
    I've extensively experimented with the ims sending options, trying to see if changing it to a fixed destination folder or auto-accepting but nothing's changed where they're saved. I finally managed to find the file path and found they're being saved to:
    C:\Users\The\AppData\Roaming\Skype\Name#\media_messaging\media_cache
    I just tested going the other way with my friend and he has the same problem now too.
    The closest thing to a 'solution' my friend and I have found is to .zip the images before sending them. How do I change it back so that I can pick where incoming images are saved to and what they're named?
    I'm on version 7.0.0.102 of skype on Windows 7 32bit
    Solved!
    Go to Solution.

    If you right click on the in-line thumbnail to save it then you will get the original unmodified .jpg  or .png file.  It's a cache folder so they could technically call it what they want even if they don't follow the normal file extension standard and file type.  I can rename my picture files all day long to a supported file type and a majority of image viewers won't bark about the extension being wrong before displaying the image.  You could see if Irfanview has an option to disable the warning or switch to another image viewer like the default Windows image viewer, photo gallery, Microsoft paint, or even Adobe Photoshop which probably won't issue a warning as well for a few of the major file type extensions.  In the end all you are viewing is a full size thumbnail which is the closest to the original image if you choose not to right click on the thumbnail and save the image with the original filename and type.

  • Need help with image upload and preview display

    hi guys,
    I'm trying to upload image and then display it as a preview, but when upload form submits to the same page image placeholder does not refreshes it's source and displays the same image as before.
    Image 4.jpg already exists.
    I upload it with nameConflict = "overwrite"
    upload form points to the same page, therefore page reloads
    In IE image placeholder does not display the new image, but shows the old one until I refresh the page with F5 and resend information, however if checked, image in the file is already different.
    In Firefox, sometimes it works and image refreshes, sometimes not.
    any help would be greatly appreciated!
    cheers,
    Simon

    Hi Daverms,
    With your code you suggest to not only upload the image but make a database entry too. However my intention is to firstly upload the file, and show a preview. Then if user is satisfied with what he sees, he presses "aprove" button and therefore makes a datase entry. Then the photo number will increase by one.
    Until user is not aproving the photo he can upload any image again and again, but the new image will be always given the same name (example 4.jpg) and overwriting the old one.
    I believe the problem persists because browsers are loading image with the same name from the cache, and not from the actual location. Therefore when I refresh the page it catches the correct image.
    If I follow your code, every time I upload the image, name of it is different, therefore browser cannot find it in the cache and is forced to load one from the server.
    I wonder is there any way to avoid this cache problem?
    cheers,
    Simon

  • ATTACHED IMAGES DON'T LOAD OR SHOW IN HOTMAIL BCCs TO MYSELF

    I am currently running FF 3.6.18.
    I have never had this problem before.
    Worked fine up until Tuesday JUL. 19.
    Whenever I send an email to someone w/ attached image files,
    I always BCC myself to see that everything went through okay.
    As of 2 days ago, the images/slideshow won't load or show up in the BCC to myself - in Firefox.
    It says "Loading... If it's taking too long, click here" and if I click that, all I get is the clickable file names - but no actual images.
    BUT the attached images DO show up in IE (which I NEVER use, lol).
    Several people I've sent images to (in AOL and Yahoo, so far) CAN see the images - but they don't use Firefox.
    Is this an MSN / Hotmail problem specifically?
    I sent pics to a friend who also uses Firefox - he CANNOT see the attached images in his Hotmail, but he CAN see them in Yahoo.
    I am ... confused. :o
    thank you,
    June :)

    I'm having the same problem on multiple computers, and multiple browsers - FF and Safari.
    Would be interested to know if anyone has come across a solution to this problem.
    Interestingly, it doesn't affect IE, which almost leads me to think that Microsoft have disabled this for use on other browsers on purpose...

  • Problem in Retrieve Image from DB and display in the JSP page

    Hi All,
    I did one JSP Program for retriveing image from DB and display in the JSP Page. But when i run this i m getting "String Value" output. Here i have given my Program and the output. Please any one help to this issue.
    Database Used : MS Access
    DSN Name : image
    Table Name: image
    Image Format: bmp
    Output : 1973956
    Sample Program:_
    <%@ page contentType="text/html;charset=windows-1252"%>
    <%@ page import="java.io.*" %>
    <%
         try{
              Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
              Connection conn = DriverManager.getConnection("jdbc:odbc:image");
              Statement st = conn.createStatement();
              ResultSet rs = st.executeQuery("SELECT images FROM image");
              String imgLen="";
              if(rs.next()){
                   imgLen = rs.getString(1);
                   out.println(imgLen.length());
              if(rs.next()){
                   int len = imgLen.length();
                   byte [] rb = new byte[len];
                   InputStream readImg = rs.getBinaryStream(1);
                   int index=readImg.read(rb, 0, len);
                   System.out.println("index"+index);
                   st.close();
                   response.reset();
                   response.setContentType("image/jpg");
                   response.getOutputStream().write(rb,0,len);
                   response.getOutputStream().flush();
         }catch(Exception ee){
              out.println(ee);
    %>
    Thanks,
    Senthilkumar S

    vishruta wrote:
    <%
    %>Using scriptlets is asking for trouble. Java code belongs in Java classes. Use a Servlet.
                   out.println(imgLen.length());Your JSP was supposed to write an image to the output and you wrote some irrelevant strings to the output before? This will corrupt the image. It's like opening the image in a text editor and adding some characters before to it.
                   byte [] rb = new byte[len];Memory hogging. Don't do that.
              out.println(ee);You should be throwing exceptions and at least printing its trace, not sending its toString() to the output.
    You may find this article useful to get an idea how this kind of stuff ought to work: [http://balusc.blogspot.com/2007/04/imageservlet.html].

Maybe you are looking for