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

1
vote
1answer
25 views

Restrict role to view own media

There are plenty of solutions for limiting access to view your own uploaded media but I was wondering if it was possible to limit media to a user role ( e.g. author's can see all other author's media ...
0
votes
1answer
16 views

WP media attachment location vs permalink

Yesterday I moved my sites from http://www.example.com to (secure site and removed the www). Now when I look at an attachment page I see the File URL as the old http://www ... but the page permalink ...
1
vote
0answers
11 views

Media library only shows for admin. Doesn't show editor or below

There is no problem of viewing the media as an administrator. But when we login as an editor any other lower roles the media library does not load the content (see screenshot). It does work on this ...
1
vote
0answers
15 views

Unable to upload image using the standard uploader in the WP admin (v4.3)

I am running WordPress 4.3 and in the admin I am no longer able to upload images using the standard upload image tool. I am taking over a project from another developer so don't know exactly what ...
0
votes
1answer
64 views

How to extend Media Library (WP 4.4)

I am trying to implement a new tab next to Media Library. I couldn't find solution to implement this. I found an example how to implement a new tab in this link: https://gist.github.com/Fab1en/4586865 ...
1
vote
1answer
22 views

Why would image paths in wordpress suddenly change?

I'm using the Everglades WP theme, and have had no issues until suddenly I found all the images have different paths in the browser. Where they are: ...
0
votes
0answers
12 views

Widget that allows image selection

I'm trying to develop a widget that allows the user to select an image to display on said widget. Right now, i'm getting the image from the library and displaying it's thumbnail on the widget's ...
0
votes
1answer
32 views

Renaming “Expand Details” within “Add Media”

I was wondering if it was possible that the "Expand Details" option via "Add Media" can be renamed? I couldn't find a guide online so I thought I would ask here for guidance, (that's if it's ...
0
votes
0answers
14 views

How to get thumbnails to display in Media Library

Currently, all of the images on my live site are showing but when I go into the Dashboard and try to view the images in the Media Library, all i see are blank spaces as if the images cannot load. This ...
3
votes
0answers
37 views

Uploaded images don't show in Media Library if there are special characters in IPTC Keywords

Some images that are uploaded to Wordpress don't show up in the Media Library. The images get uploaded and even cropped to the defined sizes, there is an entry in the Media Library, but the preview ...
0
votes
2answers
17 views

Resize existing library images

How can I resize images that were already in the Media Library when I created new custom image sizes? I just want WP to process them as if they're new images, taking into account my new settings, ...
0
votes
0answers
10 views

Different images in media while selecting different laguages

I have simple WordPress 4.3.2 site with Polylang plugin and Twenty Twelve theme. I found strange relation between images in Media and selected language. When I swich between languages while staying in ...
0
votes
0answers
21 views

How to open the Attachment Editor frame in the WordPress media modal?

I am building a plugin that uses wp.media to launch a modal where the user can select multiple images to add to a gallery. There are many tutorials that explain this process and I managed to ...
2
votes
0answers
31 views

WordPress Uploads Directory not using dates in links

I have a WordPress site that was working fine. Suddenly it started looking for media in the wrong folder: www.website.com/wp-content/uploads/path-to-image.jpg This is giving me a 404 because I have ...
-1
votes
1answer
31 views

All the Images in Media Library is showing broken links

The problem which i am Facing is that images in media library and in the front of the website is showing broken links. The fact that is even if i upload new images from admin that is also showing ...
0
votes
0answers
3 views

Widget: File Upload not showing save option

I build widget for uploading files ( pdf, jpg, etc ). Fallowing by some guides from web. There is one problem: after uploading file from media library i dont have the save option enabled in my ...
0
votes
0answers
22 views

Wordpress media in different folders

How can I have my media files in different folders in wordpress? It just only use one folder for all media which make it hard to manage them.
0
votes
1answer
28 views

Organizing the Media Library for Cleanup

I am an avid WordPress(.org version) user, and I just got tasked with the job or sorting/deleting 502 items from the Media Library. I want to find all of the documents (they are PDF, Word, PPT, etc. ...
0
votes
0answers
15 views

Creating a metabox with media uploader for flexsilder gallery

I am trying to come up with a way to create a metabox on the post admin pages under the Wysiwyg editor in WordPress to allow me to use the WordPress media uploader. So, the goal is to have a metabox ...
0
votes
0answers
18 views

How to how to open the add media dialogue it in a certain state / tab

I created a customized wp_view similar to embed (see wp-includes/js/mce-view.js, l. 868). I also have my own tab in the "add media" dialog. Naturally i want the edit button of my wp_view opening the ...
0
votes
1answer
18 views

Save Custom Meta Value on Media Upload

I am looking for an option where a custom meta value will be saved when user uploads an attachment. Lets say I need a meta key _example_meta_key and want to save meta value of this as ex087659bh (It ...
3
votes
1answer
62 views

Remove upload_files capability from a role but allow role to manage an avatar image

I have a site with 1 admin, 11 editors, and 4000+ authors. I need to prevent the authors from adding media to the server and using up all the storage. Initially I tried function ...
4
votes
2answers
85 views

get total number of images from media using xml-rpc

I have large number of images in media library so I am accessing images in chunks via pagination in my Ruby on Rails application. I pass page number and offset to wp.getMediaLibrary API and it returns ...
1
vote
1answer
39 views

How to set post_id to 0 when you upload image via Add media button. (async-upload.php)

How to set post_id to 0 when you upload image via Add media button which will make a requtest to async-upload.php Instead of actual post_id? Thank you.
1
vote
1answer
47 views

How to show all available images in WP's media library when using the Polylang plugin?

It seems that depending on which default language I've set Polylang to, all my uplaoded images are isolated so that I can only pick them when I'm editing posts in the default language. I have a lot ...
0
votes
1answer
45 views

Allow author to upload image via Media button without plugin

I believe as default WordPress won't allow author to upload image via Media button on TinyMCE. It will give you You don't have permission to attach files to this post. error message if you do. I'm ...
0
votes
1answer
20 views

how to get the title, description, pictures on the page?

I created a template, but it does not output anything <?php /* Template Name: Gallery */ get_header(); ?> <section> <div class="row"> <div class="container"> ...
3
votes
1answer
42 views

Ignore a filter on the media library

As per my question yesterday, I need to exclude all images from most of my WordPress queries - yesterday, I thought I needed to exclude them from all queries, until I came upon the following issue. ...
0
votes
0answers
26 views

Call to undefined function wp_attachment_is()

I was trying to uploading PDF from Media, it shows HTTP error. in error_logs it shows PHP Fatal error: Call to undefined function wp_attachment_is() WordPress 4.3.1 I have tried below answers ...
0
votes
0answers
26 views

Display ID for Media Library items in list view?

When a user goes to Media -> Library they are presented with a table of all the uploaded files. I want to know how to add a col for the unique ID of these files. I'm thinking of the unique ID that is ...
0
votes
0answers
11 views

Organize Media Files on Category basis

I've just started learning the WordPress CMS, i have a small PHP programming background and i wanted to masters in WordPress now. for the learning sake, i have started a project on my local server, ...
0
votes
1answer
51 views

Removing delete permanently button in uploading files media

How do I delete or remove the word Delete Permanently in uploading files? I wanted to remove this permanently so that the users won't keep deleting files which are not supposed to delete. I use ...
0
votes
0answers
23 views

Media library view for custom post type

Someone know a way to display , in wp-admin , a custom post type like the media library ? I can do it creating an admin page with custom content but i want to override the default admin ui for my post ...
0
votes
1answer
32 views

is there any hooks or action to fire function of insert into post in media library?

I am seeking for help to find the action or hook in order to fire function insert into post in media library. I did create a new tab for my videos and would like to insert my converted video by ...
0
votes
0answers
37 views

Media uploader - error in my theme

When I try to upload an image using the image uploader in my theme I get the message 'An error occurred in the upload. Please try again later.'. When I switch to the twentyfifteen theme, I can see ...
0
votes
1answer
16 views

Wordpress not using edited image

I have uploaded a picture to media library and cropped the image in wordpress editor but when selecting the edited image http://mariehelenesund.se/wp-content/uploads/2015/11/Kicki-e1447542665309.jpg ...
0
votes
0answers
26 views

Image editing: “Edit Original” and “Replace” buttons missing on old posts

I have a site I've recently migrated to a new server. Everything is mostly looking okay, except on existing posts: when we go back to edit a post, and edit media attachments within it, the "Edit ...
0
votes
0answers
34 views

Upload image not working

I uploaded an image in wp-admin Media > Library. The image was saved as upload/2015/11/image.png, and is accessible from /wp-content/upload/2015/11/image.png, but it does not appear in Media > ...
0
votes
0answers
15 views

Can anybody explain why this js value is set at 10 in this media library source?

I'm using Mike Jolly's media uploader plugin on one of my Wordpress plugins which opens the media library as a shortened popup. Generally it works, but line 4 of the main code includes the following ...
0
votes
0answers
45 views

Unrecognized image file after upload

I'm creating an iOS application using AFMultipartFormData AFNetworking to upload an image onto Wordpress site. On the Wordpress server side, the following data was received when I echoed $_FILES: ...
0
votes
0answers
21 views

Select multiple images in Media library on touch devices

Is there a way to select multiple uploaded images in the Media library in WordPress on touch devices (like on non-touch devices with shift or cmd/ctrl)?
3
votes
1answer
82 views

Refresh wp.media after ajax call

I'm building a plugin where i add a tab to the media manager and can add stuff from another source. I add the tab with this, which generates a iframe; add_filter('media_upload_tabs', ...
2
votes
1answer
17 views

Prevent users from browsing through the media galleries

I just realized that when I go to http://www.detroitjewishdirectory.com/event/chanukah-wonderland/chanukah-2014-activities/ I am able to browse through a lot of the images that are in my media folder. ...
0
votes
2answers
38 views

Replacing Images in Media Library

I have a media library containing 500 images. I need to make some modifications to these images in Photoshop (batch resizing and color correction). I'm looking for a way to simply overwrite the files ...
0
votes
1answer
112 views

Wordpress media upload “HTTP error”

When I try to upload an image, I get the following error: HTTP error. I know this problem has been solved hundred times but I can't find the right answer form my configuration. In the php.ini, I ...
0
votes
0answers
63 views

How to upload iPhone 6s photos using native WordPress app?

I used to have an iPhone 4s and used the WordPress app to upload photos to my blog. I just got a new iPhone 6s, and the camera has much better resolution. When I try to upload an image using the app, ...
0
votes
0answers
34 views

Change view and refresh wp.media

I'm building a plugin which adds a new media tab. In this tab i display an iframe in which i can select images from another source and upload them to wordpress (using ajax). This works just fine, the ...
1
vote
2answers
36 views

Why do I sometimes get an attachment id string instead of a url from an image's guid field in the post table?

If I do a query of the post table for post type 'attachment' sometimes the guid field will contain an attachment id, "http://sitename.com/?attachment_id=1201", instead of a URL. How can I convert a ...
0
votes
0answers
17 views

How to properly extend WordPress media library?

I'm looking for a way/example to properly extend the WordPress Media Library. A good example of a plugin already doing this is Remote Medias Lite. I want the user to be able to select from custom ...
0
votes
1answer
19 views

Retrieve ONLY mp3s and set a variable for use in a playlist called by single.php template?

I'm trying to stuff a variable called $work_ids with the ID of any attached MP3 files for use in a custom player (based on MediaElement.js if that matters). The library contains WAV and other versions ...