Index Of Dcim Better
<?php $files = glob("*.jpg,jpeg,png,gif,mp4,mov", GLOB_BRACE); foreach($files as $file) echo "<div class='thumb'>"; echo "<a href='$file'><img src='$file' width='150'></a>"; echo "<span>$file</span></div>";
The DCIM directory was introduced to provide interoperability between cameras and computing devices. Typical structure: index of dcim better
The most useful feature of a modern DCIM index is . Instead of just reading the filename, the OS or gallery app parses the EXIF data embedded in the file upon insertion. ?php $files = glob("*.jpg