WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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


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 ?

share|improve this question
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 Jul 18 '13 at 22:59

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


share|improve this answer
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 Jul 18 '13 at 22:54

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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