将文件夹中的图像显示为HTML表格或div [英] Display images in a folder to HTML table or div

查看:49
本文介绍了将文件夹中的图像显示为HTML表格或div的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在应用程序文件夹中显示图像到html table或div.And我想在每个图像下显示图像名称和描述(我的意思是图像库)。请帮助。

Hi,
I want to display images in an application folder to html table or div.And i want to show image name and description under each image (I mean an image gallery).Please help.

推荐答案

如果您感到有任何困难,请尝试并提出问题:

http://lokeshdhakar.com/projects/lightbox2/ [ ^ ]
give it a try and ask question if you feel any difficulties in it :
http://lokeshdhakar.com/projects/lightbox2/[^]


#just copy n粘贴它



#给所有者的信用



<?php

//打开此文件所在的目录并读取内容
#just copy n paste it
#

#credit to the owner

<?php
//opens the directory that this file is in and reads the contents


myDirectory = opendir(。);

while(
myDirectory = opendir(".");
while(


这篇关于将文件夹中的图像显示为HTML表格或div的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆