title: Zend Framework 2 and Imagine
body: <p>I am working on a CMS built on top of Zend framework 2.
  There needs to come a function which resizes images, after some research I found <a href="https://imagine.readthedocs.org/en/latest/usage/introduction.html#installation" rel="nofollow">Imagine</a></p>
  
  <p>It has all the functions I need. On the website it says you need to require the libary on your page.</p>
  
  <p>With Zend Framework 2 you can't just include the file but you need some factory for it. Now is the problem i'm not to familiar with Zend Framework 2 but we need a fast solution.</p>
  
  <p>I hope one of you guys can help out with a solution. </p>