How to get the image-URL from Media-Upload in widget field

  • Author
  • #907909

    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
    $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



    I’m sorry, but that code will not work because we remove JavaScript, Flash, iframe, form, and input tags for security reasons.

    You can read more about this here:

The topic ‘How to get the image-URL from Media-Upload in widget field’ is closed to new replies.