Show a specific number of images from folder

I have a IP cam that saves images to a folder on my network.
If I would like to list the 10 latest images in HA, is that possible somehow?

Like a list of images with thumbnails that are clickable for original image.

Currently I am using the generic Camera platform “Still image url” and that works fine for one image.

Thankful for any ideas!

My own take on this right now is to iframe a php webpage from a local web server listing all images.
However this only works on a lan connection. Over internet the iframed page does not load.
Is this because it is not https?
If so, is it any way around it?