03
July
2011

Alter Tubepress Vimeo Thumbnail Resolution

There is a great plugin for wordpress called Tubepress. This will basically take any collection of videos on Youtube or Vimeo and will embed them as a gallery in your wordpress site. This blog will show you how to change the default vimeo thumbnail from the '100' px version to any of the others.

I will update this tutorial later, but for now here is a quick quide. All you have to do is navigate to teh file shown below, and open it up for editing.

plugin\tubepress\sys\classes\org\tubepress\impl\factory\commands\VimeoFactoryCommand.class.php

Now scroll to the bottom and find the function below and change the $raw[0] to a $raw[1] or $raw[2]. You will see the quality of your thumbnails upgrade instantly.

    protected function _getThumbnailUrlsArray($index)
    {
        $raw = self::_gatherArrayOfContent($this->_videoArray[$index], 'thumbnails', 'thumbnail');
        return array($raw[0]);
    }

Written on Sunday, 03 July 2011 16:55 by Matt Nelson

Viewed 602 times so far.
Like this? Tweet it to your followers!

Rate this article

(2 votes)

Latest articles from Matt Nelson

  • VPS Hosting posted on Friday, 03 December 2010 23:19

    Silverark VPS hosting: cPanel + WHM With your own Virtual Private Server (VPS) you gain…

  • Enable Mod_Deflate on your website posted on Monday, 15 August 2011 19:09

    The mod_deflate module provides the DEFLATE output filter that allows output from your server to…

  • Alter Tubepress Vimeo Thumbnail Resolution posted on Sunday, 03 July 2011 16:55

    There is a great plugin for wordpress called Tubepress. This will basically take any collection…

Latest 'tweets' from Silverark

  • @GJones240 This song has been stuck in my head all morning: When out of work… http://t.co/vA1Pnyds Link Friday, 13 April 2012 13:59
  • Check out "Smarter Cities, Smarter Future" http://t.co/r8z1Ti2D via @SCY. Who is coming with me? Link Friday, 21 October 2011 13:01
  • @Super_Carly It went down at 20:15 and I think it came back up at 20:30. Have you experienced any trouble since? Link Friday, 30 September 2011 09:28
blog comments powered by Disqus

Author: Matt Nelson