0

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?

0

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

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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