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

1
vote
0answers
112 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 ...
0
votes
1answer
54 views

How to retrieve images contained in a post

I'm working with the new media manager, and have a little issue to retrieve the attachment of the post. I'm developing a plugin which needs to retrieve all attachments of specific posts. I first ...
-1
votes
1answer
41 views

Bring up the media uploader on click

In my theme's options page. I want to have a textfield where a user can enter a http path to an image. and have a button beside it which brings up the media uploader (library) where a user can ...
0
votes
0answers
254 views

Is there a way to force Featured image to show as attachement?

When adding an image as a featured image to a post - if the image is an existing image in the Media Library, then the image is not added as a true attachment but as a thumbnail, shown like this in ...
0
votes
0answers
240 views

the_post_thumbnail(“size”) returns same image for all sizes except thumbnail

I've got 3 default image sizes set up in "Setting > Media Settings > Image Sizes" However, when I use anything but "thumbnail" as the image size parameter in the_post_thumbnail(), it returns the full ...
6
votes
1answer
753 views

Disable Media Uploads to non Admin Users

I am working on a clients site, one of the features they want is for his Editors or Authors to only be able to select existing images to insert into Posts from the Media Library. So looking at the ...
0
votes
0answers
1k views

Why am I getting blank thumbnails in media library?

I run a Multisite installation with 10 blogs. All the other blogs work fine except for one where any image that's uploaded does not show up in the media library. There's just a blank image instead of ...
3
votes
1answer
231 views

Wordpress 3.5 Media Manager - Reorder Selectbox items on Media Library Tab [duplicate]

The new media library is awesome but its a bit inefficient. When the page loads, it puts ALL MEDIA ITEMS as the default view. Which causes the page to load a LOT of images. I'd like it to default to ...
0
votes
1answer
131 views

Wordpress 3.5 Media Manager - Change loaded image Size [duplicate]

The new media manager loads the FULL size images which is REALLY inefficient for a thumbnail. I'd like to replace it with a different size thumbnail that is also stored for each source image. Can't ...
0
votes
0answers
21 views

Wordpress 3.5 Media Manager - Default view to “Uploaded to this post” [duplicate]

I'm trying to figure out how to default the select box above the media gallery in the new media manager so that it shows the images "uploaded to this post" by default. I can't seem to find a way that ...
1
vote
2answers
129 views

Add Additional File Info (jpeg compression & file size) settings to Edit Images Screen

On the WordPress Edit Image Screen, I'd like to add a label to show the current compression level and byte file size of the image. Any ideas how to tap into this screen and echo this data? The ...
1
vote
0answers
48 views

Multi Upload In Theme Options

I need to use the WordPress media upload on a theme options page. It needs to be able to have multiple fields on one page. I have seen a few things on the site using search but nothing recent and ...
0
votes
1answer
569 views

Video uploaded with the native media uploader gives Error 404

I created a shortcode to make an HTML5 player insert into my post, but my problem is when I attempt to view a video that I've uploaded with the native Media Uploader, I get a file not found error. The ...
0
votes
1answer
46 views

How use Videos from another directory?

I have a huge number of videos on my server in the folder of root directory. As they have a large size I do not want to upload them to "Media Library" one by one. How can I say to Wordpress to use ...
1
vote
0answers
263 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 ...
9
votes
3answers
9k views

How to add subfolders in media library for better organisation?

Right now I cannot create any subfolder e.g. reviews, news, interviews etc. I have a lot of images in my media library and it's messy. How can I create some folders and reorganize the images there?
3
votes
1answer
472 views

Hide custom image sizes from media library

I want to hide a few custom image sizes from the media uploader: The following code (posted here) works only for the default image sizes: function remove_image_sizes($sizes) { ...
1
vote
0answers
333 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 ...
0
votes
1answer
327 views

Link or button to open the media manager from frontend

I am trying to figure out if there is a way to add a link or button that will open the media manager/library on the front end of the site? I don't need to select images for insert or to select images ...
5
votes
1answer
1k views

WP 3.5 media manager - how to create a working gallery frame

i am writing a plugin and after hours and hours of searching for any documentation on WP 3.5 media manager i managed to create my custom media frame that is being called when a user clicks on a custom ...
2
votes
0answers
160 views

How to add custom button to new media upload interface [duplicate]

I am developing a plugin and i want to add my own button to the wordpress media upload interface (WP version 3.5). Right next to the standard 'insert into page' button, i want my button to be there, ...
0
votes
2answers
4k views

How organize uploaded media in WP?

I am new in WordPress and I came from Joomla. I am having some problem to understand how can I (if I can do it...) organize the uploaded media into folders and subfolders using WordPress. If I go in ...
2
votes
1answer
126 views

Hide upload image fields for the different media upload popups

I am trying to change a few of the options in the Set Featured Image popup in the Wordpress admin. I can't seem to find anything that determines if the popup window is a Featured Image or an Add Media ...
0
votes
1answer
131 views

bulk deleting empty items in the media library

I wrote a function, which should rename my attachments, based on the post title. Unfortunately this function created over 10.000 empty instances in my media-library, before I was able to stop it. The ...
0
votes
1answer
306 views

Media Manager 3.5 custom options

I need to change the values and hide some of the default media manager Attachment Display settings. Like setting the "Link to" to none, and hiding it so that the registered user can't change it. It ...
16
votes
2answers
3k views

Enhance Media Manager for Gallery

I would like to enhance the Media Editor, after WordPress 3.5, on the gallery view. I want to add a new select field on the right side and send the selected values to the gallery shortcode. I ...
1
vote
2answers
444 views

Media Content disapeared after upgrade WP core to 3.5.1

my Media -->Library content disappeared from the dashboard, but I still can see it inside my actual site folder. Could anyone instruct me how to fix it? Thank You
0
votes
1answer
207 views

Thumbnails for media Library images

I have somee Item in the media library, where I want to retrieve the thunbnail from. I use the normal post thumbnail functions (tried some of them), with normal posts or cpts's the work fine. As ...
0
votes
1answer
211 views

High CPU load when loading images in media library

I notice it uses high cpu when I load images from my media library. I have about over 1 million images uploaded and they are organized into folders by Post ID. Any tips to reducing CPU?
4
votes
1answer
335 views

Way to force media uploader use custom image size

I've implemented media uploader to my custom category image plugin and was wondering can I somehow force it use my custom image size I've set only for categories. ... So in screen shot above, I'd ...
5
votes
2answers
2k views

How to restrict images in v3.5 Media Library modal to only those from a specific post id?

How can someone restrict the images which appear in the v3.5 Media Library modal to only show those that are attached to a specific post id? I'm creating a front-end management template that allows ...
0
votes
1answer
105 views

Problem uploading files, after changing domain name

I just changed my WordPress website domain name (on the same server). Everything works fine, and the paths are correct. I can install plugins and updates without any problem. However, I can only ...
0
votes
1answer
67 views

What happened to the media manger?

Since WP 3.5 (right?), the media manager has been "streamlined" and images are no longer, as I can see it, ordered by year / month in the media manager, although they are still saved as before. Is ...
2
votes
1answer
712 views

Import media to online WordPress from local development

I have a site being developed locally and I want to import the contents to an online installation. I used wordpress "import" but it cant get the media files. Is there any "wordpress" was of doing this ...
5
votes
2answers
965 views

Wordpress Media Manager 3.5 - default link to

Media Manager once again. This time I'm looking for a simple hack/hook/filter to change default "Attachment Display Settings" from media manager. The option is "Link To" that is default set to "Media ...
1
vote
1answer
287 views

Show how many images are attached to a post/page on compose page

On the front-end, I'm using a query to show all attachments attached to the current post. However, on the compose page, there's no way for a user to see how many images are attached without opening up ...
1
vote
1answer
203 views

How can I autopopulate titles in the media library?

I have hundreds of images in my media library, most have which have no titles. In the media library, the "(no title)" message is displayed along these images. Since I generally have one image per ...
1
vote
1answer
606 views

3.5 Media Manager - callout in metaboxes

Two ways of doing the same thing: First one: var _custom_media = true, _orig_send_attachment = wp.media.editor.send.attachment; $('.media-upload-button').click(function(e) { var ...
0
votes
1answer
424 views

Remove (Unattached) Attach from “Uploaded to” in Media Library

I've already removed the Unattached link through functions.php, the last thing I need now is to remove the (Unattached) Attach from "Uploaded to" in Media Library. I've no clue about what code should ...
0
votes
1answer
235 views

remove_menu_page breaks “Add media”

Using the the remove_menu_page function results in a really strange bug. By adding the code below in the functions.php file the integrated "Add media" widget starts to bug. function ...
-1
votes
2answers
252 views

Remote Image (from URL) as Media Library element

I have slow upload on my wordpress server and I want to export two very big image to external server. So I need Media Library Image to use in other component. I cant edit URL of Image. Is any plugin ...
1
vote
2answers
935 views

Add file name column to media library

I've migrated hosts for a WordPress site, and a lot of my images have the same title. I am trying to pinpoint one media file by the file name, but file name is not a column listed in Media Library. ...
0
votes
1answer
184 views

Image uploaded in media library, can only see it when I using the WP Edit Image feature. 404 when trying to view in browser

I have an image that I've uploaded through the WP media library. I can see this image in my uploads folder via ssh/ftp. I cannot see this image if I put the URL in my browser, like ...
2
votes
1answer
1k views

Saving Custom Field in Attachment Window in WordPress 3.5

I'm using the code below to add a custom text field in WP 3.5 Attachment Window (from this question # Expanding new Media Uploader in WordPress 3.5) ... add_filter( 'attachment_fields_to_edit', ...
2
votes
1answer
85 views

Display latest 12 images from media library

I was looking for almost a week for such solution - without success. What I want to achieve is have a kind of 'photos cloud' on my wordpress homepage. What I need to do is to display latest 12 photos ...
0
votes
2answers
650 views

Insert wp gallery shortcode into custom textarea

Is there a way to insert wp gallery shortcode into custom metabox textarea ? I would like to have something like this: New metabox in post/page with textarea and below textarea there are a button to ...
2
votes
1answer
251 views

WP3.5 Media Uploader - how to make it accept multiple images?

I'm wondering how to make WP3.5 media uploader return 2 or more items in attachement? It always runs once even if 2 items are selected. The code: $('.button').on('click', function(){ var ...
4
votes
1answer
2k views

How to call WP3.5 Media Library manager?

In the past Media Library window could be called like this: tb_show("Upload image", "media-upload.php?type=image&TB_iframe=1&width=640&height=520"); This still works in WP3.5. But I'm ...
2
votes
1answer
208 views

Delete all associated media when custom post type removed

Basically I have so many images associated with custom post type that I need to be able to safely delete all related media on removal from trash. Is there a safe way of doing this?
2
votes
1answer
131 views

“Insert Into Post” For Custom Button

I'm in the process of trying to build a improved media library for our contributors. I have set up a custom taxonomy category for media, and set up a tab in the Add Media popup box for browsing ...