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
301 views

image_size_names_choose filter doesn't show

I have created a new image size using the add_image_size(), and I want to have it listed in the media library image size when I insert it. So I have the following code: add_image_size( "grade-image", ...
4
votes
2answers
260 views

Delete Associated Media Upon Page Deletion

Note Use at your own risk, it is buggy and I have run across a couple instances where it would delete ALL attachments. Unsure why. Is it possible to delete media associated with a page when that ...
0
votes
0answers
68 views

Use Thumbnail in Media Library instead of Full Size Image?

I have lots of images in the Media Library (ML) and all of them have proper sizes, including thumb, large, full. But in ML, WordPress simply display the FULL size of the images instead of using a much ...
0
votes
1answer
207 views

Media Library not showing images when adding to Posts (but retrieving image info via ajax)

When uploading an image to a post/page, the media library doesn't display any images (when there are some), and then 'fails' when you try and upload (although the image is actually uploaded). I've ...
1
vote
0answers
135 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
100 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
2answers
802 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 ...
0
votes
2answers
120 views

Function to grab specific image IDs from media library.

I want to grab images 161 thru 166 without having to calling my entire media library array and having to splice those up. In time, the more I have in there the more it's going to slow my site down. ...
1
vote
1answer
53 views

How to add images to a post without inserting them into the content area of the post editor?

I'm building a site where I need to be able to add multiple images to a post, but not have them in the regular content of the post. These images will be used in a gallery above the post. My client ...
0
votes
0answers
57 views

Import images into Media Library - from server location /wp-content/themes/customtheme/images/

Is there any Code to import all images found in a folder and its sub-folder and import all images into media library ? for example - i want add my theme sub-folder's images imported into wordpress ...
0
votes
0answers
65 views

How can I use multi Media Uploader in a plugin?

I try to add the multi uploading options in a WordPress plugin. I repeated this code in the plugin (two times) only changing the ID. <script language="JavaScript"> ...
1
vote
0answers
366 views

WP 3.5 media uploader API set selected item

I know how to use the new media uploader in WP 3.5 and integrate it with plugins and themes but I have a problem, say the user selected the image and the frame closed I want when he open it again the ...
-1
votes
1answer
79 views

How to modify Media Library images DPI [ image quality down to make small in size ] [closed]

I wonder if there any code or hook out there to manage the image DPI, for example when we use photoshop or other image editing software we use export and image quality to 0-100%, now i am looking for ...
1
vote
4answers
523 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
0answers
121 views

Change default tab of media manager

Is there a way to change the default media manager tab? I have managed to remove everything that I didn't want to show in media manager, using the instructions from the first post here Add a menu item ...
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 ...
0
votes
1answer
83 views

Get images attached to a specific page

Is there a way to fetch the URLs and captions of all images attached to page x?
0
votes
1answer
405 views

Cannot upload featured image to a custom post type

For some reason I am not able to upload images OR set the Featured Image on a custom post type in my custom wordpress theme. I have added theme support of post-thumbnails to my functions.php file and ...
2
votes
1answer
90 views

Resize the WP media Uploader iFrame

I'm trying to customize the look of the iframe that pops up (media uploader). I've manage to remove some fields etc - but I cannot re-size the frame, does anybody know how to do this?
0
votes
0answers
82 views

Transfered live site to new server and images are not showing

i just recently transfered a new site to a server. All paths are correct when I debug the site but for some reason the uploads front and back do not show either in the media section or the site pages. ...
0
votes
0answers
27 views

How can I create an edit media thickbox link?

After uploading an image to a page or post, you can click an icon/link in the top left corner to open a thickbox editor and edit its properties at any time. I have a a situation where I am uploading ...
0
votes
0answers
56 views

Limit files uploaded per folder

I upload over thousands of images everyday and I want to limit the number of files that can be stored in a folder cause it's not good to have like 5000 files in a folder because it increases the load ...
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 ...
0
votes
1answer
127 views

Filter causing loss of _wp_attachment_metadata

A while back I asked this question: Save camera info as metadata on image upload? Long story short, it works in that the custom field is saved into wp_postmeta and I can access that value. But as I'm ...
0
votes
2answers
409 views

A link (not in the post) to download a specific PDF file

I want to add a button (or rather, a link formatted to look like a button) in the utilities area somewhere above the main navigation menu of a WordPress-based business site (that is, not in the body ...
1
vote
0answers
95 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
51 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
40 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
188 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
143 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 ...
5
votes
2answers
363 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
622 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 ...
0
votes
0answers
87 views

Add to the library a media from a subfolder

I'm trying to upload some media to the media library in a "uploads" subfolder. The problem is that the media is added, I can see a new entry in the media library, the database the guid of the file ...
3
votes
1answer
168 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
107 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
18 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
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
0answers
42 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
239 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
0answers
73 views

images are missing from directory

A user of a site I built created a new NextGen gallery, and in the process of adding photos to it, "imported" the ../content/uploads folder (which is where all normal media uploads are stored). But ...
0
votes
1answer
42 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
151 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 ...
8
votes
3answers
5k 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?
2
votes
1answer
361 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
315 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
242 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
718 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 ...
0
votes
0answers
50 views

WordPress Gallery Has “Ghost” Image

I have 3 galleries on a single page. All three are wrapped by jQuery Cycle to create 3 simple rotators that each have a thumbnail pager. Each gallery is using the [gallery] shortcode with a few ...
2
votes
0answers
158 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
2k 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 ...