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
0answers
5 views

Unattaching unlinked images

As I understand default WP behavior: When you upload an image to a post and save it (as a draft or published post), the image becomes "attached" to the post. This can be double checked by going to ...
0
votes
0answers
5 views

Multisite Media Library Item Share

I have a wordpress multisite setup. I have a certain user group, artists, which are represented on every blog of the site network. This is done by using custom post types. So every user profile is ...
0
votes
1answer
28 views

How to split my uploaded media into directories?

I am reading the documentation of WordPress Media Library and it seems to me that it doesn't allow me to split my uploaded media into directories. Is it true? Why this choice? How can I implement ...
3
votes
2answers
81 views

Get all posts (of any post type) an attachment is used in

It's not easy to count the amount of posts an image is attached to - WordPress simply doesn't keep track of that. It just keeps track of the post an attachment was originally uploaded to (not ...
0
votes
0answers
19 views

Change the image for a certain URL

Currently we have an image at url /wp-content/uploads/sites/3/2014/07/filename.jpg The image contains incorrect information, and we've already sent emails out containing links to this image. We'd ...
0
votes
0answers
11 views

Audio Playlist : How to bind events for “track change”, “track end”?

I'm customizing native Wordpress playlist echo do_shortcode('[playlist ids="3267,3266,821"]'); I'd like to bind events to detect "track change" and "track end" and do something when those events ...
0
votes
0answers
19 views

How to access media library?

I'm working on a plugin which uses custom post types. When creating or editing one of these custom post types in the WP admin backend, one must be able to select or upload a custom background image ...
0
votes
0answers
5 views

How to set “Unattached” option as default in Media Library?

When inserting an image into a post, I want the "Unattached" filter to be the default upon opening the media library. Screenshot Any way to do this?
0
votes
0answers
5 views

Display all images except those uploaded via OptionTree

I'm using the following to display all images in media library however, I'd like to exclude images uploaded via OptionTree as these are either banners or logos. $args = array( 'post_type' ...
0
votes
1answer
28 views

What does Wordpress media uploader do to image files on upload?

This question is specifically for images and what optimisation happens to these files when they are uploaded via Wordpress Media Library? Images .jpg .jpeg .png .gif And how is ...
1
vote
1answer
18 views

Media gallery: remove “insert into post” button keeping “Insert gallery” button

In my project (wordpress 3.7.1) contributor users can upload media file, but I want to force them to insert only gallery in post, not single images. Using Capability Manager Enhanced plugin I gave ...
0
votes
0answers
56 views

Assign Taxonomy Term from Post on media upload?

First off let's begin at the code: add_filter('upload_dir', 'set_destination_folder', 999); function set_destination_folder ( $upload_data ) { if ( ! isset( $_REQUEST['post_id']) ) return ...
0
votes
0answers
22 views

Display custom field in Media library according to a custom type

I have a custom field that follows any picture in the media library. It's added like this: function add_image_attachment_field( $form_fields, $post ) { $form_field["xxxx"] = array( ...
0
votes
0answers
47 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 ...
0
votes
1answer
143 views

file_exists() open_basedir restriction in effect. File(X) is not within the allowed path(s): (Y) in F:\*\*\*.com\httpdocs\wp-includes\functions.php

I installed wordpress on a windows server with Parellels. It is a shared hosting. When i upload images it gives the following warning: Warning: file_exists() [function.file-exists]: open_basedir ...
0
votes
0answers
53 views

How to increase image by URL upload limitation

System info - wordpress multisite installation - Version 3.9.1 with following system info - RAM 69,8/128M • SQL 142 • PHPv 5.3.28 Hi Support Team, I am using a multisite installation with a ...
0
votes
0answers
20 views

How to connect imported metabox content with media library id

i created metabox with media gallery id with it. i don't see any reverence on codex or anything that can point me how to connect my metabox content with media library id during import process. i try ...
0
votes
1answer
37 views

Change default screen option value for media items per page (in media library)

I want to remove pagination by changing the default screen option value for posts per page, pages per page and media items per page, in the admin area, to 999. The default value is set to 20. I found ...
0
votes
0answers
17 views

Add video url directly into media library

Is there a way to add a video via URL directly into the Media Gallery? The only way I know how, is to do it via Post/Page 'add Media' button. Thanks
0
votes
1answer
72 views

Media Library not showing images properly

I'm trying to upload an image, but keep getting an error. Check the attacted image.
0
votes
1answer
93 views

Is it important to get the media files attached?

A silly question may be, but I's thinking about the SEO matter, and thinking that, is there anything related to the SEO regarding the Media file attachment? There are 567 images in my Media Library, ...
6
votes
0answers
151 views

Delete an attachment in the WP media modal window

I'm trying to create an option in the WP modal media window to detect duplicate files and delete a newer file if an older duplicate is found. I have the following code working (in conjunction with the ...
0
votes
0answers
33 views

Upload in Media Library only shows a part of the picture (incomplete upload)

I have a wordpress application wherein I uploaded a picture using the media library. Unfortunately, my problem is that my picture is only uploaded half-way. My connection is fast. Can you give me tips ...
0
votes
0answers
50 views

using media_handle_sideload() to add mp4 files to Media Library

For a site I'm building (for a client), I've written a shortcode, where the poster can enter [vine id="..."] followed by the ID of a Vine video. When the post is saved, my PHP functions will then go ...
0
votes
0answers
30 views

Remove fields from Media Uploader (frontend)

I am struggling removing/hiding fields of the Media Uploader that I use in a frontend form. I want to remove all 'meta-information' fields like 'Title','Caption','Description' etc. I got this ...
0
votes
1answer
61 views

Add frontend editor with media buttons for Visitors and display only their media

I'm trying to make a frontend blog post submit for registered users. I have this working without media, now trying to add media. The standard wp_editor $content = ''; $editor_id = 'mycustomeditor'; ...
1
vote
1answer
172 views

How to get the image url in the input box from media library?

I have added a post meta to upload image using wordpress media uploader. Looks like it's a javascript work. I am no good in javascript. I took the js from here: Here is the js code: ...
0
votes
1answer
138 views

Failing to open advanced-cache.php which is breaking Media Library

On my WordPress install, which is 3.8 and has all plugins updated, it is using Magic Fields 2 and Hypercache amongst other plugins. I can't insert images into posts because when I upload, it gives me ...
0
votes
1answer
24 views

Assign one featured image to multiple posts?

I have implemented a front-end form to submit posts. The image upload is handled with the Wordpress Media Library Users click on "Upload Image" Media Library opens Users either select an existing ...
0
votes
0answers
22 views

Some images don't get linked when setting link-to to media-image

When inserting images into posts I have some images which refuse to recognize their link-to setting. The setting is properly saved and I also tried switching to a none setting and back, but with no ...
2
votes
0answers
94 views

Adding more options to the instance of an image. (Attachment Display Settings)

I'm trying to build a simple reusable plugin for image presentation in Wordpress 3.9, and it seems I've hit a brick wall. I would like to be able to add a couple of options to the instance of the ...
0
votes
1answer
37 views

Switch between tabs on “Insert Media” dialog

I'm writing a file upload plugin and want to emulate original Wordpress behavior: user uploads file on "Upload Files" tab after upload is complete, "Media Library" tab is activated with just ...
1
vote
0answers
43 views

How to upload files with Media File Manager Advanced? [closed]

On my Wordpress I installed a plugin: http://wordpress.org/plugins/media-file-manager-advanced/. I wanted to upload some *.html files into my blog using this plugin by dragging and dropping them. But ...
1
vote
2answers
168 views

How to upload a media file via FTP and then create an attachment post with it?

I need to upload a very large video. I can not upload it via the built-in uploader since my upload_max_filesize is set to just 2M and I'm unable to override it (I've set the upload size to 50M and ...
0
votes
1answer
129 views

Organize media uploads in folders - I have a physical access to (my) server

I'm very new to Wordpress. With the help of my friend I installed Wordpress on my server and finally we have our web online. However, I would like to upload some content in media library but I need to ...
0
votes
0answers
12 views

Adding a media image without generating thumbnails [duplicate]

I'm not sure whether my request is insane or legitimate, but I would like to control how my images are stored in Wordpress, avoiding that for each of them a set of thumbnails is created. Is this ...
1
vote
0answers
96 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 ...
0
votes
0answers
48 views

Missing Images in Uploads Directory (Server Only)

I recently moved a WP install from our dev server to the clients server. Everything went fine, however, the site is missing a large amount of images. The dev site has the images in the Wordpress ...
3
votes
1answer
23 views

Change text of Description in Image Library

i would like to change or add text to the Media Library Overlay on the right side if you click on an image and can enter a description for the image. At the moment there stands "Description" or ...
0
votes
1answer
1k views

Add metabox with media uploader in a custom post type [duplicate]

I need to create a "media uploader metabox" and add it to my custom post type. I've already create normal metaboxes, the function to add to the custom post type and the function to save them, I only ...
0
votes
0answers
22 views

Searching for media items with certain category item

I created a custom taxonomy called "Reference Type" which is used to categorize media library items. I want to create a search form to search for media library items based on file name and "reference ...
0
votes
1answer
36 views

Producing a list of media library items categorized under a certain taxonomy item

I created a custom taxonomy called "Reference Type" which is used to categorize media library items. In the taxonomy.php page, I want to produce a list of all media library items that are categorized ...
1
vote
0answers
44 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 ...
0
votes
0answers
77 views

WP_Customize_Image_Control is not doing very much

I am trying to add a logo option. The section and the option shows up under Appearance - Customize as expected. It offers me to upload an image. I do that. The image gets uploaded, but the option ...
3
votes
1answer
66 views

What to do with unattached logos and header uploaded via native wordpress uploader?

Normally when we sort unattached images, they include logos and header images too. My question is simple. Is there any method to keep header and logos safe from deletion? Is it possible to attach ...
1
vote
0answers
185 views

Plugin to Import Dropbox Files into Media Folder from the Cloud [closed]

I have been reading about options to use Dropbox as your upload folder and moving files to Dropbox from your server to put them in the cloud this way. What I need is a plugin or script to move ...
2
votes
0answers
75 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
1answer
242 views

Remove duplicate images from media library.

I recently used an image importer that has duplicated all the images. They are attached to the right posts and the posts are fine (not duplicated). How do I run through my media library deleting ...
0
votes
1answer
26 views

Adding Alt Tag Column to Media Library List

I'd like to add a column in the Media Library that shows that alt tag that way I can quickly add alt tags for all images that don't have one. How could I go about this?
0
votes
1answer
169 views

Custom post type Featured Image popup not working

I added a custom post type with thumbnail support. When I navigate to the custom post type in the admin backend and add a new one, I can add a featured image. The problem is, when I click the link ...