1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Edit preview website image

Discussion in 'BlackHat Lounge' started by dadecotti, Jun 4, 2012.

  1. dadecotti

    dadecotti Senior Member

    Joined:
    Dec 13, 2008
    Messages:
    806
    Likes Received:
    30
    When you write a website on Facebook it will show a picture on the left side, which HTML code I have to edit in order to change this image?
    This codice must be in the index.html file in the main folder of the website right?
     
  2. G-S-T

    G-S-T Executive VIP Jr. VIP

    Joined:
    Jan 20, 2011
    Messages:
    1,873
    Likes Received:
    8,874
    Occupation:
    Full time IM
    Location:
    Heavy in the game
  3. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,940
    Occupation:
    Design director
    Location:
    Paris (France)
    Here is the code I use and it works perfectly with Facebook :
    HTML:
    <link rel="image_src" href="image.gif" />
    Beny
     
    Last edited: Jun 4, 2012
  4. dadecotti

    dadecotti Senior Member

    Joined:
    Dec 13, 2008
    Messages:
    806
    Likes Received:
    30
    Thank you very much both, Facebook cache the picture, you catched the problem!

    My index is HTML and not PHP, it is fine anyway?
     
  5. G-S-T

    G-S-T Executive VIP Jr. VIP

    Joined:
    Jan 20, 2011
    Messages:
    1,873
    Likes Received:
    8,874
    Occupation:
    Full time IM
    Location:
    Heavy in the game
    index.html?1

    that will fix it, if you need to change it again, just change the value after the ?

    index.html?anything