Media Library is a WordPress panel that display all files you've uploaded. There you can add new files, attach files to posts and pages etc.

learn more… | top users | synonyms

0
votes
2answers
6k 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
1answer
2k 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 ...
0
votes
0answers
10 views

How to disable Wordpress Media resize different size version?

When i upload to a media, Wordpress is resize it to many version like that 2016-04-03_23-36-35-90x65.png 2016-04-03_23-36-35-120x80.png 2016-04-03_23-36-35-360x240.png 2016-04-03_23-36-35-480x320....
0
votes
1answer
19 views

Bulk Import files on Media Library from CSV

I have a list of more than 5000 files (pdf, doc, jpg ...) on an external server that I would like to upload my Wordpress media library. I would raise them with its corresponding title and description, ...
0
votes
1answer
4k views

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 ...
1
vote
0answers
20 views

Wordpress Media frame pre load images from ids

Im using custom metabox button to create wp media frame with this code, var frame, selection, idsField = $('#_fills_ids'); frame = wp.media({ title: 'Select or Upload Media Of ...
3
votes
0answers
41 views

How to import 55k images (uploaded via FTP) into Wordpress Media libary? [on hold]

I have got 55k images in my Wordpress Uploads folder which are not showing up in the Media Libary, how can I make them registered there ? I tried the plugin 'Add from Server' but there are to many ...
3
votes
1answer
489 views

WP3.5 Media Uploader - how to make it accept multiple images?

I'm wondering how to make WP3.5 media uploader return 2 or more items in attachement? It always runs once even if 2 items are selected. The code: $('.button').on('click', function(){ var ...
0
votes
0answers
12 views

How to insert an uploaded file programmatically to DB?

I have uplaoded a 1GB file with extension bin.part (xxx,bin.part),directly to the uploads folder in the server, but I dont see it in the media library in the wordpress admin . I have tried using the "...
0
votes
1answer
10 views

Custom Media Meta fields to alter the generated image HTML that is inserted into a post for my animated GIF image player?

I want to add the capability to integrate a JavaScript animated GIF image player. It basically will load a cover image for the animated GIF on page load instead of downloading the larger animated ...
2
votes
2answers
818 views

What might cause a POST to wp-admin/async-upload.php to return JSON >and< HTML?

In the media tab, upload of a valid image file results in display of "HTTP error". Reload of the media tab shows that the image did upload and resize, though. Browser debug tools show that on upload,...
0
votes
2answers
28 views

uploading files to the uploads folder via ftp

What is the reason/s that the WordPress Media Folder, doesn't display images that were uploaded via FTP, directly to the uploads folder? Why doesn't WordPress "see" them? why do we always have to ...
0
votes
2answers
1k views

Insert wp gallery shortcode into custom textarea

Is there a way to insert wp gallery shortcode into custom metabox textarea ? I would like to have something like this: New metabox in post/page with textarea and below textarea there are a button to ...
0
votes
1answer
29 views

Consolidating two websites into one, but migrated images not appearing in Image Library

I am consolidating two websites (which are on the same server) into one. I copied the images from one website's directory to the other using rsync. rsync -av /srv/www/site1/wp-content/uploads/ /srv/...
1
vote
1answer
472 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 ...
1
vote
1answer
41 views

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 ...
3
votes
1answer
61 views

How to upload an image in the plugin's options page

My code is here.The other options working perfectly so how i can register the image and save the link in database and image in wp library. function register_team_show_case_setting() { //register ...
0
votes
0answers
22 views

How to upload thousands of images with folder tree?

Hi We need to upload meda from FTP and when choose image from add media there show foder tree for choose media. See the attached screenshot.
3
votes
1answer
940 views

Javascript WP Object Documentation?

I was working on implementing the media library within one of my plugins/themes. I found a nice tutorial (http://mikejolley.com/2012/12/using-the-new-wordpress-3-5-media-uploader-in-plugins/) that ...
0
votes
0answers
19 views

Custom fields for media library images

I want to create custom fields for wordpress admin media images. Can you suggest some plugin or easy way to do that? than i want to get that fields at image.php
3
votes
2answers
2k views

Use Media Library to manage galleries like Nextgen (with folders, albums, collections, tags, categories, terms…)

I'd wish to use WP 3.x standard Media Librery rather than relying on 3rd party plugins like NextGen no matter how well they're written. I just don't like duplicating functionalities. Media Librery ...
1
vote
2answers
55 views

Bulk image rotation

I have just uploaded around 70 photos from Windows 10 into wordpress. While all of those photos in Windows are presented correctly Wordpress does not recognize their proper rotation. I may use ...
7
votes
0answers
148 views

Physical organization of wordpress media library (Real Media Library plugin)

Introduction. In the above screenshot you can see a folder structure built with premium plugin Real Media Library. Now i want to create an extension plugin which can organize the folder structure ...
2
votes
0answers
15 views

Script won't execute in the media manager

I'm trying to execute a jquery script on the click of a button in a custom tab of the media manager, but it does not seem to work. I have been told this might be due to the button not being loaded ...
0
votes
0answers
69 views

Uploading .mp3 files http error - 2 “exact” files one successful other fails

I have 2 equal .mp3 files - technically different files but both exported from Audacity using the same settings and the same original audio. Exactly the same size, same content (albeit processed ...
0
votes
0answers
16 views

Controlling visibility of files in the Media Library?

A part of the site I'm currently working on includes an expenses section where the user can upload expenses and attach files to them. This is currently achieved through a custom post type using an ACF ...
0
votes
0answers
8 views

Query Media Library For Posts Uploaded to Specific Page

Is it possible to query the media library for media files that were "uploaded to" a specific page? See the following screenshot. For example, I'd like to query all the media files uploaded to "...
1
vote
2answers
3k 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 ...
0
votes
1answer
24 views

Attachments plugin cannot click media library button [closed]

I have installed the Attachments plugin (version 3.5.7) to upload multiple images to a post in my post type 'shop'. The problem: For some reason I cannot click the insert button of the media library ...
1
vote
1answer
39 views

wp_enqueue_media() Will not load JS on the theme

I've added wp_enqueue_media() to a specific page (before including the header) on my custom theme but it flat out will not any of the JS on the page. I've already done the basic troubleshooting: ...
1
vote
1answer
39 views

Original image not saving?

When i'm uploading a picture, WordPress doesn't save the original image, just the thumbnails? That's why when i'm setting a featured image, the link is broken. Any help to to save the original image ...
0
votes
1answer
15 views

Wordpress Media Delete Logs

Is their a way to log when all media files get deleted? all user interaction and programmatically? I'm creating a Media Plugin logs for media that get deleted Or maybe a Hook of media delete.
0
votes
1answer
27 views

upload_max_filesize in .user.ini Not Reflected in Media Upload

I would like to know why Media Upload does not detect the upload_max_filesize that had been set in .user.ini file as shown below. max_execution_time = 10000 memory_limit = 512M upload_max_filesize = ...
0
votes
1answer
30 views

How to get the title of the random images from media library?

I am displaying random images in my homepage. My problem is, I can't get the title of the images to show in lightbox. Here are my codes. Codes that gets the images from the media library function ...
2
votes
2answers
2k views

Update media file url in wordpress media library

Currently my videos are hosted within my wp installation. I want to move all videos to my new server. Currently, my media url are as follows http://mysite.com/wp-content/uploads/video01.mp4 I am ...
4
votes
3answers
2k views

How to track hits of a single media file?

I have multiple media files in my WordPress Media Library. Icons, Images, PDF's and the like. I would like to have a stat counter, that gives me a statistic of the downloads/hits of those files, ...
0
votes
0answers
29 views

Moving to godaddy managed wordpress hosting/media library

I'm trying to move a site to godaddy's managed wordpress hosting. Everything is working besides images/the media library. I have ensured that the values in the database match the actual relative/...
0
votes
1answer
29 views

What template is used for viewing Media Library Files?

I would like to create a special page template in my theme for viewing the media library files. Currently, when I click a Media Library image file I get a page template from the parent theme. Does ...
0
votes
0answers
34 views

Upload media Remote or Api

I couldn't find any accurate answers, therefore asking here. I have a website that runs multiple cron jobs in WordPress and generates posts from multiple resources with images and descriptions. I am ...
0
votes
0answers
38 views

Re-Index Media Library?

I do the maintenance for a webpage - the owner has posts which are from year 2014, with pictures uploaded to the folder wp-content/uploads/2014. The website was hosted on Blogger before and there was ...
0
votes
2answers
331 views

Image uploaded in media library, can only see it when I using the WP Edit Image feature. 404 when trying to view in browser

I have an image that I've uploaded through the WP media library. I can see this image in my uploads folder via ssh/ftp. I cannot see this image if I put the URL in my browser, like www.site.com/files/...
0
votes
1answer
85 views

Get post embedded image caption

I am trying to get the caption of post embedded images to then use on a lightbox. This is my code: function my_theme_prefix_content_gallery( $content ) { global $post; $args = array( ...
5
votes
1answer
101 views

How can I speed up a slow loading media library?

My WordPress site is fairly large. It's being used as a blog and a CMS, with a WooCommerce shop running off it as well. There's probably over 2000 images in the media library at this stage. My ...
7
votes
2answers
2k 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
51 views

link Google Drive to Wp Media Library

For space reasons, I need to my wp site to an external storage system such as Google Drive of DropBox. I have tried the Google plugin and the DropBox plugin. Both have very simple instructions which ...
1
vote
0answers
15 views

Intersept image upload and generate retina image from source

My goal is to make a retina and non-retina image when user uploads a photo. This is doable like so: add_action('init', function() { // Get the original image sizes and duplicate $thumb_w = ...
7
votes
0answers
146 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 ...
28
votes
6answers
11k views

Change the default-view of Media Library in 3.5?

When inserting media into a post, is there a way to change the default-view of the Media-Library from "All media items" to "Uploaded to this post"? There is another thread where this question was ...
-2
votes
1answer
27 views

Store images and videos category wise and fetch them in json format

I am try to store images and videos category wise , I used "Enhanced Media Library" plugin to categorize media. Now I have to fetch media category wise and show in json format. I am using JSON API, ...
0
votes
0answers
14 views

wp.media mutliple file types

I want to show in library window all documents, which consists of pdf, doc, docx. It is possible to specify more parameters in library tag like library : { type : 'application/pdf'} Thanks