Media Library is a WordPress panel that display all files you've sent. There you can add ne files, attach files to posts and pages etc

learn more… | top users | synonyms

0
votes
1answer
58 views

Producing a list of media library items categorized under a certain taxonomy item

I created a custom taxonomy called "Reference Type" which is used to categorize media library items. In the taxonomy.php page, I want to produce a list of all media library items that are categorized ...
1
vote
0answers
76 views

Multisite: use media from one site vs. copying the same media to all language sites?

This is a business site with product images. I have a multisite installation with 3 languages in 3 directories which will later be mapped to completely separate domains by the host when it's ...
0
votes
0answers
186 views

WP_Customize_Image_Control is not doing very much

I am trying to add a logo option. The section and the option shows up under Appearance - Customize as expected. It offers me to upload an image. I do that. The image gets uploaded, but the option ...
4
votes
1answer
74 views

What to do with unattached logos and header uploaded via native wordpress uploader?

Normally when we sort unattached images, they include logos and header images too. My question is simple. Is there any method to keep header and logos safe from deletion? Is it possible to attach ...
2
votes
0answers
464 views

Plugin to Import Dropbox Files into Media Folder from the Cloud [closed]

I have been reading about options to use Dropbox as your upload folder and moving files to Dropbox from your server to put them in the cloud this way. What I need is a plugin or script to move ...
2
votes
0answers
172 views

Extend Media Library

The Media Library in WordPress has "Insert from URL" link to the left. It accepts image URLs. It's not said anywhere but if you paste YouTube URL or <iframe> code then it will insert it too. It ...
-2
votes
1answer
766 views

Remove duplicate images from media library.

I recently used an image importer that has duplicated all the images. They are attached to the right posts and the posts are fine (not duplicated). How do I run through my media library deleting ...
0
votes
1answer
46 views

Adding Alt Tag Column to Media Library List

I'd like to add a column in the Media Library that shows that alt tag that way I can quickly add alt tags for all images that don't have one. How could I go about this?
0
votes
0answers
318 views

Custom post type Featured Image popup not working

I added a custom post type with thumbnail support. When I navigate to the custom post type in the admin backend and add a new one, I can add a featured image. The problem is, when I click the link ...
0
votes
0answers
24 views

Media Library not displaying edited images when accessed through 'Add Media' button

I am experiencing an issue with edited photos not displaying in the media library when trying to add media to a post, they do however, display when you view the media library from the sidebar link. ...
2
votes
0answers
61 views

Proper way to add a button to the top menu of the media library?

I want to add a simple button to the Media Library top menu (say, to the right of the bulk actions / filters dropdowns. I have scoured the WordPress codex for a proper way to do this and have found ...
0
votes
0answers
130 views

upload multiple images in wordpress admin and create post

I have created a plugin with a new page in the admin area. Here I would like to create a function that images can be uploaded and for each image a post is created (with custom meta field data). I ...
0
votes
0answers
110 views

Resize an image on selection from media library

i want the image(image1) that is uploaded by a user to be automatically resized to 360px width and 560px height once selected and image 2 to 280*510 once selected from the media library via the theme ...
0
votes
0answers
61 views

Media Library Image search goes to No items found

I have a wordpress site, It contains several images in media library, Those images are uploaded by vary users with admin access, The issue is if try to search image while insert image to post, It ...
0
votes
0answers
8 views

Add a filetype to the permitted upload types? [duplicate]

I'd like to attach an LDraw lego design file (.ldr) to one of my wordpress posts. However the upload media widget complains that the file type cannot be uploaded "for security reasons", which is ...
1
vote
1answer
87 views

Alter image meta fields in the Media Library

To improve user experience, I want to make changes to the image meta fields in the Media Library: As demonstrated above, I want to change the Caption field to Source and remove the Alt Text and ...
1
vote
1answer
80 views

How to link to “most recent” document in the Media Library?

Our customer wants a "Latest Newsletter" type link on the homepage. I figured there'd be an easy way to specify a document from the media library (perhaps by name or title) but nothing is coming up ...
0
votes
0answers
89 views

Sortable Attachments Using 3.5 Media Uploader with Custom View

I'm using the tutorial by Mike Jolley to integrate the media uploader introduced in 3.5 into a custom post type edit page. The pertinent HTML on the page is this: <div ...
1
vote
1answer
127 views

Media Manager (since 3.5): How to show an empty Media Library when creating a media frame?

Is there a way to make sure the "Media Library" tab does not show any images until I start uploading some in the "Upload Files" tab? I am creating a wp.media frame with the following code: var ...
0
votes
1answer
689 views

Wordpress function: limit size, only jpg, jpeg, limit of uploaded files per account

Need help with a function that will limit upload for non admins: Check before upload if file is jpg, jpeg. Check before upload if picture is not bigger than 700kb. Limit uploaded files to 7 per ...
1
vote
1answer
37 views

How to create media library for each user?

In my project there are three types of users, teacher, student, and admin. Each user has the provision to add posts. But my problem is that each user need each media library for add images into post. ...
0
votes
0answers
49 views

Add media browser tab for CPT

I created a CPT "Gallery" and wanted to create a new tab in the media browser. For now I added a tab and created a function for it's content: jw_gallery_media_tabs($tabs) { return ...
1
vote
0answers
216 views

Javascript WP Object Documentation?

I was working on implementing the media library within one of my plugins/themes. I found a nice tutorial (http://mikejolley.com/2012/12/using-the-new-wordpress-3-5-media-uploader-in-plugins/) that ...
0
votes
2answers
71 views

Multiple thumbnails and one gallery

I'm looking for solution for a gallery on a WP page that shows multiple thumbnails of images in that gallery, but not all thumbnails in gallery (like default Galleries in WP works). I want ...
0
votes
1answer
286 views

Metabox with file upload to custom directory

I've found lots of tutorials on how to create a metabox file uploader using wordpress' native file uploader. However, I would like to have the uploaded file placed in to a custom directory, and I'm ...
0
votes
1answer
167 views

How to Filter in the “Add Media Popup” to show only “unattached” Media

Any idea how to hack WP 3.8.x for this feature?
0
votes
2answers
136 views

Handle lots of images within the media uploader / selector

I currently have a website containing more than 3K images (and counting...) within the media library. When the user opens the Media Uploader to select or upload an image to a post the media selector ...
4
votes
1answer
81 views

Why are double-periods (“..”) invalid in a Wordpress image filename?

ms-files.php contains the following code fragment: $file = rtrim( BLOGUPLOADDIR, '/' ) . '/' . str_replace( '..', '', $_GET[ 'file' ] ); if ( !is_file( $file ) ) { status_header( 404 ); die( ...
0
votes
1answer
28 views

How do I embed an image at actual size?

I'd like to give the user the option to insert images into posts, and have the image display at its actual size. How do I do this? Currently, if an image is selected from the media library, a ...
1
vote
1answer
422 views

Hide Default Video Shortcode Controls on PageLoad

In wordpress 3.6+ when we use default video shortcode [video], controls of video are always visible on pageload. How can we hide these controls on page load and show only when we hover over the video ...
0
votes
1answer
335 views

Add item to media library from blob or dataUrl

I'm trying to build a webcam snapshot recorder. It should take a picture and upload it to the WP media library via ajax / async-upload. Already managed to add a view to the media library. Recording ...
0
votes
0answers
42 views

Network shared post error You do not have permission to upload files to site + 500 internal server error

I am using Network Shared Post plugin in my wordpress 3.6 website to use users images themselves. But when a user try to use other people files, it shows an error message "You do not have ...
0
votes
0answers
27 views

Embed from wordpress to another site (object within post)

So I'm using the built in wordpress player for my podcast within a blog I syndicate through tumblr. I was hoping to have the player display on other sites. Is there a way to embed the player (maybe ...
0
votes
0answers
69 views

Attachment Metadata not updated while uploading audio files

Suddenly, I am having some issues when uploading audio type of file in wordpress. previously, when I uploaded .mp3 files, the attachment metadata of the files were updated accordingly, for instance; ...
0
votes
0answers
48 views

Media Library filter returns undefined function get_current_screen

Hello I am following Filter by post category in Media Library I copied the code answer into my functions.php file at the bottom and got this error: Fatal error: Call to undefined function ...
1
vote
0answers
60 views

Add custom text in the media library image meta area

I want to add some custom text in this area in the media library: Is there a filter I could hook into or how can I add content there? If not, how do we do this using Javascript? I want the text to ...
1
vote
1answer
98 views

delete a photo tag in rtmedia [closed]

I am using rtmedia photo tag in my website. When deleting a user I am also trying to delete all the photo tags added by him on the albums of other users. How can I do that?. Is there any functions ...
4
votes
1answer
396 views

Filter by post category in Media Library

I am trying to find a way to filter the Media Library by the Post Category that a Media item is assigned with. I can see that you can sort by "attached to" but this only get me a little of the way ...
0
votes
1answer
2k views

3.8 Media Upload and Custom Meta Box

I've been using Tammy Hart's Reusable Custom MetaBox code for some time now but with the recent 3.8 update the media upload seems to be no longer functioning, and the code is no longer supported. ...
0
votes
1answer
155 views

Images are not showing up in “Uploaded to this post”

I had to delete all my files of web site for some reasons. Then I've restored the files back to host. But the problem is that; Firstly, I uploaded all the images (about 4000) to upload folder via ...
0
votes
0answers
22 views

Is there a way to add Reattach and Unattach links in image gallery?

For some reason the Reattach and Unattach links in Media library is gone. Is there a way to add these from functions.php?
0
votes
2answers
906 views

Disable media library tab for non admins in uploader screen

I am developing a plugin in which i am required to allow front end users to upload media, which I am able to do. But I don't want to let them sneak into media library which comes as tab with uploader ...
3
votes
2answers
113 views

Register an additional image size for only some images in my media library

There is a type of post on my blog which requires one extremely large image (such that it can be zoomed). I don't want to register a new image size, because I only need a certain small subset of ...
0
votes
1answer
434 views

Wordpress media manager multiple selection output

I'm trying to use media manager in metabox, and I need to use multiple select. I just have problem with doing output from that selection. I need element in metabox to hold all selected files urls. My ...
1
vote
0answers
172 views

Display only my own files/images in media library

I just want to let user see only their own files in media library. I have 2 questions: it works great on list of media library. add_action('pre_get_posts','users_own_attachments'); function ...
0
votes
0answers
24 views

how to setup user access media library?

I think this could be a simple answer but I can't really find. except administrator, users are not able to see "media library". Is there anyway to setup to show (display on dashboard) media library ...
2
votes
2answers
458 views

Is it possible to trigger some JavaScript when Media Popup is opened?

On one of my custom posts edit page I have a button that triggers the media popup onclick, with: wp.media.editor.open(); and while it brings up the media manager I'm not sure if that's the proper way ...
2
votes
1answer
241 views

Adding Alt Attributes Automatically when Uploading Images to Media Library

I have lots of images that has to be uploaded via media library. I want to know, is it possible to add file name to alt attribute field automatically when I am uploading them? At the moment I have to ...
0
votes
1answer
54 views

How can I add a Description column to the media library browser screen?

I'm trying to display the description of each file on the media library browser screen. I've found some code that adds a filename column, but I'm trying to modify it so that it will display the ...
0
votes
1answer
25 views

Get filenames of available image sizes

Example: /wp-content/uploads/2013/11/xyz.jpg This has 2 other thumbnail images that were created with it.. /wp-content/uploads/2013/11/xyz-150x150.jpg /wp-content/uploads/2013/11/xyz-201x300.jpg ...