Possible to Display Image Based on reader location?

Discussion in 'HTML & Website Design' started by Jezlad, Jan 19, 2011.

  1. #1
    Is it possible to display a different image in a forum header based on the location of the reader?

    All I want to do is fly the US flag to people in the states, Union Jack to people in the UK and so on.


    Thanks in advance :)
     
    Jezlad, Jan 19, 2011 IP
  2. gerulis

    gerulis Active Member

    Messages:
    30
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    63
    #2
    It's possible.
     
    gerulis, Jan 19, 2011 IP
  3. TelVPS

    TelVPS Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes, a bit of PHP or JavaScript can accomplish that easily.
     
    TelVPS, Jan 19, 2011 IP
  4. godloves

    godloves Peon

    Messages:
    48
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ya its possible...
     
    godloves, Jan 19, 2011 IP
  5. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #5
    I did something similar using JavaScript. However, as the country/ language detected a block of text fetched from XML to the browser in the country/ language detected.
     
    radiant_luv, Jan 19, 2011 IP
  6. Martun

    Martun Greenhorn

    Messages:
    28
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    11
    #6
    You could do this, you can use PHP or Javascript or even other languages. In most cases, you will need to detect your user location and load your images from a server located at or close to the user location. It would be best if you have your own server hosted on these locations.
     
    Martun, Jan 19, 2011 IP
  7. desperateboy

    desperateboy Peon

    Messages:
    610
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7
    It will work on IP location of reader and required professional to do same.
     
    desperateboy, Jan 19, 2011 IP