Is there a way to select only the last file in a directory (with the extensions jpg|png|gif?)
jpg|png|gif
Or do I have to parse the entire directory and check using
Use this code: