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
2answers
67 views

How to have changes made in media library to be reflected on posts/pages

I have recently invested a bunch of hours updating the alt text of all the images in a media library, only to realise that the changes are not reflected on posts/pages. Whoops! Is there any way to ...
2
votes
2answers
593 views

Making the Add Media Link URL into a checkbox

Hopefully it's OK asking a second question pretty much directly after the first one... I'm currently having some difficulties accomplishing this: I've been able to remove the 'Attachment Post URL' ...
1
vote
2answers
556 views

How to get an image transferred via FTP or script to appear in Media Manager?

I've got a plugin that transfers some files over to the uploads folder of the site in which the plugin is installed. It works fine, however, the images are not appearing in the Media Manager. I ...
1
vote
4answers
522 views

Media Library page super slow, loading up full quality images

On my WP site (which sells retail products), I have large images (up to 4000x4000 px) so people can zoom in. Unfortunately, when adding images to a page and using the Media Library, the images all ...
1
vote
1answer
324 views

Is there a way to delete images from the Media Library programatically?

I did a custom user profile page for wordpress that lets you update your profile including uploading your custom avatar and save that photo to the Media Library. Is there a way for the a specific ...
1
vote
2answers
1k views

How to Check Disk Space used by Media Library

Is there any way to find out how much of disk space has been used by Media Library? My blog's media files stored in a separate folder named "media" rather than the default "wp-content/uploads". ...
1
vote
2answers
110 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
1answer
438 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 ...
1
vote
1answer
449 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 ...
1
vote
2answers
506 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. ...
1
vote
1answer
352 views

Is it possible to insert images directly from the server?

I've uploaded images directly to my WordPress server through FTP. I want to add these images to a post, so right now I'm using the Add from Server plugin that allows me to browse images on the server ...
1
vote
2answers
3k views

Add image to media library from URL in uploads directory

The plugin "Video Embed & Thumbnail Generator" does a great job of generating thumbnails from videos. It saves the thumbnail URL as metadata for the attachment. The thumbnail gets added to the ...
1
vote
2answers
920 views

Add size in Gallery Settings in Media Library

I would like to add the size in the Gallery Settings in the Add Media. I know to add the in the front-end by editing the media.php. However, when I added the the lines in gallery.dev.js, they don't ...
1
vote
1answer
695 views

display image size in media library screen

i'm trying to add image size in media library screen so will be simply to handle images. Anyone does it before me? Any help appreciated. Francesco
1
vote
2answers
712 views

Can I attach an image to a different post?

Image galleries display those images that were uploaded to that post, by default. If I wanted to move an image to a different post, so it appeared there instead, would I have to delete and re-upload? ...
1
vote
1answer
48 views

delete a photo tag in rtmedia

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 ...
1
vote
2answers
177 views

How do I get allowed Media Library upload file extension list?

WordPress has list of allowed Media Library upload extensions in wp-includes/functions.php but is there any way to return them to theme's files as an array?
1
vote
1answer
477 views

How to Removing fields from the Media Uploader/Gallery on a Custom Post Type Edit Page

This post shows how to remove unwanted fields from the media uploader. It works great, but I want to limit it to a custom-post-type and I can't seem to figure out how to do it. I've tried the ...
1
vote
1answer
648 views

How to retrieve alt attribute for an attachment (uploaded image)?

I have some IDs of attachments (images, not from current post). How to I get the alt attribute for those images? I have tried to look into wp_get_attachment_image_src and wp_get_attachment_metadata ...
1
vote
1answer
1k views

Image picker widget

I want to create a custom widget so the user can select 2 images from the media library via a dropdown box and display them in a sidebar. So I need the widget to display 2 drop downs, which each show ...
1
vote
1answer
1k views

media_sideload_image file name?

I'm using media_sideload_image to download images from the web and store them. However, the problem is that the ones from youtube are always called "hqdefault.jpg", which means that it will override ...
1
vote
1answer
676 views

Warning: in_array() expects parameter 2 to be array, null given

On a freshly built site running version 3.1.3 with the twentyten theme active and no plugins, when I click on "Media" to go the media manager, I'm getting this error: Warning: explode() expects ...
1
vote
2answers
3k views

Plugging into the Media Library to upload images (NOT associated with any post)

My Old Question: I made a Theme with rotating banner, common thing. So I want a way for users to select images. I think instead of implementing my own upload, I think its better to allow ...
1
vote
1answer
73 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 ...
1
vote
3answers
1k views

Add new media uploader at frontend for wp 3.5+

I create a form for user to submit content from the frontend. The only problem is I don't know how to handler the image upload. So, I want to know how to use the WP media uploader in the frontend. ...
1
vote
1answer
238 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
160 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
2answers
373 views

Taxonomies for Wordpress Media Library [duplicate]

Possible Duplicate: How it is possible to use taxonomies on attachments? I know this has been a long debated issue with WP, but I was hoping that since the 3.5 upgrade, there has been some ...
1
vote
1answer
177 views

Group images in media library

I'm looking for a method to group images in the media library. I'm developing a photo portfolio site. I have uploaded all the images to the media library I need a way to group the images to make them ...
1
vote
3answers
2k views

Import Images from one self-hosted WordPress install to another

I am redeveloping a client's site and, for a number of reasons, in the process changing hosts. I'm developing it on the new host and to get the site orgainised I have attempted to import all the pages ...
1
vote
1answer
96 views

Media Uploader in custom path

I am creating a CSS generator in my WordPress theme and I want to be able to save custom skins with images as well. My problem is that I have a hierarchy like /skins/custom-skin/images for the ...
1
vote
1answer
992 views

Remove fields on media uploader for custom page type - not working for “From Computer” or “From Url” tabs?

This code works for me if I go to upload a file and choose the Gallery or Media Library tabs then it correctly hides elements on the page. If I go to the From Computer or From URL tabs, nothing is ...
1
vote
1answer
898 views

How to display a custom post type's media library inline on meta box

I am trying to create a post type which only displays the Media Library Inline. I have got the example from this : https://gist.github.com/897503 However, nothing happens when I click "Insert ...
1
vote
1answer
1k views

Gel all image from certain post type

I've found similar questions here, however I can't modify the answers to get images only from a certain post type - as the post type in those examples are "attachment" and not the name of a custom ...
1
vote
1answer
824 views

Custom “Insert into Post” button

I am trying to make a simple plugin that sets a background image. I have it linked to the media library so that when you click "Insert into Post" it does a custom function. However, obviously this ...
1
vote
1answer
3k views

Any way to change the actual filename of an image from media manager?

The default WP media manager does not appear to offer the ability to change an image's filename. Are there any plugins available that allow this functionality?
1
vote
1answer
61 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 ...
1
vote
2answers
230 views

Remove the 'Attachment Details' section of the wordpress media manager

I'm using the new WP media manager for a branding plugin (well, new from 3.5), and it is working well. My only issue is that I have an 'Attachment Details' area on the right, allowing users to edit, ...
1
vote
2answers
800 views

Image uploading stuck on “crunching”

I have a problem to upload images to the media library when is used multi-file uploader on WP 3.5.2. Single file media uploader works fine. I have tested it with 1k PNG image, which was stuck on ...
1
vote
3answers
2k views

Cannot upload anything via wordpress

I've just recently installed a local installation of Wordpress 3.5.2 on my laptop, running ubuntu 12.10. I installed following the guide from here. So far, everything else is working, except I cannot ...
1
vote
2answers
2k views

Password protect some uploaded files, so only logged-in users can view them

I would like to protect some uploaded files, so that they are not publicly accessible (they are not accessible without a login). I'm uploading some PDF files, and I'd like to mark some of them as ...
1
vote
2answers
367 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
1
vote
2answers
178 views

How to change the image size in new Media Uploader (ie use medium vs thumbnail)

Is it possible to change the image size of the thumbnails in the new media uploader? For example images are currently displayed using the "thumbnail" image crop size and I would like them to be the ...
1
vote
1answer
751 views

Hide editor while keeping add media button in custom post type

How do I remove Editor in custom post type keeping the Add media button. When I used as following in custom post type declaration, it removes the Add Media button and I don't need editor in my post ...
1
vote
1answer
363 views

WP doesn't remove uploads from folder when removed from “Media Library”?

I'm wondering why WordPress doesn't remove uploads from folder when removed from "Media Library"? I set limit to 5mb on WPMU but even if user removes everything from "Media Library" he can't upload ...
1
vote
1answer
125 views

Large Media Library

I'm looking to organize a large WordPress Movies/Actors site, with thousands of posters, screenshots, etc... I currently have the images in a directory structure like ...
1
vote
2answers
189 views

Unable to create or edit menus

I'm running 3.4.2 on Ubuntu. I'm unable to make any changes to menus at all. Also I'm unable to upload anything (flash or browser uploader) to the media library. However plugins have no problem adding ...
1
vote
1answer
391 views

mp3 audio metadata upload integration: can I autopopulate title, caption, description from id3 tags?

I'm using the native Wordpress.org Upload New Media subsystem pretty routinely to upload MP3 files. The MP3 file workflow we use populates the ID3 tags with some important user-friendly metadata. It ...
1
vote
1answer
78 views

Where does the gallery shortcode gets its attachments from?

I know that media are an attachment post type that are children to a post, but how are galleries stored in WordPress?
1
vote
1answer
336 views

Image Uploader API

I want to create a widget for my theme that will let me upload an image to WP and crop it to a certain size. Can anyone point me to the codex page or a tutorial on how to a bare bone implementation of ...