We study the synchronization of spatiotemporal chaos patterns between two delay-coupled excitable layers. It is found that zero-lag synchronization (ZLS) can be achieved by dynamical relay via a third mediating layer. Based on simulations with large parameter ranges, we investigate the influences of time delay and coupling strength on transition time. ZLS with a stronger coupling strength and shorter time delay appears to have a shorter transition time. This phenomenon has possible implications in network communication.