-1

In my theme's options page. I want to have a textfield where a user can enter a http path to an image.

and

have a button beside it which brings up the media uploader (library) where a user can upload an image and insert its path directly into the text field.

Any ideas on how I can do this ?

1
  • Please provide more details on what have you tried and any code already developed. Providing what you need alone is usually considered fork-for-me-for-free kind of request and is not in scope.
    – Rarst
    Commented Jul 18, 2013 at 22:59

1 Answer 1

-1

Go here ... it's not quite ready for prime time but will get you started:

http://www.webmaster-source.com/2013/02/06/using-the-wordpress-3-5-media-uploader-in-your-plugin-or-theme/#comment-37213

1
  • Link only answers are discouraged. If something happens to that link the answer becomes useless. Please try to make your answer here stand alone.
    – s_ha_dum
    Commented Jul 18, 2013 at 22:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.