1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Apache Server won't display .jpg image

Discussion in 'Apache' started by JohnD2117, Jun 26, 2017.

  1. #1
    I have set up an Apache 2.2 server, for home use, on a Windows 10 machine. So far I have created a simple html (index) file using Expression Web 4. In the file I have this line of code:

    <img alt="" height="480" src="../../OneDrive/Pictures/Jean/IMG_20170410_114735.jpg" width="640"></p>

    The problem is, when I view the site in IE, the .jpg doesn't show.

    Has anybody got any suggestions please?
    SEMrush
     
    JohnD2117, Jun 26, 2017 IP
    SEMrush
  2. billzo

    billzo Well-Known Member

    Messages:
    961
    Likes Received:
    278
    Best Answers:
    15
    Trophy Points:
    113
    #2
    billzo, Jun 26, 2017 IP
  3. JohnD2117

    JohnD2117 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #3
    Thanks for that. Your reply made me take another look at what I'd done. I created the web page on m y laptop and moved it to the server without changing the directory path for the image file. Dah. This is my first attempt at a site.
     
    JohnD2117, Jul 1, 2017 IP
  4. billzo

    billzo Well-Known Member

    Messages:
    961
    Likes Received:
    278
    Best Answers:
    15
    Trophy Points:
    113
    #4
    That's okay. Everybody was a newbie once. One thing I have found about tech people and especially programmers is that they love to help other people learn the craft. Technology people are really cool. So stop by if you have more questions or want to learn.
     
    billzo, Jul 1, 2017 IP
  5. JohnD2117

    JohnD2117 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #5
    OK. Will do. :)
     
    JohnD2117, Jul 1, 2017 IP
  6. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,626
    Likes Received:
    719
    Best Answers:
    151
    Trophy Points:
    420
    #6
    Just a question - is there a reason why you've selected Apache 2.2? It's fairly outdated, the latest is 2.4.3x-something, IIRC. Not that it will prevent you from learning, but it might be worth updating, and maybe look into which versions of MySQL / PHP you have installed, if you've added those too.
     
    PoPSiCLe, Jul 3, 2017 IP
  7. JohnD2117

    JohnD2117 Peon

    Messages:
    7
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #7
    Thanks for that PoPSiCLe (that's difficult to type :) ). I have upgraded to Xampp since this was first posted.
     
    JohnD2117, Jul 3, 2017 IP
  8. PoPSiCLe

    PoPSiCLe Illustrious Member

    Messages:
    4,626
    Likes Received:
    719
    Best Answers:
    151
    Trophy Points:
    420
    #8
    You can just type an @ before typing pop (no spaces) and it will list people with nicks starting with pop - then just continue till you see "me", and then click that name, and it will be input in the textbox.
     
    PoPSiCLe, Jul 5, 2017 IP