2 simple solutions:
1) Assign each slide a unique class (e.g., slide-1, slide-2, etc.) that will be transmitted picture. If all the image's url is known in advance, it is possible to send the file with styles. If not, then add to the page in
2) Add in each
.slide the nested div, which assign a background-image.