Work-around to OpenLayers 4.6.5
Unfortunately with the new release of openlayers 5, static image maps have been broken or at least the examples have not been working as intended.