Now that you have a working code for title and images in category_item.php you can reverse engineer and apply it over to tags.php. The reference may be different but the code are not that far apart if any. You’ll need to do that part yourself, else I am basically doing the whole customization for you already.