处理照片上传的最佳方法是什么? [英] What is the best way to handle photo uploads?

查看:184
本文介绍了处理照片上传的最佳方法是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在做一个家庭成员婚礼的网站。他们要求的功能是一个照片部分,所有的客人可以去婚礼后上传他们的快照。我说这是一个很好的想法,我去建立它。

那么只有一个问题:物流。上传速度很慢,现代相机的照片很大(2-5 + Megs)。



我只需要800px宽的图像,其中一些可能需要旋转,所以我正在寻找使用客户端编辑器来做三件事情:让用户选择多个文件

  • 让他们旋转一些图像,让它们正确地朝上 / li>
  • 调整大小然后上传

  • 在我的梦幻世界中,开源。任何想法?



    只是提醒一下:这是客人必须使用的东西。他们中的一些人将会非常聪明,但其他人几乎完全是文盲。安装桌面应用程序并不是真正的选择。我假设其中98%的人安装了Flash和Java。

    编辑:我比SilverLight更喜欢Flash / Java选项,这不仅仅是因为它具有更小的安装速度在这一刻,但也因为我在Linux上,我想测试它=)

    解决方案

    最这是一个Java小程序的常见解决方案,虽然他们大部分都不是免费的。例如:


    I'm doing a website for a family member's wedding. A feature they requested was a photo section where all the guests could go after the wedding and upload their snaps. I said this was a stellar idea and I went off to build it.

    Well there's just the one problem: logistics. Upload speeds are slow and photos from modern cameras are huge (2-5+Megs).

    I will only need ~800px wide images and some of them might require rotating so ideally I'm looking about using a client-side editor to do three things:

    1. Let users pick multiple files
    2. Let them rotate some images so they're the right way up
    3. Resize them and then upload

    And in my dream world, it'd be free and open source. Any ideas?

    Just a reminder: this is something the guests have to use. Some of them will be pretty computer savvy but others will be almost completely illiterate. Installing desktop apps isn't really an option. And I assume 98% of them have Flash and Java installed.

    Edit: I'd prefer a Flash/Java option over SilverLight, not least because it has a smaller install rate at the moment, but also because I'm on Linux and I'd like to test it =)

    解决方案

    The most common solution for this is a java applet, although most of them are not free. Examples:

    这篇关于处理照片上传的最佳方法是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆