Argh..easy to fix:
instead of
include( ABSPATH . 'wp-admin/includes/image.php' );
use
require_once( ABSPATH . 'wp-admin/includes/image.php' );
Hope this helps someone!
Argh..easy to fix:
instead of
include( ABSPATH . 'wp-admin/includes/image.php' );
use
require_once( ABSPATH . 'wp-admin/includes/image.php' );
Hope this helps someone!