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

2
votes
1answer
39 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
12 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
0answers
15 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.
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 ...
3
votes
1answer
916 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
16 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
43 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 ...
5
votes
0answers
94 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 ...
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
13 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 ...
2
votes
2answers
756 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 ...
3
votes
1answer
481 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
50 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
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
0answers
13 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
1answer
451 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
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
21 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
27 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
30 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
14 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
26 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
25 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
24 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 ...
0
votes
1answer
28 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
29 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
26 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
325 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 ...
0
votes
1answer
82 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
92 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
45 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 = ...
6
votes
0answers
122 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 ...
27
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
23 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
13 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
1
vote
1answer
64 views

How to output images as figure/figcaption

I'm trying to figure out how to output the WP images from the media uploader as Figure/Figcaption. Using the WP Twenty Sixteen theme the output is figure/figurecaption by default, and searching for ...
0
votes
0answers
12 views

Can't view Media Library (self hosted site) on Wordpress for iOS

I'm running out of ideas of where I can get help on this matter.. Basically I've been getting in touch with the support forums for Wordpress for iOS where I can't access the Media Library content on ...
4
votes
1answer
2k views

Import media to online WordPress from local development

I have a site being developed locally and I want to import the contents to an online installation. I used wordpress "import" but it cant get the media files. Is there any "wordpress" was of doing this ...
0
votes
1answer
112 views

Too slow Image upload in Wordpress Media Library as image number increases

we are using Wordpress 4.4.2 and the Wordpress Media Library for media management. We have noticed that as media (images, not videos or audio) number increases, the upload process takes too long...and ...
0
votes
5answers
89 views

Cannot access the thumbnails of attachment images… Cannot find the reason

I have a custom form that allows users to make posts and also upload images with it. The images are saved in wp_posts as post_type = attachment with a guid to show the image. Now I have created a ...
3
votes
2answers
479 views

Add Image Dimensions to Media Library Tab on Media Upoader

I would like to add the dimensions of each image to the media library tab in the media uploader. I have a multi-author website, where I require users to add a featured image with minimum dimensions. ...
0
votes
0answers
29 views

Migrating to HTTPS only, most media library links need updating?

I've been migrating customer WP installations to an SSL only server. For some reason some (but not all) of the media libraries seem to have gotten hard coded URLs involved. These are media objects ...
6
votes
5answers
8k views

Upload images to remote server

I am using Wordpress media uploader to upload images and I was wondering if there is a way to make it upload to my remote server instead of my local server? Example: My wordpress blog is hosted on ...
0
votes
0answers
17 views

images corrupted after install watermark plugin

I've a wordpress site, I want to install watermark plugin. after I install it and try it. my images in media library with Arabic file names got corrupted. I tried more than one plugin but the same ...