Selecte and retrieve file path to image using dialog box

Posted by Steven on Stack Overflow See other posts from Stack Overflow or by Steven
Published on 2010-04-30T20:38:24Z Indexed on 2010/05/01 5:27 UTC
Read the original article Hit count: 197

Filed under:
|

I'm expanding Wordpress to function more like a CMS. This includes relating image to a post.

Currently I have a text field where I paste an image path. Now I want to click a button which opens a dialog box, then I navigate to the right folder and select a file to "open" (from server side).

The file path is returned.

How can I go about accomplishing this?

© Stack Overflow or respective owner

Related posts about php

Related posts about Wordpress