# 图片文件夹路径
$imageFolder = 'img/';
# 需要展示的类型
$imageTypes = '{*.jpg,*.JPG,*.jpeg,*.JPEG,*.png,*.PNG,*.gif,*.GIF}';
# 是否按名称排序
# 否则按时间排序
$sortByImageName = false;
byexperience / show-images-in-folder Goto Github PK
View Code? Open in Web Editor NEWThis project forked from tennisfar/show-all-images-in-a-folder-with-php
:framed_picture:展示一个文件夹中的所有图片(deprecated)