[DEV] remove resize image when no PIL is found (for TRAVIS building)