Is there a solution to change the add Media popup in posts/page WordPress admin ?
My dream is to integrate the popup directly in a metabox. The user shouldn’t open the popup to manage his media files. And sometimes hide the library and From URL tabs, not always useful…
I’m looking to better manage a product page (for ecommercial website..) and its images.
Just a question 🙂 And maybe a suggestion.
What do you think about that?
You can manipulate that screen in a couple of ways.
Using the action hook
admin_head-media-upload-popup
, as seen in How to Add a Custom Colum on Thickbox Media Gallery Tab?.Or using the filter
media_upload_tabs
: Remove tabs from media uploader for a CPT.Other solutions/examples and possible hooks can be found with this search query: https://wordpress.stackexchange.com/search?q=media-upload-popup
Take a look at the plugin Image Pro, which seems to meet the requirements.
And analyzing the code of the plugin Faster Image Insert can reveal some interesting techniques.