Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Two WPSP on singe page Pagination issue Reply To: Two WPSP on singe page Pagination issue

#4508
Tom
Keymaster

You could set the smaller image size for the columns, then use a function to set a larger image size for the featured post:

add_filter( 'wpsp_image_attributes', 'tu_featured_column_image' );
function tu_featured_column_image( $atts ) {
    // Set up our conditional
    if ( ! is_singular() && in_array( 'featured-column', get_post_class() ) ) {
        $atts[ 'width' ] = 1200;
        $atts[ 'height' ] = 400;
        $atts[ 'crop' ] = true;
    }

    // Return our options
    return $atts;
}