How to get the image-URL from Media-Upload in widget field
-
i am creating a custom widget where i have placed thickbox media-upload to upload the images. it upload the image but i will like to insert the image url to my field url in widget when clicking insert in post button in medai-upload.
can anybody gave me some suggestion how to do that. any comment are most welcome.
atlast thanks for reading my toipc.
code that i have used to upload the image in widget is
add_thickbox();
wp_enqueue_script('media-upload');
$media_upload_iframe_src = "media-upload.php?type=image&widget_id=calloutbox_id1";
$image_upload_iframe_src = apply_filters('image_upload_iframe_src', "$media_upload_iframe_src");
and the link for get the thick box is
&TB_iframe=true" class="thickbox-image-widget">IMAGE
The blog I need help with is: (visible only to logged in users)
- The topic ‘How to get the image-URL from Media-Upload in widget field’ is closed to new replies.