Facebook URL Image

Create fresh and professional look of personal or blog websites with AppsPro Tech
GK User
Mon Nov 25, 2013 8:34 pm
Hello,

When I am logged into Facebook, and try to post a URL of my website (http://www.simchef.com) - the image being auto-generated is not ideal. I'd like to know how to change this.
Screen Shot 2013-11-25 at 11.33.07 AM.png

Thanks,

David
User avatar
Expert Boarder

GK User
Thu Nov 28, 2013 11:50 am
Hello,

In this case you will have to add custom Open Graph tags to your frontpage.

In example - in order to show our website Open Graph tags on the frontpage we are using the following code placed in the layouts/default.php file in the end of the head section:

Code: Select all
<?php if($this->layout->isFrontpage()) : ?>
<meta property="og:title" content="GavickPro - Professional Joomla 2.5 &amp; 3.2 Templates and Best WordPress Themes"/>
<meta property="og:url" content="http://www.gavick.com"/>
<meta property="og:image" content="http://www.gavick.com/images/og_logo.jpg"/>
<meta property="og:site_name" content="GavickPro - Professional Joomla 2.5 &amp; 3.2 Templates and Best WordPress Themes"/>
<meta property="og:description" content="The best Joomla 2.5 Templates are now available! Try our professional Joomla templates and WordPress themes or go a step further and build a website using our professionally designed templates, themes and customize it on your own."/>
<?php endif; ?>


Please remember to check the results with this tool: https://developers.facebook.com/tools/debug because Facebook stores the results in the cache.
User avatar
Administrator

GK User
Fri Nov 29, 2013 10:17 am
Great. Thank you!
User avatar
Expert Boarder

GK User
Mon Dec 09, 2013 1:44 pm
Thank you. Your comment was useful to me to. Just one thing: I see now that there are two formats of displaying the URl image on FB. The small one, and the big one. I found out that if we want to use the big one, the ratio has to be 1.91 : 1 .
I tried resizing my images, but it doesn´t work. Do you know something about that problem?

Thanks in advance.
User avatar
Fresh Boarder

GK User
Tue Dec 10, 2013 9:16 am
The only limit with Facebook images which I know is the minimum size around 200px x 200px and maximum ratio 3:1
User avatar
Administrator


cron