Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Thumbnail fetch (3.2.0.7)

9 years 9 months ago
  • O's Avatar
    Topic Author
  • O
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 0
Licenses:
JomSocial Expired

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

9 years 9 months ago
Licenses:

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.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 9 months ago
  • O's Avatar
    Topic Author
  • O
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 0
Licenses:
JomSocial Expired

Ok I edited login details. Login and try to post on community page any link (video, site) to see what I am talking about.

Thanks

9 years 9 months ago
  • O's Avatar
    Topic Author
  • O
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 0
Licenses:
JomSocial Expired

Any news about this?

9 years 9 months ago
Licenses:

Hi.

I assign developer to this thread.


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
9 years 9 months ago
Licenses:

Hi O,

please increase your
php memory_limit from 128M to 1024M
php post_max_size from 8M to 259M

If still not working, please provide me FTP access detail. I need that for debuggiing purpose.

Regards,
Albert

9 years 9 months ago
  • O's Avatar
    Topic Author
  • O
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 0
Licenses:
JomSocial Expired

I tried to change that in php.ini but it seems nothing happens. I think before it was working ok.

I will add my ftp details in this post.

Thanks

9 years 9 months ago
Licenses:

Hi O,

could you installing Akeeba backup? I need that for make local copy.
debugging at live site is to risky, can damaging your site in temporary.

Regards,
Albert

9 years 9 months ago
  • O's Avatar
    Topic Author
  • O
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 0
Licenses:
JomSocial Expired

Ok I installed Akeeba backup, but you will need to set it up since I didn't work with it yet.

Can this be fixed little bit faster please?

9 years 9 months ago
Licenses:

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 ++;
}

Regards,
Albert

9 years 9 months ago
  • O's Avatar
    Topic Author
  • O
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

I tried now, but still no thumbnail. Now on place of thumbnail it is just blank, before you did changes it was mark "no thumbnail".
I think it was working good before, but I don't understand why it doesn't work now. Check image below.

Attachment nothumbnail.png not found

Attachments:
9 years 9 months ago
Licenses:

Hi O,

please try to clear your browser cache. I just tried again at your site.



Regards,
Albert

Attachments:
9 years 9 months ago
  • O's Avatar
    Topic Author
  • O
  • Offline
  • Fresh Boarder
  • Posts: 26
  • Thank you received: 0
Licenses:
JomSocial Expired

Hi,

I cleared browser cache and tried with firefox and chrome browser, but still no thumbnail like in my last post. Don't understand..

9 years 9 months ago
Licenses:

Hi,

i'm using user tech. if you want revert the changes, here the file:

This attachment is hidden for guests.
Please log in or register to see it.

put it at:
/components/com_community/libraries/crawlers/

But I suggest you to contact server support to make sure your server can execute this php functions:
- file_get_contents
- imagecreatefromstring

right now I already bypass that function. that function only checking the image broken or not.

Regards,
Albert

This message has an attachment file.
Please log in or register to see it.

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW