An image, audio or a video comprises a media.

learn more… | top users | synonyms

0
votes
0answers
5 views

Media Edit Page - Add Next/Back button

I use the Media Edit page (for individual images) to add Category and Tags. It would be time saving to have a NEXT and BACK button so I can step to the next image, to allocate Cats and Tags to the ...
0
votes
0answers
7 views

How to get the return value of wp.media({ frame: 'post' }) in all cases?

When the user is in an edit.php page or post-new.php, the wp.media global is available and I want to use it to open a special insertion view that allows videos. var frame = wp.media({ frame: '...
1
vote
1answer
19 views

How to get file URL from media library

I am attempting to copy a file from an external URL and then reference the local copy of the image via a WordPress shortcode. So far I have managed to copy the external image to the media library ...
0
votes
2answers
11 views

Check if author or uploader id of the attachment(uploaded) image is match?

I am trying to write a function to upload and delete images on frontend with dropzonejs uploader, and so far i managed to make everything work. But the problem is that i need to secure it that the ...
-1
votes
0answers
19 views

How to Change the Custom Media Upload view to Default View

My client has a custom theme which's has a custom option for selecting the featured image for any post. The current default view for selecting the featured option is "Uploaded to this post only". ...
0
votes
1answer
13 views

bulk media crop for featured images

I want to select all the images which are used as "featured image" on woocommerce products and modify and crop the images to fit a specific height. Does anyone know if there is a plugin available or ...
0
votes
1answer
13 views

Callback Function Not Firing On Selection In Media Uploader

I'm studying theme development and am working on some code for a media uploader that can be used to add a picture. The file frame is opening (and I've called wp_enqueue_media(); for that to be the ...
0
votes
0answers
8 views

Play more than one Audios Simultaneously

I am working on a WordPress site which is using Media Player. I have to insert audios with each Woocomerce product. Somehow I managed to display the audio with each product on the product listing page....
1
vote
1answer
67 views
+50

Force WordPress, themes & plugins into using defined sizes

Many users do not compress or resize their images before uploading them into a post, so source images can often be a lot larger than the settings in /wp-admin/options-media.php. Many theme and plugin ...
3
votes
2answers
46 views

What is the best practice for renaming Wordpress media files?

Occasionally I change the name of a media file in Wordpress, but the filename (see screenshot) does not change in the process. I see a handful of plugins online that purport to change this. I'm just ...
0
votes
0answers
4 views

Is there a way to limit the number of choices in the WP Media Selector

I'm calling the Media Chooser via wp.media({ title: 'Insert a media', library: {type: 'image'}, multiple: true, button: {text: 'Insert'} }); Everything is working just fine. However, for a ...
-2
votes
1answer
42 views

Get Thumbnails and Thumbnails URL from Media Manager

I need to insert several thumbnails generated from featured images in html, to use them in a slider that I've built. I can't get the thumbnail size via PHP because it breaks the code module (I am ...
2
votes
1answer
31 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
17 views

WP Capabilities to Add Media, Use Media, But Not Edit Them

I just want to have role that can specifically adding media, use the existed media, but not edit OR delete them. I was looking for the capability, but I don't see it listed. Or it's really ...
2
votes
0answers
49 views

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

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 ...
0
votes
0answers
58 views

wp-admin/post.php access denied

When I publish or update posts with media (eg: image ) it results to following message. Access Denied You don't have permission to access "http://example.com/wp-admin/post.php" on this server....
0
votes
1answer
15 views

Media previews on posts

Firstly a quick disclaimer - I'm fairly inexperienced when it comes to WordPress. I'm a programmer by profession but don't work with PHP or wordpress a lot. I've just done a theme change on a blog ...
6
votes
1answer
117 views

Uploading media with the REST API

I am having trouble when uploading media to a WordPress site with the JSON REST API. With the following code I can upload the photos, but no info is assigned to them, not even the name - in fact the ...
1
vote
0answers
16 views

Allow downloading unusual file types

I am trying to make .dwg and .rfa files downloadable on a Wordpress site. I've added the following code to allow them to be uploaded through the media browser: function additional_mime_types($...
4
votes
3answers
146 views

Set limit to media upload?

I am searching online and all I can see is how to increase file size for media upload, which I know how to do with php.ini, but what I need to do is limit the file size for media upload only. The ...
0
votes
2answers
24 views

Newly uploaded images are not updating in featured image

Using the google page speed test I saw that some images were too large and needed to be resized. I used the ftp to download the necessary images, resized them locally, and then used the media upload ...
0
votes
0answers
15 views

Any way to use media (uploads) from one site in a new site?

I've had a wordpress site for a few years. Now I'm starting a new site (in a different language) which will use many of the same images from the old site. I don't want to duplicate media, as server ...
0
votes
0answers
24 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.
1
vote
0answers
23 views

Add custom tab on the media manager

I want to add a new tab and its content on the media manager. I have used add_filter('media_upload_tabs', 'mime_type_tab' , 1 , 1 ); but that filter it is not working on the featured image pop up.
0
votes
1answer
13 views

Change Wordpress Media Manager

On the previous versions the media manager was like this Newer Media Manager My Question is How can i change to the older version media manager ??
0
votes
0answers
11 views

Using a separate image server with WP

I'm interested in figuring out how to use a public image server instead of Wordpress' root image directory for managing media on a new Wordpress site. Background: Client currently runs a blog with ...
1
vote
1answer
28 views

Set spesific size of featured images

I am trying to reduce the loading speed of my webpage. Google PageSpeed Insights tells me to optimize my images. In the following code, how can I set an image size so that if the uploaded image is ...
1
vote
1answer
21 views

How to set the default embed image size

When a user adds media to the WYSIWYG, is there a way to set the default image size to large? It defaults to medium, I'd like this to be "large" without the user having to change the value.
0
votes
1answer
27 views

Can't get data from audio media

I am trying the get the data of an audio, I've uploaded to a Wordpress site I'm working on (Not my own). I'm quite new to WordPress, but as far as I know, media files such as images and audio is ...
0
votes
0answers
13 views

Trying to get the link to the media file image attachment to display in a lightbox

Tried many variations including wp_list_pluck with no luck. Not sure how to proceed. <?php $attachments = get_children( array( 'post_parent' => get_the_ID(), // $pageChild->ID, $post->...
0
votes
0answers
13 views

using session var to filter author media gallery

I got a problem to solve and would like to know if I'm looking the right way to solve this. I have a site where multiple authors can upload images and they all have a profile page (author.php) where ...
0
votes
1answer
28 views

Shortlink directly to a media file?

We have a nice short domain name, but links to media files are way too long because the file names are long and you have the extended path for WordPress media. Like so: http://example.com/wp-content/...
0
votes
2answers
69 views

Upload images and attachments from frontend form

I'm not very expert of wordpress and I'm trying to create a frontend form sending information to my php function through ajax. I'd need help about uploading images and files as attachments of the post....
0
votes
0answers
23 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 ...
1
vote
1answer
49 views

pass query string on url to filter media

I have an author page which shows all uploaded media by that author. Each media can have tag1, tag2 or tag3. I would like to add an option where I can show on that same page only tag1 media without ...
0
votes
0answers
18 views

Basic HTML visual editor for image captions

So, Wordpress 3.4 and beyond now allows html within the Caption field of an image. However, there isn't the basic visual html editor attached to the field. Is there a way to turn on the basic html ...
0
votes
0answers
18 views

Change permalink to attachment gallery post and redirect parent post

I have a problem with the photos attached to another article Example: **Photo1** attached in MyPost1 **Photo2** attached in MyPost2 **Photo3** attached in MyPost2 **Photo4** attached in MyPost3 **...
2
votes
0answers
93 views

Media upload via backend doen't work after moving site

I have copied my site to a subdirectory for test purposes, everything works fine now. The only problem I have seen so far is the Media upload. When I try to upload a file I get a: Unable to create ...
0
votes
1answer
22 views

Send media uploads to different directories

I am making a website for my local primary school, and I have each class page as a separate page template. Rather than have all their uploads go into the general /uploads/ folder I'd like to direct ...
1
vote
1answer
32 views

Which hook is fired when inserting media into a post

I want to add numbering to each image when I insert them into the post. For example if I insert 3 images into a post, there will be: Image 1 Image 2 Image 3 I looked through the WordPress ...
1
vote
3answers
82 views

How to reduce original image quality on upload?

I know that I can use the jpeg_quality filter like this: add_filter('jpeg_quality', function($arg){return 75;}); This will reduce the image quality of the images generated during the upload process ...
0
votes
0answers
10 views

Widget not notifying customizer of changed value when updated via Javascript

I'm developing a wordpress theme that relies heavily on widgets for flexibility. I'd like to use the wp media javascript library to add images to some of these widgets instead of just having a text ...
0
votes
1answer
31 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 ...
1
vote
1answer
34 views

Is there a way to make my media files unsearchable?

I upload a lot of contracts, T&Cs, pdfs and audio file to my wordpress blog. I would like all of this content to be hidden from standard search engines. Is this possible?
-1
votes
2answers
29 views

Can't See Media Queries with Inspect Tool [closed]

all - I do not have the greatest CSS skills in the world, but I can normally figure things out. Right now I'm trying to implement a fairly simple media query in the child theme of my Wordpress site. ...
0
votes
1answer
81 views

How to export a list of all media urls? [closed]

How can I export the list of all media files' url, So I can use it in some other documents?
0
votes
0answers
29 views

Images problem in WordPress backend

After an attempt to backup an old version of WordPress in order to edit a theme, the images: Show a placeholder as a thumb in library. Can't be seen when edited. Don't show as featured images and in ...
1
vote
1answer
34 views

PowerPress mobile media player

I am using the MediaElement media player for PowerPress, everything is working fine. The one thing I noticed is on mobile...affecting the podcast showing first. If you go to: http://joshrodg.com/...
0
votes
1answer
39 views

Display Powerpress media url

I am trying to display the url of a media file in a template. I ran across this post: https://wordpress.org/support/topic/get-media-url-only, but when I add that to my template (in the loop as it says)...
0
votes
0answers
15 views

How can I force media that is uploaded on a HTTPS subsite to also have HTTPS URLS?

I'm currently using Cloudflare for my Multisite's SSL. Everything works perfectly except for the fact that images are loaded as HTTP rather than HTTPS. This causes issues such as these: Under ...