iPhone手机主页:照片上传和普通文件上传一样
对我来说新的东西:如何在 iPhone 的移动网页上上传文件,上传图片(例如个人资料缩略图)?
也许有任何框架或库可以做到这一点?
谢谢帮助;)
Something new for me: How can I get a file-upload on my mobile webpage for iphone, to upload a picture (as profile-thumbnail for example)?
Mabye there is any framework or library which can do this?
Thx for help ;)
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
Mobile Safari 中没有用于上传内容的界面。我见过的最好的解决方法是让人们通过电子邮件将文件发送到某个地址,然后您可以使用一些 cron 作业从电子邮件中提取上传内容。
我最近在网站 My Slow Low 上看到了这一点。构建它的人之一写了一篇关于提取 IMAP 电子邮件的文章使用 php 发送附件,这对您来说可能是一个很好的起点。
There is no interface for uploading content in Mobile Safari. The best workaround I've seen is to have people email files to an address, and then you have some cron jobs that extract uploads from the email.
I saw this recently on the site My Slow Low. One of the guys who built it did a write-up on extracting IMAP email attachments using php, which could be a good starting point for you.
查看
http://picupapp.com/
Picup 是一款本机 iPhone 应用程序,可帮助将照片上传到网络。由于文件上传表单字段在 Mobile Safari 中不起作用,因此网络应用程序可以指示 Picup 选择并上传照片。上传完成后,Picup 将控制权返回给 Web 应用程序,并提供有关上传的信息。
Check out
http://picupapp.com/
Picup is a native iPhone Application that facilitates photo uploads to the web. Since file-upload form fields don't work in Mobile Safari, a webapp can instruct Picup to choose and upload a photo. Once the upload is complete, Picup returns control to the webapp with information about the upload.