ed4becky
Member
Posted 1 year ago #
I have a plugin that creates a page for inputting a path to an image. I would LIKE to provide a button that takes the user to the Media Selector, then auto populates the text field with the path.
Is there a function or a strategy for calling the 'media selecor'(?) and getting back information about the image (like the path to it)?
a.hoereth
Member
Posted 1 year ago #
*searching for this too*
I want to access the media selector in my widget-settings to select pictures from the wordpress media and save their id into a database option of my plugin - similar to ed4becky's idea.
edit: already found this. but it is not exactly what i need..
a.hoereth
Member
Posted 1 year ago #
@ed4becky: doesnt look like we would get a soloutin using 3.0.4... An interesting discussion on this topic:
http://wordpress.org/support/topic/using-wps-thickbox-in-a-plugin?replies=16
and on this trac ticket: http://core.trac.wordpress.org/ticket/13817
Possibilities to fix this are on their way with 3.1!
a.hoereth
Member
Posted 1 year ago #