Hi, > > yes, I'm making a function, I'm not creating a class really. > Can I access to cObj instead, only need to resize images... Might be available if you are in frontend context: $GLOBALS['TSFE']->cObj HTH, Andreas