显示文件夹中图像的代码 [英] Code to display images from a folder

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

问题描述


我正在为一家公司开发一个Intranet网站.他们的要求是在首页上显示照片.将来公司会添加更多照片或替换一些照片.我不为每个图像编码url,而是仅提及包含图像的文件夹名称.

Hi,
I am developing an intranet site for a company. Their requirement is to display photos on home page.Further in future if company would add some more photos or replace some photos. I don''t to code url for each image instead I want to mention just the folder name containing images.

推荐答案

根据您的问题,我认为您正在寻找用于图像幻灯片放映/滑块.如果是这样,以下链接将为您提供帮助:

25个jQuery图像库/滑块教程和插件

37种新的jQuery图像和图库显示解决方案

Google提供了更好的选择和示例.

请随时联系以获取更多信息/帮助.
According to your question, i think you are looking for image slide show/slider. If so, the following links will help you out:

25 jQuery Image Gallery/Slider Tutorials and Plugins

37 Fresh jQuery Image And Gallery Display Solutions

Google for better options and samples.

Please feel free to contact for further information/help.


只需遍历文件列表,并发出相关的< img src ="....>命令. />
这是什么问题?
Just go though the list of files, and emit the relevant <img src="....> commands.

What part of this is a problem?


希望显示文件夹中的图像 [ ^ ]可能会为您提供帮助.
Hope Display Image from Folder[^] may help you.


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

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