how to... in DLE?

Discussion in 'Programming' started by Divvy, Apr 14, 2011.

  1. #1
    hello friends,

    I want to add some facebook meta tags in my DLE script but I dont know how to call the images posts that appears in my frontpage...

    I spent hours around this code and cant figure out... can please someone help me?
    this is my website:
    http://www.celebridadesdespidas.com

    I want to show specific thumbnails when someone likes a post using the facebook button... I have another website working like that, and in that website I added this code in the posts file:
    <meta property="og:title" content="Thongs Around The World - From <?php echo $row['country_name'].': '.$row['name']; ?>">
    <meta property="og:image" content="<? echo "http://www.thongsaroundtheworld.com/uploaded/".$row['picture_thumb']; ?>">
    <meta property="fb:image" content="<? echo "http://www.thongsaroundtheworld.com/uploaded/".$row['picture_thumb']; ?>">
    Code (markup):
    but I don't know how to do with DLE...
    please helpppppp :)
     
    Divvy, Apr 14, 2011 IP
  2. Divvy

    Divvy Well-Known Member

    Messages:
    785
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    128
    #2
    Im now working in engines/engine.php file.

    I added this line:
    <meta property="og:image" content="{ thumbnail($imgfile) }">
    Code (markup):
    but without success... doesnt appear any image :/
     
    Divvy, Apr 14, 2011 IP