UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is online
Our support specialists is available now. We will attend to you as soon as we can.
  Support is online

API Code for Cover Image not working

Gene Teigland · ·
3:45 AM Saturday, 18 July 2015
None
Per the instructions on this doc:
http://stackideas.com/docs/easysocial/developers/users/users

I have tried embedding the cover image... while the same code works for name, followers etc it is not working for cover image.

For example I use this code to embed the user page name:
<?php $userId = JFactory::getApplication()->input->getInt('user_id');
$my = Foundry::user();
echo $my->getName(); ?>


The key part of that code as you mention in the api doc is :
$my     = Foundry::user();
echo $my->getName(); ?>


Which works successfully HOWEVER when I use the same code as instructed from your API for cover image.
$my     = Foundry::user();
echo $my->getCover()->getSource( 'large' );?>


It messes up my site... see my screenshot;
http://www.awesomescreenshot.com/image/416405/53601dacfcabd9721c261a6e10c75abf

So something is not quite right... please advise.. thanks!
The replies under this section are restricted to logged in users or users with an active subscription with us