added an if statement that determines whether or not an image is on a homepage feature