I upgraded to Wordpress 3.5, I wish they didn't create new upgardes every week they always cause problems. Now our Tubepress pro page is displaying thumbnails portrait size as opposed to landscape which is how it's still set in my tubepress settings. Any ideas to help?
thanks!
James
issue viewable at: http://trouperproductions.com/media/
Wordpress to 3.5 created display problem
Started by James Fischerle, Dec 26 2012 01:32 PM
1 reply to this topic
#1
Posted 26 December 2012 - 01:32 PM
#2
Posted 31 December 2012 - 01:08 AM
Hi James,
I think there are two issues here. First, some of the thumbnails look stretched because for some reason Vimeo is serving up the thumbnail images with different aspect rations. For instance, look at these two samples from your gallery:
Why Vimeo would do that, I have no clue. I think an easy solution would be to:
Second, your site is suffering from cross-domain Ajax that needs to be addressed. Specifically, your site's domain is trouperproductions.com, but TubePress is being loaded from alexwinter.com.
Does that make sense? Let us know how we can help you implement these changes. Thanks!
I think there are two issues here. First, some of the thumbnails look stretched because for some reason Vimeo is serving up the thumbnail images with different aspect rations. For instance, look at these two samples from your gallery:
Why Vimeo would do that, I have no clue. I think an easy solution would be to:
- Create and activate a custom TubePress theme. This will protect your changes when you upgrade TubePress
- In your theme's copy of gallery.tpl.php, change line 39 from
<img alt="<?php echo htmlspecialchars($video->getTitle(), ENT_QUOTES, "UTF-8"); ?>" src="<?php echo $video->getThumbnailUrl(); ?>" width="<?php echo ${org_tubepress_api_const_template_Variable::THUMBNAIL_WIDTH}; ?>" height="<?php echo ${org_tubepress_api_const_template_Variable::THUMBNAIL_HEIGHT}; ?>" />
to
<img alt="<?php echo htmlspecialchars($video->getTitle(), ENT_QUOTES, "UTF-8"); ?>" src="<?php echo $video->getThumbnailUrl(); ?>" width="<?php echo ${org_tubepress_api_const_template_Variable::THUMBNAIL_WIDTH}; ?>" />
Second, your site is suffering from cross-domain Ajax that needs to be addressed. Specifically, your site's domain is trouperproductions.com, but TubePress is being loaded from alexwinter.com.
Does that make sense? Let us know how we can help you implement these changes. Thanks!