1
Answer

How to force the Facbook like to take a particular image as Thumbnail

Ikram Shams

Ikram Shams

12y
1.9k
1

I am using Facebook Like on a page in my website. On that page in left side there is banner image (in .jpg) and then 40 colors images(.jpg). My problem is that when i like facebook then in like thumbnail that banner image is showing. I want to show any color's image in thumbmail when i like facebook. I also used <meta property="og:image" id="meta1" runat="server" content=""  /> on my .aspx page and gave the meta1.content="Path of that color image"; in .aspx.cs. But it is not working. what i should do please suggest me.

Answers (1)
0
Jaish Mathews

Jaish Mathews

NA 7.3k 1.2m 14y

HI,
You can try server side by making runat="server" like below.
In code behind register td1.<<EvenName>> +=<<EventHandler>>
But I am not seeing too many events on server side
 <table>
        <tr>
            <td id="td1" runat="server">
                Click it to cause validation on textbox
            </td>
        </tr>
    </table>