Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I see plugins that somehow hook into the Wordpress file browser (so that users can either upload an image to the image library or choose an image from the image library) but I've been searching through the codex and can't seem to find a simple way to do this.

I'd like to add the image browser/file upload to my options page...

share|improve this question
If you see plugins doing this then best way to find out how to do it would be to look at the plugin source code. The codex is lacking in a lot of information and I doubt you would find how to make an image uploader for your options page there. –  Brady Aug 26 '11 at 14:30

2 Answers 2

up vote 2 down vote accepted

Read this article: Using the WordPress Uploader in Your Plugin or Theme. I've successfully used this method to integrate the WP uploader with my own plugin.

share|improve this answer
Looks good to me...thanks! –  redconservatory Aug 26 '11 at 21:43

I've used: http://www.deluxeblogtips.com/meta-box-script-for-wordpress/ to create an upload images metabox....

share|improve this answer

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.