Newbie question about Files

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • kadghar
    Recognized Expert Top Contributor
    • Apr 2007
    • 1302

    Newbie question about Files

    Hi, im not good at HTML, actually i dont use it very often, but i was wondering if its posible to save some space by setting a path as a default. i.e:

    I have a list of links to archives, lets say:

    <a href = "/files/images/mypics/pic1.jpg">Pictu re1</a><br>
    <a href = "/files/images/mypics/pic2.jpg">Pictu re2</a><br>
    <a href = "/files/images/mypics/pic3.jpg">Pictu re3</a><br>
    <a href = "/files/images/mypics/pic4.jpg">Pictu re4</a><br>

    and i want to make the default route "/files/images/mypics/" , so my code will be:
    <a href = "pic1.jpg">Pict ure1</a><br>
    <a href = "pic2.jpg">Pict ure2</a><br>
    <a href = "pic3.jpg">Pict ure3</a><br>
    <a href = "pic4.jpg">Pict ure4</a><br>

    any help will be apreciated.
  • drhowarddrfine
    Recognized Expert Expert
    • Sep 2006
    • 7434

    #2
    Yes, read this. .

    Comment

    • kadghar
      Recognized Expert Top Contributor
      • Apr 2007
      • 1302

      #3
      thanks!!!
      that's perfect

      Comment

      • kadghar
        Recognized Expert Top Contributor
        • Apr 2007
        • 1302

        #4
        I have one other question, just like the one above,

        Is it posible that instead of havin 1 base URI, i can have 2??

        something like
        <a href ="path1/Presentation1.p pt"><img src="path2/Numer1.jpg"></a><br>
        <a href ="path1/Presentation2.p pt"><img src="path2/Numer2.jpg"></a><br>

        so i dont have to write the whole paths each time?

        Comment

        Working...