Has anyone changed the code to display an image instead of the text value entered in admin.
I have added a new field to the table 'tags_groups_members' called 'tagged_groups_members_image' and would like to change this line to display the image.
Code: Select all
$arr[] = '<a class="btn btn-sm btn-info mr-2" role="button" href="' . $GLOBALS['Linker']->build('tag.php', ['tag_id' => (int)$b['tags_groups_members_id']]) . '">' . $b['tags_groups_members_name'] . '</a>';Code: Select all
' . $b['tags_groups_members_name'] . 'Code: Select all
' . $b['tags_groups_members_image'] . 'I have tried using tep_image but no matter what I change it breaks the page.
Can anyone suggest the correct way to use tep_image in this instance?
Thanks