samedi 2 janvier 2021

Show last image from directory on website

I have video camera that uploads via ftp only to preset folders. It uploads to tree like this /www/wp-content/uploads/camer/10.121.0.202/2021-01-02/D3, and I need to show last uploaded image on website. I need to take this folder /www/wp-content/uploads/camer/10.121.0.202/ and find the newest file and show it on website. Thanks for any help "My website is running on wordpress"




Aucun commentaire:

Enregistrer un commentaire