$album->getCoverImageURL(), 'alt' => $album->getTitle(), 'class' => 'elgg-photo', )); $header = elgg_view('output/url', array( 'text' => $album->getTitle(), 'href' => $album->getURL(), )); $body = elgg_view('output/url', array( 'text' => $album_cover, 'href' => $album->getURL(), 'encode_text' => false, 'is_trusted' => true, )); $footer = elgg_view('output/url', array( 'text' => $album->getContainerEntity()->name, 'href' => $album->getContainerEntity()->getURL(), 'is_trusted' => true, )); $footer .= '