adding dynamic featured images for conditional statements