images not appearing in localhost

Posted on 2005-05-13
Last Modified: 2010-04-09
Hi all,

For some reason gif images are not appearing when i run /localhost (apache), but do appear on the web.
Any reasons for this?

Question by:indie_campbell
    LVL 12

    Expert Comment

    Check the fold extension for the images. Are the images on your system at all?

    Is the local server set up different for file extension or access?  Ie ../folder/ to go back etc  

    Author Comment

    i have tried < img src /filelocation/*.gif  with no effect. Seems odd that it works fine when uploaded on  to a main web server rather than local host
    LVL 3

    Expert Comment

    have you tried an absolute url?
    <img src="http://localhost/some_iamge_folder/YOUR_IMAGE.gif" />
    LVL 48

    Expert Comment

    by:Ryan Chong
    try take out the 1st "/" at the image src, just guess... like:

    < img src="filelocation/yourimage.gif "
    LVL 19

    Accepted Solution

    What you could always try is rightclicking the red cross in your webpage...check the location that gives you...and see if it is correct. If know where to look.. ;)


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How to run any project with ease

    Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
    - Combine task lists, docs, spreadsheets, and chat in one
    - View and edit from mobile/offline
    - Cut down on emails

    Building a website can seem like a daunting task to the uninitiated but it really only requires knowledge of two basic languages: HTML and CSS.
    Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
    HTML5 has deprecated a few of the older ways of showing media as well as offering up a new way to create games and animations. Audio, video, and canvas are just a few of the adjustments made between XHTML and HTML5. As we learned in our last micr…
    The viewer will learn the basics of jQuery, including how to invoke it on a web page. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery.: (CODE)

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now