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 offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

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