Support » Plugin: Video Thumbnails » Bigger thumbnail images for featured post slider

  • Resolved stl99

    (@stl99)


    Hi there and thanks for the plugin!

    I’m using a featured post slider with a 620px width on my home page but the images from your plugin aren’t wider than 480px . My size settings for the featured image are add_image_size( ‘featured’, 700, 426, true ); so that shouldn’t be the problem.

    Any idea how to create bigger thumbnails…?

    Any help would be highly apprciated!

    Cheers,
    Thomas

    http://wordpress.org/extend/plugins/video-thumbnails/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Solved! In case anyone else is looking for bigger YouTube thumbnails:

    In video-thumbnails.php of the plugin change this

    // If we've found a YouTube video ID, create the thumbnail URL
    if ( isset( $matches[1] ) ) {	$youtube_thumbnail = 'http://img.youtube.com/vi/' . $matches[1] . '/0.jpg';

    to this

    // If we've found a YouTube video ID, create the thumbnail URL
    if ( isset( $matches[1] ) ) {	$youtube_thumbnail = 'http://img.youtube.com/vi/' . $matches[1] . '/maxresdefault.jpg';
    Plugin Author Sutherland Boswell

    (@sutherlandboswell)

    I’d like to point out that maxresdefault.jpg doesn’t always exist, so the next version has a check to see if it exists then falls back to a smaller size.

    Thanks Sutherland, didn’t know that…

    Cheers,
    Thomas

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bigger thumbnail images for featured post slider’ is closed to new replies.