Setting a directory for pictures (HTML & CSS)

Discussion in 'HTML & Website Design' started by MakingThisSucked, Dec 20, 2009.

  1. #1
    Is there a code to set a place to get all of my images, so i don't have to write out the entire url?

    I want to use an album on my photobucket account to hold my pictures for an ebay auction template. I was hoping i could make the main be: http://www.photobucket.com/myuser/myalbum/

    Then i could just put in picture.jpg instead of putting http://www.photobucket.com/myuser/myalbum/picture.jpg

    I'm hoping to just use HTML and CSS.

    Just curious.. Thanks in advance
     
    MakingThisSucked, Dec 20, 2009 IP
  2. weirdcreativetype

    weirdcreativetype Peon

    Messages:
    50
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Nope.

    The pictures would have to be on the same server and in the same directory as the page to just type "picture.jpg".
     
    weirdcreativetype, Dec 20, 2009 IP
  3. combus

    combus Peon

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    It is not possible, but you can cheat a little bit using PHP (Chris Coyier wrote about it http://css-tricks.com/css-variables-with-php/ ).
     
    combus, Dec 20, 2009 IP