To show a youtube video thumbnail properly, a thumbnail in 16:9 is best. So a adding a 324 x 182 size thumbnail in your theme would be great option for those who use video post. Do you have any plan to add this?
If no then can you please tell me how to add a thumbnail in this size-ratio? with screenshoot đ
Hello,
We are not aware of such modification in the near future. We cannot modify the current thumbnail in our theme because it will cause lots of problems for users when they update. (people have thousands of images that will require regenerating thumbs) Only by adding new block elements that use a different thumb will this be achievable, but this as well is not on our priority list. We cannot say for sure what the future will bring.
You can modify a thumbnail on your end if you need this size: You can find the thumbnail sizes in td_config.php: http://screencast.com/t/uk2vAnc7d
The closest thumb to the size you suggested is the one used for module 1 and 2, block 2, 3 and 4 and big grid 2.
You can edit this file and change the dimension to the specified one. You will need to regenerate your thumbs for the modification to apply.
Thank you!
Thanks for your guideline. I have changed the block 3 thumbnail size from 324×160 to 324×282 by changing code like bellow. I just replaced the 160 with 182.
td_api_thumb::add(‘td_324x182’,
array(
‘name’ => ‘td_324x182’,
‘width’ => 324,
‘height’ => 182,
‘crop’ => array(‘center’, ‘top’),
‘post_format_icon_size’ => ‘normal’,
‘used_on’ => array(
‘Module 1, 2’, ‘Block 2, 3, 4, Big grid 2’
)
)
);
Then enable this thumbsize from backend. Now when i post an HD youtube video that has custom youtube thumbnail, then everything is ok. But when i post a video that has no custom youtube thumb then it looks bigger in block 3 & block 18. (SCREENSHOT) http://prntscr.com/90toxg
What mistake i have done? please help me.
Hello,
Please make sure you did not change anything else. Normally block 18 should not be affected by your change. Try to revert your change and see if the thumbnail for other videos has the same problem. (you will need to regenerate thumbs again.)
Let us know how it goes.Thank you!