Now checks image path for images to then add to whitelist