Results 1 to 2 of 2

Thread: insert wrong directory for images???

  1. #1
    Join Date
    Mar 2008
    Posts
    1

    insert wrong directory for images???

    I have targeted the wrong directory for my images. For example, my domain is chueh.com. I uploaded all the images under chueh.com. They all show up without any problems. Let's use house.jpg as one of the pictures. I inserted house.jpg again under "living" subdirectory (chueh.com/living/house.jpg)..............Here comes the problem..

    I tried both img src="www.chueh.com/living/house.jpg" and img src="house.jpg" as code in the page. Neither of them works......I could upload all the images again under the subdirectory "living," and img src="house.jpg" will definitely work. However, not only does it sound stupid and redundant, but also occupies extra spcae. What can I solve the problem? Thanks

  2. #2
    Join Date
    Feb 2006
    Location
    Salisbury UK
    Posts
    4,332
    img src="www.chueh.com/living/house.jpg" is not a good idea, there's no need to use an external url.

    It's probably best to get it right now by moving all the images to the living directory and deleting them from the root directory chueh.com.

    This means that you will have to change all the links in the html code from img src="house.jpg" to img src="living/house.jpg". It will be a bit of work but it's best to do it.
    Code downloaded to my PC will be deleted in due course.
    WIN7; IE9, Firefox, Opera, Chrome and Safari for Windows; screen resolution usually 1366*768.
    Also IE6 on W98 with 800*600 and IE8 on Vista 1440*900.

Similar Threads

  1. Web directory / High quality Web directories
    By tdd1984 in forum Search Engine Optimization and Marketing
    Replies: 1
    Last Post: 02 Jan 2007, 10:08 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •