Results 1 to 6 of 6
  1.    #1  
    I am planning on developing an application but have very little experience and have so far done the Hello World program on the PRE.

    My issue is that when I try to put an image in the application it won't show up. I have it in the same directory as the application but still no luck. Below is what I have in the code:

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    >
    <html xmlns="nnn://nnn.w3.org/1999/xhtml" xml:lang="en">
    <head>
    <title>Hello Earth</title>
    <script src="/usr/palm/frameworks/mojo/mojo.jsjsjs&$quot$; $type$=&$quot$;$text$/$javascript$&$quot$; $x$-$mojo$-$version$=&$quot$;$1$&$quot$; /&$gt$;

    <!-- application stylesheet should come in after the one loaded by the framework -->
    <link href="stylesheets/helloearth.css" media="screen" rel="stylesheet" type="text/css" />
    </head>
    <body>


    <h2>I made an application</h2>
    <img border="0" src="/tn_IMG_0110.jpg" width="304" height="228" />






    </p>
    </body>
    </html>
  2. kesne's Avatar
    Posts
    471 Posts
    Global Posts
    491 Global Posts
    #2  
    just remove the / before the image, check your case, the code looks alright.
  3.    #3  
    Ok I removed it but still did not show up in the app. Any ideas as to why?
  4. kesne's Avatar
    Posts
    471 Posts
    Global Posts
    491 Global Posts
    #4  
    Quote Originally Posted by Hermes2009 View Post
    Ok I removed it but still did not show up in the app. Any ideas as to why?
    Make sure you have the same case and everything, troubleshoot.
  5.    #5  
    Nice bro it was JPG instead of jpg......... wow so minute of an issue. Any thoughts on learning some more advanced stuff? Is the programming like C++ or a bit different?
  6. #6  
    Quote Originally Posted by Hermes2009 View Post
    Nice bro it was JPG instead of jpg......... wow so minute of an issue.
    Unix is case-sensitive. The file picture.JPG is not the same file as picture.jpg

Posting Permissions