[Plugin: NextGEN Gallery] Featured Image is Pulling Thumbnail Only
-
Hello Alex,
I have read the following post and others, but I’m still having issues.
http://wordpress.org/support/topic/featured-image-not-working-with-nextgen-gallery?replies=10WP: 3.1.3
NGG: 1.7.4
Theme: http://5thirtyone.com/unstandard-wordpress-theme/When I set a featured image from the gallery, it is always pulling in the thumbnail. It should be referencing the large size so it can process that down to the right size, right?
The theme is trying to create 2 sizes
I’m new to the featured image thing, especially when trying to pull from NGG.
index.php
<?php if ( is_first_post($post->ID) ) { ?> <?php the_post_thumbnail('primary-post-thumbnail'); ?> <?php } else { ?> <?php the_post_thumbnail('secondary-post-thumbnail'); ?> <?php } ?>
functions.php
// Support WordPress post thumbnails add_theme_support( 'post-thumbnails' ); set_post_thumbnail_size( 300, 300, true ); add_image_size( 'primary-post-thumbnail', 620, 9999 ); add_image_size( 'secondary-post-thumbnail', 300, 9999 );
Thank you for your help and great plugin.
=-)
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘[Plugin: NextGEN Gallery] Featured Image is Pulling Thumbnail Only’ is closed to new replies.