开发者

Show thumbnails and select the cover photo

开发者 https://www.devze.com 2023-01-18 17:21 出处:网络
We need to display all the thumbnails in one folder (e.g. c:/photos/101/tn/ folder) and then select one image as cover photo. Once the开发者_Python百科 editor clicks on the \"Set Cover Image\" button,

We need to display all the thumbnails in one folder (e.g. c:/photos/101/tn/ folder) and then select one image as cover photo. Once the开发者_Python百科 editor clicks on the "Set Cover Image" button, grab the select photo ID. Once the id is grabbed, I will store the info in the database.


Well, You don't expect to see a working code in the answers here do you? I takes some time and effort to write such a code. No offense but people are here to show you the way or help you overcome the problems that you face when you're writing the code. Not getting your work done.
Actually, I did such a thing on YAF project. (http://www.yetanotherforum.net)
So to see a working example, You can download the source and see the YAF Albums code. Although I generated the thumbnails programmatically there, but that could be changed easily if you want to.

0

精彩评论

暂无评论...
验证码 换一张
取 消