On Wednesday, 30 May 2012 11:20:42 UTC+10, Xiaofeng Liu wrote: > > 2. I found users tend to upload huge images like 4MB jpeg, is there any > way I can restrict the source image file size? Like the property for 'file' > type ftMaxSize="1048576". I couldn't find a similar property in docs for > image type. >
There's no way to block the MAX size of the upload. However, you can nominate a width of say 2048px, maximum quality and FITINSIDE for your source image. This will resize the image to a large but manageable file, and then base your crops off the smaller image. Regards, -- geoff http://www.daemon.com.au/ skype. gb.daemon twitter. @modius -- You received this message cos you are subscribed to "farcry-dev" Google group. To post, email: [email protected] To unsubscribe, email: [email protected] For more options: http://groups.google.com/group/farcry-dev -------------------------------- Follow us on Twitter: http://twitter.com/farcry
