Support » Plugin: SuperSlider-Media-Pop » [Plugin: SuperSlider-Media-Pop] Post Thumbnail removed

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Daiv Mowbray


    Hello spherical,

    Yes I agree, but unfortunately the whole featured image set up is partially hard coded into the WP core and it was designed to be activated and controlled by the users theme.
    The only way I could find to fix the image size issue in the featured image meta box was to remove the featured image size options on the media page. Short of replacing the featured image code within wp core.

    So since featured image is turned on in your theme, it should also be controlled in your theme. You need to add something like this to your theme functions file:

    // The height and width of your custom header.
    	// Add a filter to twentyeleven_header_image_width and twentyeleven_header_image_height to change these values.
    	define( 'HEADER_IMAGE_WIDTH', apply_filters( 'twentyeleven_header_image_width', 1000 ) );
    	define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'twentyeleven_header_image_height', 288 ) );
    	// We'll be using post thumbnails for custom header images on posts and pages.
    	// We want them to be the size of the header image that we just defined
    	// Larger images will be auto-cropped to fit, smaller ones will be ignored. See header.php.
    	set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true );
    	// Add Twenty Eleven's custom image sizes
    	add_image_size( 'large-feature', HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true ); // Used for large feature (header) images
    	add_image_size( 'small-feature', 500, 300 ); // Used for featured posts if a large-feature doesn't exist

    I will look at options to return this feature to the plugin.

    Out of frustration, and resorting to running v1.7 to keep this working-which nags me to update all the time, I returned the Post Thumbnail sections into the v1.9 code. Works as expected, so I’m evidently not grokking why it was taken out. I’m not seeing a conflict, here, between the two.

    “Featured Image” and “Post Thumbnail” terms have been confused with one another, and now “Featured Image” and “Header Image” are suffering the same fate. The devs need to step back and look at this from the user’s perspective and standardize their terminology. To me, a Featured Image has always been a small thumbnail in each excerpt on the front page, that can be floated left and the copy run around it.

    I’ll delve into the above approach and perhaps add it to my theme but it is targeting a 1000px header image. All I need is a 133×133 max sized (not cropped) image that is separate from the other three image sizes. I think I see a way to modify the above code to have both a header image and a post thumbnail, but it will require testing to see if it works.

    I loaded TwentyEleven to see where this function shows up in the admin panels and do not find where the header can be sized. They let you crop and “suggest” 1000px x 288px but there is no sizing function that I can find. Great, if you want to follow the panorama style of TwentyTen, TwentyEleven and TwentyTwelve.

    Edit: Just found Simple Image Sizes that not only gets the Post Thumbnail back but adds the Small that I had set in functions.php a long time ago. Reverted back to the un-edited v1.9 and it all looks good.

    Plugin Author Daiv Mowbray


    Hah, and just to confuse the issue.
    I use an excerpt plugin which creates a specific image size just for those excerpts. you can set their size and crop and then inserts that image size , or any other image size into every excerpt. And if the post doesn’t have a registered feature image it looks at the first attached image and if still no image it gets a random image from that category. its called superslider-excerpt, adds some funky mootools animation in while its at it, if you want.
    I do have a new version coming out soon of all my superslider plugins, still in beta testing for the moment. And as for image control within your post, have a look at superslider-image, you might like it.

    I had checked out Image but it seems to have more functions than I really need. I’m already using Get the Image, so there may be potential for conflict.

    Initially couldn’t find Excerpt, other than on your site. Did eventually uncover it in the WP Repository. May not be hitting the search results page, due to age. Looks interesting, though.

    Plugin Author Daiv Mowbray


    Yep, well like I said, new versions coming soon. I’ll post to this thread if I remember.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Plugin: SuperSlider-Media-Pop] Post Thumbnail removed’ is closed to new replies.