Wim Dumon <wim@...> writes: > > To do this cross-browser will probably be difficult, especially with > older browsers. Fallback can be to upload the image to the server and > do everything server-side if it can't be done client-side. > > If you're ok with the fact that it will only work in recent browsers, > I'd go for the solution suggested on the stackoverflow page to obtain > the image data, and then render it in a canvas. Once the image is in > the canvas, you can access pixels and manipulate the image as you > want. When you're done, get the data url from the canvas and send it > to the server. > > BR, > Wim. > > 2011/5/17 John Robson <John.Robson@...>: > > I dont know if this is possible. > > > > see: > > > > http://pixlr.com/editor/ > > > > http://www.webresourcesdepot.com/jquery-image-crop-plugin-jcrop/ > > > > http://stackoverflow.com/questions/4459379/preview-before-upload-image > >
Hi, First deeply thank you for the answers. I had gone over the items on stackoverflow, but I was curious whether WT can handle that, since WT can determine to run the code on the client side (if ajax enabled) or server side. I just skipped that requirement for my demo, increased max request size in wt_config.xml. It is ok for the time being. BR, Mehmet ------------------------------------------------------------------------------ What Every C/C++ and Fortran developer Should Know! Read this article and learn how Intel has extended the reach of its next-generation tools to help Windows* and Linux* C/C++ and Fortran developers boost performance applications - including clusters. http://p.sf.net/sfu/intel-dev2devmay _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
