think i have found it if that can be any help. did not finished it .. but still gonna continu that tomorrow, time to sleep.
here what was my orginal call
that from a button click... jquery. now, i have realize that the wordpress function in media.php (includes\media.php) look if the post id exists. Before, it was working just find with "
post_id=1". but now on we HAVE to pass the post id... so my call gonna look like
tb_show('', 'media-upload.php?post_id= < ? php echo Xxxxx ?> &type=image&TB_iframe=true');
(whitout the blank space in aronud the '?')
xxxxx is replace by my
post id... now im new to php so here i am.. going to sleep but hey. it works well when i hardcode it myself with the good post id.
other solution possible:
this is the line that make the button appear:
$form_fields['buttons'] = array( 'tr' => "\t\t$send $thumbnail $delete\n" );
look around it in
\includes\media.php... maybe it easyer than it appear for a newbe in php like me!