Problem with my URL link ?

Welcome ,
i have Problem in my Website URL When i Copy the link to the Facebook or Chat or any Social Media Websites The Image of the URL Appear like Big X Like you See in the Photo and Now i want to Change this Images
What i Should do ?
Untitled.png
 
Seems to be two issues being discussed here, but the contact form aside, as the previous poster above sugessted you need to look at your sites Open Graph META Tags to solve your website image problem on facebook.
 
Seems to be two issues being discussed here, but the contact form aside, as the previous poster above sugessted you need to look at your sites Open Graph META Tags to solve your website image problem on facebook.
Can you Write the Graph META tage ?
i Don't Know this type of meta
 
Most SEO plugins will do this for you but the meta tag you need to define a specific image is

<meta property="og:image" content="LINK TO YOUR IMAGE" />

Using php you could do this slightly more inteligently and use the featured image (if there is one) assigned to a page/post and a fallback image for instances where there isn't a featured image. That would look something like:

<?php $url = wp_get_attachment_image_url( get_post_thumbnail_id($post->ID), 'thumbnail' ); ?>

<meta property="og:image" content="
<?php if ( is_singular() and has_post_thumbnail( get_the_ID() ){
echo '<img src="<?php echo $url ?>"/>';
} else {
echo '<img src="LINK TO FALLBACK IMAGE"/>';
} ; ?>
" />


Please note, I've not tested the above code so it may need adjustment.
 
Back
Top