处理图像序列上传的好方法是什么
我正在实现一家在线商店的后端。商店定期收到新产品。每个产品都附带一系列图像,可在网站上实现 3D 旋转效果。将这些图像上传到网上商店的好方法是什么?我目前正在使用网络表单,但使用单独的上传表单元素上传每个图像感觉像是浪费时间。这些序列可以有 12-50 帧。有更好的方法建议吗?
I am implementing the back end for an online store. The store receives new products periodically. Each product comes with a sequence of images for a 3D rotation effect on the website. What is a good approach for uploading these images onto the web store? I'm currently using a web form but uploading each image using a separate upload form element feels like a waste of time. These sequences can have anywhere from 12-50 frames. Any suggestions for a better way?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您希望对当前解决方案进行最小程度的更改,您可以将
multiple
属性添加到文件输入框,并更新后端以支持它。然后,您可以使用现代浏览器一次选择多个文件,例如 Firefox 3.6。尝试:
If you want a minimum amount of change from your current solution you can add the
multiple
attribute to your file input box, and update your back-end to support it.You can then select multiple files at once with a modern browser, for instance Firefox 3.6. Try: