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

2
votes
0answers
296 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 ...
2
votes
0answers
287 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
0answers
67 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 ...
1
vote
0answers
19 views

Edit single attachment on click (WP-admin)

I've created a custom media manager for a CPT I've created. I have everything functioning properly except an edit function. I want to have an edit button for each attachment that gets added to the ...
1
vote
0answers
33 views

Add media library tab

I'm trying to make a new tab in the media library. I have found the function add_media_page which helps me add a page in the media menu to the left. How ever, this menu is not always visible, for ...
1
vote
0answers
51 views

How to get attachment id as soon as it is uploaded through media uploader in jquery?

Using jquery, I am trying to get image attachment id of all images requested to upload through media uploader on post edit page or upload.php. Here is what I tried but this works after all images are ...
1
vote
0answers
44 views

Extending Media Gallery - Retrieving values from short code

There are some existing questions that discuss how to add fields to the gallery dialog box and get those into the short code. What I want to be able to do is facilitate editing an existing short ...
1
vote
0answers
89 views

Refreshing collections in the admin media manager

I know this question is very similar to this previously asked question; however, I was wondering if there was a more up-to-date/official way to refresh content programmatically in the WordPress admin ...
1
vote
0answers
272 views

Custom media picker in meta box: how to select available image sizes?

I have a custom meta box where a user can select an image and save it using wordpresses media picker, set up with some JavaScript. That works fine, but I'd like the option to select which version of ...
1
vote
0answers
41 views

Images uploaded to the media library has strange colors. However, in the edit screen the color is ok

This is a strange issue that I've never encountered before. When I upload this image to WordPress' media library, it comes out like this (image on the left): This is also how the image appears on ...
1
vote
0answers
123 views

Modify how gallery.js builds the shortcode [gallery …] in tinyMCE?

The post editor helpfully removes default arguments like columns="3" from the [gallery] shortcode. How do you tell it to remove a custom attribute that has a default value? The answer at Enhance ...
1
vote
0answers
144 views

How to run custom JavaScript code on gallery attachment image selection

On line 4620 of media.views.js is this: media.view.Attachment = media.View.extend({ ..... select: function( model, collection ) { ..... I would like to add some more features to this ...
1
vote
0answers
166 views

Images are registered in media library but still won't show up

I'm working on creating a copy of a wordpress site on a separate domain hosted on the same server as the original. I created the new database with the correct domain and everything is working properly ...
1
vote
0answers
48 views

Change Media Library thumbnails for non-image files to include the post title instead of the filename?

We are migrating an outdated custom CMS to Wordpress and all of the files have a corresponding title which is great, but Wordpress chose to show the filename, by default, in the grid view, which ...
1
vote
0answers
405 views

Change media URL (images)

Similar questions have been posted, but none have been resolved. I'm looking to, programmatically on upload, change the URL of a media file to its URL on a CDN. I.e. modify ...
1
vote
0answers
242 views

Users can't upload images on frontend if they haven't got access to the wp backend

I let users create posts and upload/attach images to that post via the frontend. This works fine. However, when I restrict the access to the Wordpress backend (/wp-admin/) via a code snippet like this ...
1
vote
0answers
66 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
0answers
230 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 ...
1
vote
0answers
401 views

Adding wp_enqueue_media(); causes problem

I want to add the media uploader in the theme options page. If I add following code in the options page, the media uploader works fine there, but it creates problem in the standard posts featured ...
1
vote
0answers
292 views

Bulk edit of EXIF data for jpeg images uploaded in the media library?

Although there's a number of plugins that display EXIF data in your posts or remove EXIF data altogether to save space, I couldn't find a solution to manually edit EXIF data for whole bunches of ...
1
vote
0answers
345 views

date/time-picker and file upload (image) fields for custom fields (e.g. with more fields)

I got used working with the More Fields plugin. But it seems that fields like datepicker timepicker date/timepicker image upload (media library) are missing somehow. Is there a plugin which can do ...
1
vote
0answers
181 views

Conditional Image Sizes for Use via Theme Customizer Upload Only

I'm looking for a way to add image sizes that are only generated by uploads happening in the Theme Customizer, any suggestions or direction on how this could be done? I've already worked with the ...
1
vote
0answers
135 views

How to replace featured image upload option with the post media image option

I am looking for a way to insert custom URL links in featured Image as well. Currently Featured image tab is only having these basic settings - But I want to add custom URL links to my featured ...
1
vote
0answers
358 views

Changing image URLs in media library

On a default wordpress install, the media library is located at: /wp-admin/upload.php. I am trying to update the image URL to point to my CDN, not my local server. This filter ...
1
vote
0answers
348 views

Can I create my own custom Attachment Display Setting?

I'm porting a client site over to WP from an old customized .Net CMS and something their existing system does well is the site admin interface contains a simple utility for uploading media to the ...
1
vote
0answers
198 views

Pages redirected to attachment post

THE SETUP I'm using WordPress 3.4.2 with Magic Fields 2 plugin. Using MagicFields2, I've added a custom field to the builtin 'page' post type. This field is called 'section_header' (which is ...
1
vote
0answers
43 views

Make change in media library affect images in published articles

Is there any way/plugin to make wordpress change the description/alt text/caption of an image used in already written articles if I change any of those texts of that specific image in the media ...
1
vote
0answers
36 views

How do you alter the default WordPress thumbnail?

I have selected 'thumbnail' under 'Apply changes to:', however, nothing seems to happen in either the media library or on the site. I've also tried regenerating the images after making changes, but ...
0
votes
0answers
12 views

How to display the date a directory folder on ftp was modified

We have our site running on wordpress, but we upload all of our PDF files via FTP and NOT the WP media. I want to be able to display in a WP Page, the last time a file, or a "folder in the FTP ...
0
votes
0answers
21 views

Custom Post Gallery: Media Library / uploaded to this post

Gallery: Media Library / uploaded to this post I have custom posts I want to add a gallery to, but filtering the uploaded images using Media Library / uploaded to this post dropdown selection does ...
0
votes
0answers
5 views

Invoke Wordpress' cropping tool in the front end

Is there a standard way to invoke Wordpress cropping tool in the front end? I'm asking about the one available in the media library on attachment page, when 'edit image' button is clicked.
0
votes
0answers
10 views

Provide New/Existing Users with Pre-Uploaded Media Images?

When a new user joins my site I want to give them the option of using pre-uploaded images. As of now, when they go to "add media" it's BLANK and they can only view files they upload. How can i ...
0
votes
0answers
16 views

What's the best way to index media ressources on a “Media Assests” page?

I'm trying to find the best way to index a collection of media ressources (PDFs, Videos and Photos) on a WP page. The simpliest quickest way, would be to manually insert all the selected media on a ...
0
votes
0answers
36 views

Upload folder permissions suddenly changed on all WP sites on same server

All my media linrary uploads were working until today when I tried uploading some pdf's and images to one of the WP sites on my server. I checked the other sites on same server and same thing ...
0
votes
0answers
9 views

Hook into media uploader screen

I'm trying to add some text to the "add media" popup and have been searching for a hook. However, I have been unable to find one. Do any exist? preferably, I would like to hook in to the area ...
0
votes
0answers
25 views

Cropping image results in image being too small

This is the wordpress version 4.2 powell I crop 1500 x 1000 and then press on crop, then save. Resulting image size: 1497 x 1000 I don't know, I somehow hoped that wordpress is able to bloody ...
0
votes
0answers
21 views

Media Library only shows media to the user who uploads it

My media library is only showing media from the user that uploaded it by default. I didn't do anything that I know of to make this happen. How do I make it so media in the library is available to ...
0
votes
0answers
24 views

Replace upload system/Override wp_handle_upload

I am going to be running a WP site on Heroku, and none of the current solutions for the media library fit my needs. There is a system for Amazon S3 (not using because paid), and a mapping system for ...
0
votes
0answers
23 views

Cannot upload any image into wordpress after changing from multisite to single site

I have recently changed a site from multisite to single site by changing and commenting the parameters in the wp-config.php. After doing so I cannot upload any file into the media library. The upload ...
0
votes
0answers
46 views

display media files under admin based on users and directory

A small description on Plugins used: I am using <a href="https://wordpress.org/plugins/media-file-manager-advanced/">Media File Manager Advanced Plugin </a> to organize my uploads ...
0
votes
0answers
33 views

Disable Media Library in Advanced Custom Fields

Ive posted on their forums but no one is answering. When you click "add file" on the field it opens up the Media Libary window, which isnt what i want to happen. id like for it to take them ...
0
votes
0answers
48 views

How can I trigger the media library “query-attachments” action manually?

I'm working on a plugin that manipulates the WordPress 4.0+ Media Library. I see that the attachments in the media library are loaded by an ajax call using the query-attachments action. I need to ...
0
votes
0answers
114 views

Images dont show in grid view, but do in list view

In media library, images show in list view, but not in grid view. This becomes an issue because adding a featured image is done by grid view only. I had to edit the DB to make all jpg files lower ...
0
votes
0answers
26 views

Restrict Media Library to one user except for admins

I have this function to restrict the media library to one user. However I have a few admins who need access to the whole library. How can I make all of it available for admins only ? /*restirct ...
0
votes
0answers
23 views

image carousel widget

Is there tutorial how to build widget where you can upload multiple images? I was trying to look some tutorials on widgets but to my surprise there are only few online. Or then my googling skills are ...
0
votes
0answers
223 views

Custom dropdown filter in media grid view

With the new grid mode in the media library the good old WP_List_Table specific restrict_manage_posts filter for adding custom filtering options is not available. All happens through JavaScript. I ...
0
votes
0answers
295 views

Wordpress does not detect all images in uploads folder?

I have about 500,000 images in the /uploads folder, but in Wordpress admin the media library only shows 10,000 images used (which is correct) and 10,000 unattached. In reality it's more like 490,000 ...
0
votes
0answers
19 views

Uploading thousands of images easily from an existing album/subalbum structure into same

Having looked and not finding an answer, I'm asking the wizards. I'm creating a WP site with approx 1500 posts about heritage sites, sites of which I have tens of thousands of photos. I manage the ...
0
votes
0answers
33 views

How to configure WordPress to create thumbnails

I was having a problem on a 3.8.0 install where thumbnails were not being created by WordPress. I thought it was the install, so I installed 3.9.2, not upgrade, but completely different install. And ...
0
votes
0answers
14 views

Media Manager not creating thumbnails

I am working with the media manager in WP 3.8. For some reason, it is not creating thumbnails. The original image uploads just fine. Here is a list of things I've done or checked: The images I am ...