Issue #2009580 by pplantinga, Samvel, hussainweb, andypost, siccababes: Replace theme() with drupal_render() in image module.