• Welcome to PHPVIBE Forums. Please log in.

How to change facebook thumbnail size ?!?

Started by jejeroy,

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

jejeroyTopic starter

Hi Interact software team i would like to know how to change the thumbnail size over embeded video cause the mqdefault thumbnail from youtube is way too small is there anyway to get bigger thumbnail.

Here is what the facebook debugger is showing me :
Provided og:image URL, https://i.ytimg.com/vi/xZtvtWUoI80/mqdefault.jpg was not valid because it did not meet the minimum size constraint of 200px by 200px.

And plz fix the repcaptcha on this forum :D cause each time i clic on request another image its keep reloading the page and clear all the text when we want create a new post and its is imposible to read it :(
  •  

PHPVibe R

Hi,

It's only below the 2 posts count to avoid spam :) I've changed a bit the settings on the forum, hope it's alright now.

Open lib/class.youtube.php and tweak away


if(!isset($video["thumbnail"]) || nullval($video["thumbnail"])) {
$video["thumbnail"] = "https://i4.ytimg.com/vi/" . $video['videoid'] . "/hqdefault.jpg";
if(!validateRemote($video["thumbnail"])){
$video["thumbnail"] = "https://i4.ytimg.com/vi/" . $video['videoid'] . "/default.jpg";	
}
}


Important!
The forums are not intended for support! There is Dedicated support available.
The troubleshooting can help a lot!
  •  

jejeroyTopic starter

Thank you for the answer about the facebook thumb size but i will not rewrite a second post to report the bug at the support page its took me 15 mins to write it and its now deleted soo,,, or let me just create an opensource forum for this script i have a licence of IPB i can host it no pb !
  •  

jejeroyTopic starter

Quote from: jejeroy on
Thank you for the answer about the facebook thumb size but i will not rewrite a second post to report the bug at the support page its took me 15 mins to write it and its now deleted soo,,, or let me just create an opensource forum for this script i have a licence of IPB i can host it no pb !

My bad pretty sorry the post was not deleted its all fine than i just can not modify my previews post i dont have  the permission to edit it   >:D
  •  

Similar topics (1)