I installed 3.2.0.7, I have problem with fetching url thumbnail. No thumbnail image of website or linked video.
I tried here to check it here on some of your groups and the same thing happens, some url's won't even fetch. Try facebook.com for example.
But link (video) from youtube that I tested was fetching thumbnail in your group (site) but it doesn't want to do it on my site. Try to create some demo account on my site and try to post some website or youtube link.
Thanks
Hi.
Thumbnails from Facebook will be not fetched as you need to log in to FT in order to see any content. This nothing can be fetched.
Please provide us with working administrator credentials.
I can't login to your site.
Please, edit your first post and add credentials to corresponding fields.
Hi.
I assign developer to this thread.
Hi O,
please check it again. I made the fixes for you. seem your server not support:
- file_get_contents
- imagecreatefromstring
I modified the code /components/com_community/libraries/crawlers/ curl php after line 459:
after
$imageContent = @file_get_contents($imageUrl);
From
if ($imageContent) {
$im = imagecreatefromstring($imageContent);
$width = imagesx($im);
$height = imagesy($im);
if (($width >= $this->get('max_image_width', 128) && $height >= $this->get('max_image_height', 128)) && $counter <= $limit) {
$_images[] = $imageUrl;
$counter ++;
}
}
To
$imageContent = true;
if ($imageContent) {
// $im = imagecreatefromstring($imageContent);
// $width = imagesx($im);
// $height = imagesy($im);
// if (($width >= $this->get('max_image_width', 128) && $height >= $this->get('max_image_height', 128)) && $counter <= $limit) {
// $_images[] = $imageUrl;
// $counter ++;
// }
$_images[] = $imageUrl;
$counter ++;
}
Hi,
i'm using user tech. if you want revert the changes, here the file: