The Community forums are being phased out in favor of a new Slack group.
Add your email address below to get an invitation to join the community slack group

Slack Signup
Newsletter Optin
Help Desk

Access Media Library from "File Upload"?

Labels

This Discussion is public

Notifications

The File Upload field is a good option for those who don't upload much...but I really need my users to access the Media Library. It's a multisite, so they would only be seeing what they have access to see. Is it possible to launch the Media Library when the click "File Upload"? There are too many duplicated images piling up in the libraries.

Hi Bryan,

It sounds like it might be easier to just use an HTML element and use a button to launch a pop-up window with a link to the media library?

Assuming your users are logged in that is?

You can use a little javascript to control the size and position of the pop up window to make it look more like a normal 'pop-up' as opposed to a new tab.

Something like this maybe?

<a href="http://community.formidableforms.com/help-desk/access-media-library-from-file-upload/" target="popup" onclick="window.open('http://community.formidableforms.com/help-desk/access-media-library-from-file-upload/','name','width=600,height=400')">Open page in new window</a>

NB: that's not my code but I have tested it and it's a good starting point.

Thanks

Chris

Hi there, i working in an addon to add new field to formidable to show the wp media library and select the images from there.

http://www.gfirem.com

I plan to release asap. If you want to be beta tester. I will glad your help

Hey Guillermo - yep. I would really like to beta that. Thanks. Hit me up on Skype if needed.

Chris - thanks for the idea. Not sure if it would work, as forms are all accessed via modal and pop-up blockers are so widespread now. Apologies on the delay replying, btw. My notifications we being sent to my junk folder.

Thanks guys.

 

I glad, let me finish some changes to send you a link. Get some screen clipping. The field save the attachment id in the form.


Attachments:

Hi gfirem, bringing this back from the grave perhaps, but wondering if you ended up releasing this code? Would you be willing to share?

 

Cheers

Lachlan

Hi Lachlan Phillips. I plan to release all my plugins for free. I don't have time to continue supporting it.

I'm keen mate, of you have unsupported code for this I'd absolutely love to rifle through it.

Discussion closed.