× Warning! This forum is in archival status. New contributions may not work.
Image renditions and memory
  • It looks like Newscoop doesn't run imagedestroy(); after creating a new rendition. That means that if you have five different renditions, when you add an image you will save five images in memory. To free memory, always run imagedestroy(); after each and every rendition.

    This is very important because Newscoop users will typically use a lot of high resolution images on their websites.
    Post edited by Sebastian Olsson (2) at 2014-01-09 06:04:02
  • 2 Comments sorted by
  • Vote Up0Vote Down Paweł MikołajczukPaweł Mikołajczuk
    Posts: 72Member, Sourcefabric Team
    Converted into ticket (http://dev.sourcefabric.org/browse/CS-4908) thanks for this info. 
    If you are developer then i can say that any Pull request is welcome! 
  • I'm not doing it. You should assign it to someone else. I have some experience with PHP, but I got this recommendation from the web host's support technician. 
    Post edited by Sebastian Olsson (2) at 2014-01-09 11:11:52