Selecte and retrieve file path to image using dialog box
- by Steven
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?