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

Import of 200+ sermons

While this not a Development-specific question for WordPress, I am looking for a way to import 200+ sermons for our church website.. I have updated the mp3 files wtih mp3tag and all look good. I am ...
0
votes
1answer
11 views

controlling whether upload is attached to post or not

I'm using the new (3.5+) media upload API to open a media modal dialog from a post meta box, and select a file from the media library (as per ...
-1
votes
0answers
13 views

Media uploads not correctly shown [closed]

I recently moved my website from a subdomain to the domain after development - then I got this problem: When I upload new images in the media uploader, they are not being correctly showed. Do ...
0
votes
1answer
56 views

Plugin hook breaks new WP 4.0 media library grid view?

I have a plugin which has code in it which has broken the new WP 4.0 media library grid view. The grid view itself (the rest of the page is fine) won't display if my plugin is active and this option ...
0
votes
0answers
14 views

Missing WP Media Settings Fields

I have a WordPress-based website, that is causing a number of problems when I try to upload any media. Media Library: After viewing my 'Media Settings', I've noticed that I am missing the default ...
0
votes
0answers
11 views

Authors cant upload images unless publish_page permissions are set

I have a custom post submit form from frontend so authors can submit articles and use the tinymce editor along with the media manager. The problem, only administrators and editors can upload from ...
0
votes
1answer
24 views

wordpress media library shows empty images

I have copied the my old site files and moving those into new site. i have changed the url in db, and uploaded the files in new server. everything works fine except the media show black images .can ...
3
votes
1answer
36 views

Where is the source of the media items filter

I couldn't find the source in the php files. What is generating the select drop-down for the attachment filters in the media library?
0
votes
2answers
22 views

Allow only attachment uploaded to current post

The "Add Media" button allows any media to be added to current editor. I need the "Uploaded to this page" from the dropdown menu to be the only option available. Some time ago I found a solution ...
0
votes
0answers
14 views

Media Upload to Subdomain does not upload correctly

I am setting up Media Upload to subdomain, but the actual image will not upload correctly. Wordpress-site: /home/site/www (http://sitename.com) Media-site: /home/fxsite/www/ /http://fx.sitename.com) ...
0
votes
0answers
21 views

How to add the wp-media-library button in tinymce?

That is a screenshot from the admin backend for the the tinymce editor in fullscreen view. I am implementing the editor in the frontend and I want to add the wp media library button in the default ...
3
votes
1answer
54 views

Image width tag is less than the image pixel width - why?

I have been reading this morning about images uploaded via the Media Library in WordPress and I thought I had understood most of it. But there's something I'm confused about. My understanding is that ...
1
vote
1answer
30 views

Edit Image/Image Details - Replace button missing

I have a strange problem. I am dynamically populating content into Wordpress' tinyMCE editor. Part of this content is a placeholder image, that the user can then replace. The issue is when I click the ...
1
vote
1answer
19 views

Choosing images size when uploading

Is there a way to choose which image size I want to resize to when uploading? I need one image type to be for a featured image (resizing would be for thumbnail size and 900x350) and the other type ...
0
votes
0answers
17 views

Adding Page/Post Attachment Capability to the Media Edit Screen

Is there a way to add the page attachment capability to the edit media screen? So if I add/edit a media item, I can also attach/re-attach it to a page.
0
votes
2answers
18 views

Database Name Change

I read it was more secure to use something else besides wp_ as the database prefix, so I downloaded my .sql file replaced all instances of wp_ with tsi_ and then dropped the wp_ tables and imported my ...
0
votes
0answers
25 views

Custom Field, add gallery id

Is it possible to add a gallery id like [gallery ids="9"] to custom field using the media editor in wordpress? I have attached a media function to a specific custom field but are not able to insert ...
1
vote
1answer
47 views

How to get media objects

I am busy with a loop to return all media in the medialibrary in objects. I figured out how to get the images ( with wp_get_attachment_image('$mediaID') where the $mediaID is the id of the image ) ...
0
votes
0answers
41 views

Wordpress Media Uploader error messages localization on frontend

I'm working with ru-RU wordpress vertion. I've faced with issue that I can not get russian error messages on custom media uploader on front end. This error strings media uploader get from ...
4
votes
2answers
96 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
22 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
42 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 ...
4
votes
2answers
109 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
30 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
1answer
44 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
29 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
9 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
8 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
32 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
29 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
77 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
25 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
177 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
0answers
477 views

File(X) is not within the allowed path(s):

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
58 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
29 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
62 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
22 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
106 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
161 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, ...
9
votes
2answers
360 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
41 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
75 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
44 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
88 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
371 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
287 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
32 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 ...
4
votes
1answer
163 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 ...