Display Graphics

Discussion in 'HTML & Website Design' started by encom, Sep 19, 2009.

  1. #1
    Hi, just a quick question...

    If I have a long gradient bar that (say height: 50px and width: 1000px)

    which would create a quicker loading time on a website:
    1. Crop the image to 50px & 5px and repeat X
    2. Keep it as it is.

    Are there any pros and cons for each?
     
    encom, Sep 19, 2009 IP
  2. Kerosene

    Kerosene Alpha & Omega™ Staff

    Messages:
    11,366
    Likes Received:
    575
    Best Answers:
    4
    Trophy Points:
    385
    #2
    Crop it.
    If it's only 1000px wide, you'll have to x repeat it for higher resolutions (1000px+) anyway.

    Repeating the image won't increase loading time. Once it's loaded, you can use it "bandwidth free".

    But I don't think loading time (especially on such a small scale as a background tile) is an issue anymore.

    :)
     
    Kerosene, Sep 19, 2009 IP
  3. encom

    encom Member

    Messages:
    58
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    #3
    Thank you.
     
    encom, Sep 19, 2009 IP