Revert "Removing custom image function, and replacing with built in function for displaying featured image in grid view for categories. This allows the image thumbnail to link to post."

This reverts commit 9ddbc250d301cc2b04d24042aae648fffe4bc1ba.