本文介绍了从数据库中检索多张图片并显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我上传了一个特定用户的5张照片,现在该用户想要查看他的所有图片.我知道代码如何检索它以及如何显示它.但是我不知道如何显示他所有的图像都以适当的方式出现,就像我们在facebook上看到的那样.意思是当用户单击查看照片时,他应该能够以格式显示所有图像,比如说一行3张图片,其余2张在下一行,依此类推.我希望以相同的方式正确显示图片作为facebook或orkut,orkut和facebook会遵循什么以正确的方式显示图像,
他们会创建动态图像控件来显示它吗.请给我发送一些好主意或链接.请帮助

I have uploaded let say 5 pic of a particular user, now the user want to view all his picture.I know the code how to retrive it.and also how to display it.but i dont know how to display all his image in proper way , as we all see in facebook.
Mean when the user click on view photo,he should be able to see all his image in a format as let say 3 pic in one row and the remaining 2 in next row and so on.i want to display image in a proper way same as facebook or orkut,what orkut and facebook follow to display images in a proper way ,
does they create dynamic image control to display it.please send me some good idea or some link .please help

推荐答案



这篇关于从数据库中检索多张图片并显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-23 21:36