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
76 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
16 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
0answers
20 views

How to have one post with two seperate media libraries which upload to and load from their repective directories?

I am developing a project management program for my engineering company. Clients and jobs are custom post types. I have a custom uploader that I have created using wordpress's native uploader to ...
0
votes
2answers
163 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
100 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
114 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 ...
0
votes
0answers
76 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
20 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
246 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 ...
0
votes
0answers
100 views

Filter WordPress Media Uploader Images Via Dropdown

The screenshot below is basically what I want to do: I want to add an item to the dropdown and when that item is selected filter the images that show in the library so they only come from a folder ...
2
votes
1answer
137 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
35 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
17 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 ...
0
votes
0answers
105 views

Unable to upload images to media library

Since the turn of the month, I'm having an issue uploading images. It was a quick fix as I found that the 2013/11 folder was 0755 (or maybe 0775, can't remember) wheras all other folders in the ...
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, ...
0
votes
0answers
42 views

404 error on many images that exist in media library

I recently checked my stats and found lots of 404 errors on images in posts. I first noticed it with my background image but when investigating found many more also. Here is an example of a link from ...
0
votes
0answers
39 views

Media Library Custom Taxonomy Archive

I have added two custom taxonomies to wordpress media library audio_cats and audio_tags. Using a plugin, I have uploaded some mp3s and have attached to these two taxonomies. My media library structure ...
0
votes
0answers
37 views

Image media upload problem in page editing modus?

I can't figure this out, uploading an image when i am editing or adding a page doesn't work correctly. During upload i get a http error. Debugging shows async-upload.php gives a 500. The funny thing ...
0
votes
0answers
146 views

Media library not showing all images

I have a photoblog with contents dating back to 2004. I first started using Movable Type then migrated to Wordpress sometime in 2007. I was using a theme that uses post excerpt with link to image ...
0
votes
0answers
57 views

Uploading images from post editor fails with “An error occurred in the upload. Please try again later.”

Also when i want to upload from the media library the progress bar gets stuck at crunching. but with the browser upload it works just fine but the images don't appear in the insert media pop up. also ...
2
votes
1answer
65 views

Is it possible to personalize the Media Library?

When we create a new post and click on Featured Image, I realize that WP creates a folder structure "year/month/image.jpg". I'd like to change that behavior to "category_of_the_post/image.jpg" (or ...
0
votes
0answers
99 views

Creating custom Insert Media page

I'm writing a plugin, that has the basically the same functionality as Insert Media page in "Add media" popup. The only difference mine has to use web service for browsing media. I already read about ...
0
votes
0answers
107 views

WordPress Media Uploader Attachment Sizes

I have added WordPress new media uploader to my theme metabox options. It works well but when I click on an image within the media uploader, I do not get attachment sizes while in "select" frame. I ...
0
votes
0answers
51 views

Multiple Permalinks per Media Library Image

I'm importing a CSV file for Woocommerce Products, a number of products link to the same (already uploaded) image file. They link fine, however in the Media Library I now have multiple versions of the ...
0
votes
1answer
413 views

Add SWF file to wordpress through custom template

I am trying to attach an swf file to my website. I have that swf file in my local system. But wordpress is not alowing me to upload the swf file into the media library. I want to add that swf to my ...
4
votes
1answer
61 views

complex restriction of items in media library

I have a need to limit items in the media library for users without a specific capability. There are a lot of examples out there for how to limit them to only items that a given user has uploaded, ...
0
votes
0answers
11 views

Trying to extract alt text to a new site

Im using "the DownML - Download Media Library" plugin to transfer all (551 images) my images to a new site and all is good, except I cannot find a solution for the "Alt Text" for the corresponding ...
0
votes
2answers
61 views

How can I create more “create attachment” custom field - any idea?

define('MY_POST_TYPE', 'myslider'); define('MY_POST_SLUG', 'myslider'); function my_register_post_type () { $args = array ( 'label' => 'Gallery', 'supports' => array( ...
0
votes
1answer
121 views

Use wp_remote_get to add image to media library

I'm using Embedly to make it easy for a client to add news to their website - basically, they just input a URL, and Embedly grabs the link's information, and I add it all to post meta for displaying ...
1
vote
1answer
99 views

Wordpress Media Library showing wrong preview size?

When uploading new (or existing) images to the media library in Wordpress 3.6.1 the preview generated on the admin page/edit media page (eg. wp-admin/post.php?post=8736&action=edit ) is showing ...
0
votes
1answer
93 views

attachment media-template data model (data.size.url)

I'm trying to build a media library where users can choose pictures that are being retrieved from custom folders, which they can specify the basefolder of. I'd like to keep using as much WP ...
0
votes
1answer
70 views

Media uploader & manager: add/remove class on image with checkbox

This seems like it should be fairly simple, but I'm drawing a blank on it: Have a checkbox in the media uploader and media manager that, when checked, adds a CSS class name to the image. It should ...
5
votes
1answer
117 views

print_media_templates not applied in media manager plugin

I'm trying to build a media library where users can choose pictures that are being retrieved from custom folders, which they can specify the basefolder of. I am getting the correct images back, but ...
0
votes
1answer
76 views

Add select field to media uploader that adds a class to the image

I'm looking for a way to add a <select> menu to the media uploader that will have two options: normal image, which will do nothing, and profile image, which will add a CSS class to the image if ...
0
votes
1answer
29 views

Media library orphans

I have this conditional statement that checks if an image has been added to a custom post type and if it hasn't it inserts a default image. if ( get_post_meta( get_the_ID(), ...
2
votes
0answers
85 views

Bridge Wordpress Media API with custom tinyMCE plugin

In my tinyMCE plugin, I would like to be able to call the Wordpress Media manager introduced in WP 3.5. I am currently working on a plugin that needs to fetch images from the library. I know we can ...
0
votes
1answer
78 views

Create a post from every image in my media gallery

I'm looking for a good way to create posts from every image in my media image gallery. I've uploaded about 200 pictures and want to create a post for each picture, where I set the picture as a ...
0
votes
1answer
56 views

How can I debug what is wrong ? Featured images stopped showing

not sure when this happened, but my featured images are now not showing. Instead I see "NO THUMB" Any ideas how I can find the cause ? So far I have disabled and reenabled all plugins, to no avail. ...
1
vote
0answers
194 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 ...
0
votes
0answers
85 views

show/hide attachments

Is there a way to show/hide attachments in my case images on a post. What I want is to mark an image as "hidden" and then only show it to the admin and hide hidden images from a normal user I know ...
2
votes
1answer
142 views

How do I organize photos for multiple galleries?

I'm working on a site that will ultimately have dozens of photo galleries, each gallery with at least 3-4 photos, and possibly up to 20. Individual photos won't have captions, titles or any other ...
0
votes
1answer
101 views

Create gallery doesn't show uploaded images

When you do Add Object in a page, for example, a screen is shown where you can see your uploaded images. But it doesn't work for me. No images are shown. What can it be due to? If I open the ...
0
votes
2answers
906 views

How to save media files under custom folder without changing wp-config.php or changing media settings

I want to upload images in a unique folder. Then retrieve the path of this image saved on server like http://example.com/wp-content/uploads/myimages/image1.jpg Now I want to save this URL in a post ...
1
vote
1answer
192 views

Get url of thumbnail from the media uploader

I want to select image from the WordPress 3.5 media uploader. I can get the image URL with the following code, but it gets the full size image. I want to get the thumbnail image url,how can I get ...
0
votes
1answer
144 views

Show selected images on top in Media Manager

I've searched numerous StackOverflow and Wordpress Awnsers questions, but I couldn't find any solution that matches my situation or even remotely points me in the right direction. I have a custom ...
0
votes
1answer
176 views

wordpress 3.6 media manager cropping timestamp

I am using wordpress 3.6 with its default media manager, I uploaded an image, and then every time i crop it, it create 3/4 new images in upload directory with different name (adding timestamp in ...
0
votes
0answers
262 views

Images on admin backend not showing up

It was going alright with images a week ago! But recently when I noticed I found that image thumbnails in media library and in post editor were either not showing up or were just showing there ...
1
vote
0answers
78 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 ...
0
votes
1answer
79 views

Broken Media Library

I'm trying to upload media using the media library. I uploaded a couple of images several months back, and the library worked fine, these images are still available as normal through the WP backend. ...
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. ...