Support » Plugin: WP Video Lightbox » Change auto thumbnail size

  • Resolved TheDogBox

    (@thedogbox)


    Is there anyway to change the default thumbnail size retrieved from Vimeo?

    I’m using the auto_thumb parameter:

    [video_lightbox_vimeo5 video_id=”xxx” width=”800″ height=”450″ auto_thumb=”1″]

    I want to show a thumbnail of up to 440px x 250px. But the thumbnail displayed is only 200px x 150px, so it is really pixelated.

    Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support mbrsolution

    (@mbrsolution)

    Hi,

    Try editing the following CSS code with your preference.

    .wpvl_auto_thumb_box{
        position: relative;
        width: 200px;
        height: 150px;
    }

    Let me know if the above helps you.

    Thank you

    Thread Starter TheDogBox

    (@thedogbox)

    Hi,

    Sorry, I must not have explained the problem correctly. I wish to display the thumbnail as a 440px x 250px image.

    The problem is, the thumbnail displayed from Vimeo is the second smallest available at 200px x 150px.

    So I’m taking a small thumbnail and scaling it up to fit a 440px x 250px box, which results in a pixelated image.

    Vimeo does provide larger format thumbnails, and what I want is to access them.

    Looking through the code, if I change line 290 of misc_functions.php from:

    $thumb = $VideoInfo[‘thumbnail_medium’];

    to:

    $thumb = $VideoInfo[‘thumbnail_large’];

    that gets me the larger size image from Vimeo. What would be great would be to hook that entire wp_vid_lightbox_get_auto_thumb() function.

    Cheers.

    Plugin Support mbrsolution

    (@mbrsolution)

    Thank you for clarifying further your question. Now I understand what you mean. I have submitted a message to the developers to investigate further your request.

    Kind regards

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change auto thumbnail size’ is closed to new replies.