An image, audio or a video comprises a media.

learn more… | top users | synonyms

0
votes
1answer
27 views

XML-RPC: How to add media caption to uploaded image?

I need to migrate non-WP data from an SQL database to posts in WP, and thought that using XML-RPC in a closed environment before deploying was a smart solution. This is my first WP project, so I'm ...
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 ...
0
votes
1answer
18 views

Can't upload media, permissions are correct

I did a manual backup and re-install of a WP site, and it worked fine. Then my client updated some plugins, regretted it and asked me to restore the site to its previous state. I used the same backup ...
-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
0answers
15 views

Better way to detach media, via post edit

We need to be able to manage attached images more efficiently in WP4.0, I haven't been able to find a plugin that works optimally, in the way I am about to describe. We want to access the media ...
0
votes
0answers
8 views

media_sideload_image returning File is empty

I've tried everything I could find on the internet, but my media_sideload_image is still only giving the error File is empty. Please upload something more substantial. This error could also be caused ...
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
8 views

Media uploader edit image direct in edit-psot view

I want to make available to edit custom fields (its gallery) direct in edit-post view. Im using ACF plugin so I have this view: http://grabilla.com/04906-95db6a64-4c3f-497a-b312-67fff32ab21f.html I ...
2
votes
1answer
74 views

FTP files directly to Media Library wp-content\uploads

I would like to use an automated process to replicate a non-WordPress file folder in \wp-content\uploads\ and have the files automatically registered in the Media Library. I could use such a process ...
1
vote
0answers
32 views

How do I get around “Sorry, this file type is not permitted for security reasons”?

I was wondering how I could allow .tiff files to be uploaded in my wordpress site. I get the message "Sorry this file type is not permitted for security reasons". This question has been asked in ...
0
votes
1answer
18 views

Wordpress Media Image Manager — Creating Lots and Lots of Odd Sized Images

This is odd. Whenever I upload an image, I get a whole myriad of generated files. If I upload test_image.jpg (which is 971x698 pixels in size) I then get the following ten generated files: ...
0
votes
0answers
14 views

Exporting WordPress -> Flickr

I have all of my images stored in posts on my Wordpress blog, but I'm a tad worried what would happen if my web host were to go offline. I could back them all up by zipping the wp-content/uploads ...
0
votes
0answers
22 views

Remove attached media

I've created a custom Page Template that grabs all the attached media (images) to the page using get_attached_media(). I'm adding the media by clicking on Add Media button above page title. If I ...
0
votes
1answer
28 views

Make custom thumbnail size image in media_sideload_image function

I am using customize media_sideload_image just as provided in this post by @G.M. Now I want to create different sizes of images other than which WP default uses. Please provide suggestion
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 ...
0
votes
0answers
24 views

Wordpress Media URLs?

I just launched a Wordpress site after having done all of the standard procedures: moved the uploads folder, uploaded the database, and did a search and replace on all of the urls in the database. ...
1
vote
1answer
35 views

Show attached media image if no thumbnail image detected

I use the if ( has_post_thumbnail() ){} to check if the post have thumbnail image, but this echo get_attached_media('image', $post->ID); displays the word Array I need to show the ...
0
votes
0answers
14 views

Echo Insert Media in input [duplicate]

my code input insert media <input type="text" name="Cat_meta[img]" id="upload_image" size="3" value="<?php if(isset ( $cat_meta['img'])) echo esc_html($cat_meta['img']) ?>"><br /> ...
-1
votes
0answers
17 views

how to set Gallery Setting default Media File

When i create Gallery default is: Attachment page how to change default is media file or remove Attachment page . I don't want select is.
0
votes
1answer
30 views

Create input select image URL?

My code in functions is: <input type="text" name="Cat_meta[img]" id="Cat_meta[img]" size="3" style="width:60%;" value=" <?php echo $cat_meta['img'] ? $cat_meta['img'] : ''; ?>"> How to ...
0
votes
0answers
24 views

Assign uploaded file to user

I'm developing a project in which I need to give the logged in user (editors) the option to "give" that uploaded file (media) to a specific user. In other words, i want to add an additional field in ...
0
votes
1answer
26 views

How do I secure a subdomain using UCC SSL?

I have a UCC SSL Certificate installed on my primary domain (example.com). I have 3 subdomains listed as Subject Alternative Names (SANs) (shop.example.com, distributors.example.com and ...
0
votes
1answer
45 views

Custom Link In Wordpress Media “Attachment Details” Upload Screen

When you click "Add Media" and from there select an image from that media library screen on the right you get a breakdown (the attachment details) related to that particular image. Right below the ...
0
votes
1answer
41 views

uploading images to specified directories

I am hoping that you can help me. I've tried finding plugins to do what I want to do but none of them really simplify the problem that I am trying to fix. I am trying to build a site for my ...
0
votes
0answers
13 views

Image path in posts (/uploads/yyyy/mm) does not match actual file location

I just moved to a new server and upgraded WordPress as well. Somewhere in the process my image paths in old posts got mismatched to the actual file location. All the old images are now broken. As an ...
0
votes
0answers
13 views

Intercepting 'Add Media' button click

I'm trying to simplify a little the media uploader for one of my clients. To do so, I'm trying to generate a new media uploader frame using 'wp.media...' on client side js. But when I click the 'Add ...
11
votes
1answer
162 views

Reject upload of wrong-sized images using the Media Uploader

I'm working on a super-strict setting for adding images to Custom Fields in the Post Edit screen. My optimal scenario would be to add a a Custom Error message when the user tries to upload an image of ...
0
votes
0answers
8 views

How do I set a featured image straight from the post text editor?

I'm dealing with a migration of 5,000 posts from a non-WordPress platform into a new WP install. I would like content managers to be able to open each past post in the admin, then merely click an ...
1
vote
0answers
38 views

Blank upload.php page

I am wanting to optimize the images that I have previously installed on my Wordpress site. I haven't uploaded any images for a while but now when I try to access the Media Library (Media > Library) ...
0
votes
0answers
20 views

Native WordPress Media Uploader on WordPress Frontend

I am using a custom template on my site to enable frontend posting. I wanted to add an option to upload media(such as pictures) on this form exactly the way native WordPress backend has. In short I ...
2
votes
1answer
47 views

Filter Media Library by author or post_parent

I am trying to filter the Media Library so only media items that are uploaded by the current user OR children of the post being edited are visible. I've had no problem doing it if the conditions are ...
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
12 views

When editing images, apply changes to specific image size

The image editor only has these options: Apply changes to: All image sizes Thumbnail All sizes except thumbnail I have a custom image size that that I'd like to only apply the changes to. Is ...
0
votes
0answers
14 views

Inconsistencies when inserting [video] vs [audio] and [playlist] using AJAX

Below are some test cases listed: Insert audio or video [playlist] in the back-end TinyMCE. Result: it's always 100% wide. View post with audio or video [playlist]. Result: it's always 100% wide. ...
0
votes
0answers
32 views

Media is not getting uploaded on specific site using wordpress xml-rpc

I am using WordPress XML-RPC to create post from one WordPress site to another WordPress site. Following is my code, my code is using these two functions. function ...
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
43 views

TinyMCE Add Media drag and drop

I am trying to use TinyMCE editor in custom page in wp admin "Settings" area. I am able to load it using wp_editor() with drag_drop_upload and media_buttons enabled. It loaded well. But the problem is ...
0
votes
0answers
84 views

Set Featured Image not opening - Stuck at loading

I am unable to set featured image for posts/pages. The 'set featured image window' opens but never loads and thumbnails. Then I tried to upload the image using Media, it stucks at crunching. But ...
0
votes
1answer
66 views

Mediaelement.js feature doesn't work

I am trying to add new feature to mediaelement.js. Here's one example http://mediaelementjs.com/examples/?name=loop Another example which I am trying to implement now is this- ...
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 ...
0
votes
0answers
41 views

media uploader filter library so see only images without parent post

I am using this code to enable users to upload images from front end. I would need to filter the library tab to only how images that do not have post_parent set. Any way to do that? Code below: ...
0
votes
0answers
12 views

Rewrites and Attachments

I'm currently working on a custom post type that has rewrite tags to allow for sub pages. e.g: showcases/project-name/media/ Media being the page. My problem is with attachments and media uploads, ...
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
58 views

WP 3.9 - default Media Manager

I need that in the admin edit page, when the user clicks on “add Media”, the default in the new frame will be “Create Gallery” and not “Insert Media”. I think, that the script for it is in the ...
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 ...
1
vote
0answers
16 views

Post and featured image have the same name, why is the attachment (image) is showing and not the post?

How do I get the actual POST to display - and not the thumbnail of the image? I have tried to redirect the attachment to the parent post, but that gets caught in a redirect loop. For an example - ...
2
votes
0answers
28 views

Category checkboxes in upload modal

In a project I'm working on, I've enabled categories for attachments using: register_taxonomy_for_object_type('category', 'attachment'); In the edit attachment screen in the Media Library you see ...
0
votes
0answers
91 views

How can I rotate images in Wordpress?

I'm receiving the following error while I attempt to edit images within Wordpress: "Could not load the preview image. Please reload the page and try again." What would cause this? Wordpress ...
0
votes
1answer
34 views

Categories in media library

I want to add a rather big sound collection to the media library. The problem is that i can't add category to the bunch of files while uploading them... I even can't add it to one uploading file.... ...