Hi Peter, Try in your javascript/flowscript: var imagescaled = Scalr.resize(imagein, size);
without the "new" keyword. reason: You try to call a so-called "static" method. Hope that helps. Jos On Fri, Sep 26, 2014 at 10:30 PM, Peter Sparkes <pe...@didm.co.uk> wrote: > Hi, > > Cocoon 2.1.12 > > Ref http://cocoon.apache.org/2.1/userdocs/flow/java.html > > Please how do I associate > > importClass(Packages.org.imgscalr.Scalr); > > with its jar file "imgscalr-lib-4.2.jar" > > which I put in > > WEB-INF/lib > > Regards > > Peter > -- Confucius said way too much ...