public function featured_image() { if (!empty($this->post_meta['_thumbnail_id'])) { return AttachmentCollection::get(array('id' => $this->post_meta['_thumbnail_id'], 'blogid' => $this->blogid)); } else { return null; } }