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 Power Member

    Joined:
    Dec 13, 2008
    Messages:
    797
    Likes Received:
    29
    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,842
    Likes Received:
    8,813
    Occupation:
    Full time IM
    Location:
    Heavy in the game
  3. kokoloko75

    kokoloko75 Elite Member

    Joined:
    Jan 1, 2011
    Messages:
    1,628
    Likes Received:
    1,936
    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 Power Member

    Joined:
    Dec 13, 2008
    Messages:
    797
    Likes Received:
    29
    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,842
    Likes Received:
    8,813
    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