Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm using Facebook and Digg Thumbnail generator and [FaceBook Share (New)], 2

As you can see if the image is 100px the thumbail is displayed when I press the share button:

enter image description here

But with an image with 300px of width:

enter image description here

The thumb preview doesn't appear:

enter image description here

front-page.php:

<?php
/**
 * Template Name: Front Page
 * @package WordPress
 * @subpackage Prominent
 * @since Prominent 1.0
 */
get_header(); ?>
<div id="tagline">
    <div class="container">
    </div><!-- .container -->
</div><!-- #tagline -->
<div id="content">
    <div class="container">
        <div id="mainbar">
            <?php while ( have_posts() ) : the_post(); ?>
                <div class="content-block-2">
                    <?php the_content(); ?>
                </div>
            <?php endwhile; ?>
            <?php /* Display navigation to next/previous pages when applicable */ ?>
            <?php if (  $wp_query->max_num_pages > 1 ) : ?>
                <div id="prev"><?php next_posts_link( __( '&larr; Older posts', 'twentyten' ) ); ?></div>
                <div id="next"><?php previous_posts_link( __( 'Newer posts &rarr;', 'twentyten' ) ); ?></div>
            <?php endif; ?>
        </div><!-- #mainbar -->
    </div><!-- .container -->
</div><!-- #content-bottom -->
<?php get_footer(); ?>

Any suggestion to solve this?

share|improve this question
add comment

2 Answers 2

up vote 0 down vote accepted

Finally figured out why. Facebook only allows images with 3:1 ratio.

share|improve this answer
add comment

You can add Open Graph tags to your templates hint to Facebook for what images and text to use.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.