generate the html output even if there are missing files. put missing_image.png if a png file is absent
import spatial on demand. as it is rarely used and quite expensive to load into memory