I would like to import an image to an pods.io custom image field. I tried
$api = pods_api( 'boek' );
$data = array(
0 => array(
'post_title' => 'slug',
'name' => 'test1',
'isbn13' => '9780000000001',
'producttype' => 'Paperback',
'nur' => 200,
'omslag' => pods_attachment_import( 'http://barcelonainfo.nl/wp-content/uploads/2012/08/Boek_open.jpg' )
),
);
// Run the import
$api->import( $data );
omslag is a file/image/video field. The image is imported but not attached to the POD in the omslag field.