开发者

How to upload photo from given folder path

I am using PHP 5 and I want to add a link Upload photo from album, when I click to this link a photo browsing window will open & it will only contain the specified photo album folder's photos. J开发者_运维技巧ust like in facebook link to Upload photo from your photo album..

Thanks.


I'm not sure what the question here is, because writing that would take up some serious time, even for advanced developers. You may probably want to get into reading about http://jquery.com and especially http://jqueryui.com/ for the Browser Window.

With this, you can create a div in PHP that reads the user's photo library and writes it into it. Then, with jQuery, you can dynamically open and close the div as a popup.

jQuery implements some neat functions with whom you can check what photo the user clicks in the popup and then send that back to a php-file that uploads the photo wherever you want.

Still, with that vew information, you should really consider trying some solutions out yourself and if you encounter problems that are more specific to a special functionality, you can ask SO again.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜