开发者

swfupload - get image dimensions

First of all congrats to everyone for a great job.

swfupload开发者_StackOverflow中文版 is a very good and quality tool.

My question would be, is there any method in the script to check the dimensions of the image and if the dimensions are not correct display warning popup and not save the image.

Thanks in advance.


First of all congrats to everyone for a great job.

Why, thank you! I'm also rather pleased with the progress I've made today. ;)

is there any method in the script to check the dimensions of the image

I'm pretty sure this can be done by tweaking SWFUpload's source but I don't know whether that function is available in "native" form. What SWFUpload can do in its new 2.5 version, though, is resize images on the client side. I gather it is possible to set fixed dimensions for that. Maybe that works for you?

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜