Displaying an "Image Layer" from Tiled

I was wondering if there is a way to be able to display an image layer from tiled like you can with the tile layer. I can see that the Image layer gets included in the JSON file of the map but when doing “map.getTileLayerNames()”, it only shows the tile layers and not the Image layer. I have also tried doing it how I would if it were a tile layer but it gives me a warning saying that it is not a valid layer name.

It’s not part of Phaser’s tilemap object (which has only tile layers and object layers). You would have to get it from the JSON data in the tilemap cache. Or you could put it in an object layer instead.