By David on Monday, 23 February 2015
Posted in Technical Issues
Likes 0
Views 743
Votes 0
Hi SI team,

Currently, when using Twitter cards twitter tries to pull in the thumbnail image. For my twitter card setup, the thumbnail is too small so it doesn't pull in an image at all.

What do I need to change in twitter.php file to cause it to pull the full size image instead of the thumbnail?

Thanks for your help.
Hello David,

Can you try open this file -> JoomlaFolder\components\com_easyblog\helpers\twitter.php

//LINE 26
return $blog->getImage()->getSource( 'thumbnail' );

//Replace with
return $blog->getImage()->getSource( 'original' );

And see how it goes?

If still the same, can you provide us with your Joomla backend, Twitter, and FTP access so we can help you check on this?
·
Tuesday, 24 February 2015 00:48
·
0 Likes
·
0 Votes
·
0 Comments
·
Hi Arlex,

Didn't work unfortunately. I have provided backend and FTP access. You should be able to see what is being pulled by viewing the page source and looking at the <meta property="twitter:description" content=" value without needing my Twitter credentials I think.

You know, it would be great if the original image pulled for <meta property="og:image" as well since all the social media sites like large images these days. I assume that would be a different file to edit?

Thanks for your help,
David
·
Tuesday, 24 February 2015 09:16
·
0 Likes
·
0 Votes
·
0 Comments
·
Hello David,

I've tried to login to your FTP but failed. However, I've tested the fix provided by Arlex, it works. You need to have the blog image in your post otherwise, Easyblog will get the image from the content which will always be a thumbnail because you sure don't want to display the original size in your content.
·
Tuesday, 24 February 2015 11:02
·
0 Likes
·
0 Votes
·
0 Comments
·
Got it. Thanks Nik.
·
Wednesday, 25 February 2015 02:15
·
0 Likes
·
0 Votes
·
0 Comments
·
hello David,

You're welcome.
·
Wednesday, 25 February 2015 08:40
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post