Re: Resizing images using imgscalr

2014-09-24 Thread Sandor Szatmari
, or y and the scaling is proportional. Sandor Szatmari On Sep 24, 2014, at 09:31, Thorsten Scherler thors...@apache.org wrote: On 18/09/14 15:43, Peter Sparkes wrote: Hi, Cocoon 2.1.12 I use the following javascript ( Text in Black )with the Cocoon Upload widget uploading images

Re: Resize images

2014-09-11 Thread Sandor Szatmari
I use JAI to dynamically resize images for my site. There are lot of examples if you google 'JAI image resize'. I store higher res images and downscale them on the fly to the right size for the context they will be used in. I wrote a plain old servlet to do it, but I'm sure it could be done

Capture or Output data from current flow state to PDF

2014-02-01 Thread Sandor Szatmari
Hello, Using Cocoon 2.2, I am trying to generate some PDF interactively using flow. The flowscript loops, continually getting input from the user, allowing them to add content via form submission. The input is collected and used to dynamically build a document. This part works using the