Your Ad Here Your Ad Here
Results 1 to 9 of 9

Thread: Setting Up Image Directory For A Page

  1. #1
    BawA's Avatar FST Pioneer BT Rep: +1
    Join Date
    Jun 2003
    Location
    Some Where but not here
    Age
    35
    Posts
    4,541
    OK when we use a page the defualt images directory is in /root(primiry dir) and if i use same page in SubFolder then page cannot read the images, how to set page to read the images from the defualt image folder,

    example:
    /root/page1.html-> /images
    /root/test/page2.html--> /Images

    Hope u understand


    "You can be mad as a mad dog at the way things went; you can swear and curse the fates, but when it comes to the end, you have to let go"
    Benjamen button

  2. Internet, Programming and Graphics   -   #2
    sparsely's Avatar
    Join Date
    Dec 2002
    Location
    static hum
    Posts
    3,538
    if you mean like

    okay say your dir structure is:

    Root
    --Images
    --Bin
    --Other Shit
    index.html is here in root

    your <img> tags will have [img]images/whatever.jpg[/img]

    but if you need to go up a level, like say you&#39;r in

    Root
    --Images
    --Bin
    --Other Shit
    -----Sub Shit

    an html file in the "Sub Shit" would look have img tags like this if they wanted to use images in that &#39;Images&#39; folder that&#39;s in the root:

    [img]../images/whatever.gif[/img]

    the ".." tells it to go up one level then look for the &#39;images&#39; folder.

    I hope that&#39;s what you meant, otherwise I&#39;m lost

    this post is guaranteed 100% parrot-free

  3. Internet, Programming and Graphics   -   #3
    BawA's Avatar FST Pioneer BT Rep: +1
    Join Date
    Jun 2003
    Location
    Some Where but not here
    Age
    35
    Posts
    4,541
    i ment that but i want to set all images source, for example images uesed in layout, i cant set all images one by one


    "You can be mad as a mad dog at the way things went; you can swear and curse the fates, but when it comes to the end, you have to let go"
    Benjamen button

  4. Internet, Programming and Graphics   -   #4
    sparsely's Avatar
    Join Date
    Dec 2002
    Location
    static hum
    Posts
    3,538
    why not?

    this post is guaranteed 100% parrot-free

  5. Internet, Programming and Graphics   -   #5
    Find & Replace...


    This is your third time using us as a google substitute...I say it again, nothing can stand the power of google&#33;
    <span style='color:black'> I am a part of all that I have met - Lord Tennyson</span>
    <span style='color:blue'>Try not to let your mind wander...it is too small and fragile to be out by itself</span>

  6. Internet, Programming and Graphics   -   #6
    sparsely's Avatar
    Join Date
    Dec 2002
    Location
    static hum
    Posts
    3,538

    and almost everything you need to know is here

    this post is guaranteed 100% parrot-free

  7. Internet, Programming and Graphics   -   #7
    BawA's Avatar FST Pioneer BT Rep: +1
    Join Date
    Jun 2003
    Location
    Some Where but not here
    Age
    35
    Posts
    4,541
    Originally posted by I.am@15 May 2004 - 13:48
    Find & Replace...


    This is your third time using us as a google substitute...I say it again, nothing can stand the power of google&#33;
    wtf is wrong with, if u dont want to help dont. its ma choice if i search or ask,
    and its so hard to find what u want when u get 100&#39;s of search results


    "You can be mad as a mad dog at the way things went; you can swear and curse the fates, but when it comes to the end, you have to let go"
    Benjamen button

  8. Internet, Programming and Graphics   -   #8
    Originally posted by bawa@Klite_user+15 May 2004 - 02:57--></div><table border='0' align='center' width='95%' cellpadding='3' cellspacing='1'><tr><td>QUOTE (bawa@Klite_user &#064; 15 May 2004 - 02:57)</td></tr><tr><td id='QUOTE'> <!--QuoteBegin-I.am@15 May 2004 - 13:48
    Find & Replace...


    This is your third time using us as a google substitute...I say it again, nothing can stand the power of google&#33;
    wtf is wrong with, if u dont want to help dont. its ma choice if i search or ask,
    and its so hard to find what u want when u get 100&#39;s of search results [/b][/quote]
    and its ma choice to come back and taunt you each time for being lazy a&#036;&#036;&#33; So there&#33;

    Btw, I am serious about googling, look at the few links while using the right keyword. You might get more than what you asked for. Moreover, the questions you are asking is probably even in every single 100 search results.

    Besides, with that attitude, you can bet you a&#036;&#036; none of the experienced will come out helping for you when you really need it. Maybe then you will realize the power of google
    <span style='color:black'> I am a part of all that I have met - Lord Tennyson</span>
    <span style='color:blue'>Try not to let your mind wander...it is too small and fragile to be out by itself</span>

  9. Internet, Programming and Graphics   -   #9
    Poster
    Join Date
    Jan 2003
    Location
    Belle Vernon, PA, USA
    Posts
    644
    Originally posted by bawa@Klite_user@15 May 2004 - 03:26
    example:
    /root/page1.html-> /images
    /root/test/page2.html--&#62; /Images
    That should work just fine, except for one minor detail... "images" versus "Images". A lot of web servers are case-sensitive. If the actual directory is named "images", then using "Images" (capital &#39;i&#39 won&#39;t work...

    If that still doesn&#39;t work, just use a full URL...
    Code:
    &#60;img src=&#34;http&#58;//www.mydomain.com/images/something.jpg&#34; /&#62;

Bookmarks

Posting Permissions

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