问题描述
任何人都知道Flash文件(图片)上传器会强制用户在上传之前调整图片大小和/或裁剪图片吗?然后上传它。
Anyone know of a Flash file (image) uploader that will force a user to resize and/or crop their image BEFORE uploading it? To then upload it as well.
基本上,我不希望我的服务器处理图像调整大小/裁剪。我想指定目标纵横比,让用户调整大小并裁剪图像以使其适合。
Basically, I don't want my server processing the image resize/crop. I want to specify a target aspect ratio and have the user resize and crop their image to make it fit.
之前我见过裁剪上传者,但他们似乎都是服务器端。我看到了一个Flex,但我不确定它是强制性的 - 基本上如果用户只是在不进行编辑的情况下上传图像,那么我希望Flash可以缩放并将图像调整到设定的尺寸中......离开它我想在一个方向上做空而不伸展。
I've seen cropping uploaders before but they all seem to be server side. I saw a Flex one but I'm not sure it's "mandatory" -- Basically if the user just uploads the image without making edits, then I'd like the Flash to scale and fit the image into set dimensions...Leaving it I guess short in one direction to not stretch.
有这样的东西吗?
谢谢!
Anything like this out there?Thanks!
推荐答案
在上传之前还有另一个名为resize的网站但网站出现故障。虽然我正在更新这个并且我们正在谈论这个主题 - 但我不明白为什么你现在想要使用Flash来完成这项任务。有很多JavaScript选项,现在我们也有Google的Dart(构建JavaScript)。
there was another one called resize before upload but the site went down. though while I'm updating this and we're on the subject -- I don't see why you'd want to use Flash these days for this task. There are plenty of JavaScript options and now we also have Google's Dart (which builds JavaScript).
这篇关于使用强制裁剪上传Flash图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!