Questions tagged [media]

An image, audio or a video comprises a media.

Filter by
Sorted by
Tagged with
0
votes
0answers
15 views

Snippet overwrite media files?

I'm looking for a snippet that will overwrite media files. Example: There a audio file called Dogpark.mp3 uploaded to wordpress. The next week I have a few file called Dogpark.mp3 which I want to ...
0
votes
1answer
11 views

Disable Responsive Image Sizes crop

I think my question might similar to others.Here is my problem, I want to remove generating wordpress responsive images because I have done image responsive solution with my way. So, I don't wanna ...
-1
votes
0answers
10 views

Wordpress gallery ids in listing does not show up the images

I use this theme called robolist lite, it has a listing feature where it says this... After I enter these... It shows nothing in the main page, snapshot here... I tried re uploading and everything ...
2
votes
1answer
59 views

How to make programmatic image upload generate thumbnail and sizes?

I have written a function to add a remotely-hosted image to the Media Library. It does so. However, it does not generate a thumbnail in the Media Library - and I believe standard practice should also ...
0
votes
0answers
6 views

Insert tinymce Popup array Gallery

In function i add_filter to mce: function custom_mce_buttons() { if ( get_user_option( 'rich_editing' ) == 'true' ) { add_filter( 'mce_external_plugins', 'custom_tinymce_plugin' ); ...
0
votes
0answers
7 views

Woocommerce duplicate images on images rearrange via api

When images in product gallery are rearranged via the API in Woocommerce then duplicate images are created with the new order. The old ones are left there unattached and the Media folder gets bigger ...
0
votes
0answers
6 views

Edit Image: Toolbar for caption and description fields?

Is there any way to get toolbars for things like link, bold, italic, underline... in the inline 'Edit Image' or 'Select Image' views for media? It's very confusing to me because if the item is opened ...
0
votes
0answers
21 views

How to enable Attachment post type in Gutenberg editor for blocks?

I would like to make the native Attachment posts to be accessible by various Gutenberg Blocks. (To appear & be selectable in dropdown menus, etc.) Is that possible? The nearest answer i found is ...
0
votes
0answers
15 views

How to modify the fallback message outputted by the video shortcode

The core [video] shortcode in WordPress outputs a fallback message and download link when the video source file is not found or is unsupported. This message usually says: Media error: Format(s) not ...
0
votes
0answers
8 views

Video upload fails at 83% every time

I have my upload threshold set to 256M. Every time I try to upload a file (97Mb), it stalls at 83% and fails. I can't find a single piece of information on this and it can't be unique. I have no ...
0
votes
0answers
20 views

What would be the best way to replace MediaElement.Js play, pause, volume etc… buttons with SVG icons?

I would like to replace the default icons with <svg> tags, in the mediaelement.js audio and video players. So far considered going the CSS route, but unfortunately SVG inserted with CSS cannot ...
0
votes
0answers
23 views

The uploaded file could not be moved to wp-content/uploads

Not a folder permission issue. My website is evilsoulstudios.com. I am trying to upload an image using the "Upload New Media" with-in WordPress. I am all of a sudden getting an error "The uploaded ...
0
votes
1answer
15 views

Media isn't showing in Wordpress library but is available in uploads folder

I am trying to migrate my site from shared hosting to the digital ocean. I have uploaded wp-content and my site is over 3 years old. Now when I am checking into the media on the dashboard. Files ...
1
vote
1answer
23 views

Create Media via REST API from Android Application

I am not sure if this post will be considered as duplicate since the same is on stackoverflow.com. I am trying to upload a file to WordPress using REST API. I have tried different headers, values but ...
0
votes
0answers
22 views

unsharp thumbnails after uploading image

I googled for a whole day and didn't found a solution. I tried a lot of plug ins and so on, but didn't get it. If I upload for example that image here: https://deermylove.com/wp-content/uploads/...
1
vote
0answers
8 views

Get Image from Media Library with the Title

i have set the Title from a Image in my MediaLibrary to "slider". I want to add this Picture via. Code to my page.php file. I dont want to use the ID, I want to use the Title. How can i do this? ...
0
votes
0answers
17 views

How can I limit access to uploaded media depending on the logged in user's user role?

I have a pretty straight-forward Wordpress site that uses a plugin called Subway to restrict access on the page only to logged in users. There's also the following .htaccess-rule: RewriteCond %{...
0
votes
1answer
15 views

Append Media/Attachment IDs to Gallery Shortcode HTML Output

I've been trying to find a simple and elegant solution to append the media/attachment IDs to my [gallery] shortcode html output. I've seen various functions to rewrite the whole output of the [gallery]...
0
votes
0answers
14 views

Blurry Images After Regenerating Thumbnails

I have a blog archive layout with featured images. The images are blurry. The images are sized using a custom image size that I added. The images displayed are the correct size. I've also run wp cli ...
0
votes
0answers
21 views

Convert GIF to MP4 on image upload and serve URL to converted file

What hook would I use to tap into newly uploaded files for converting GIFs using ffmpeg to MP4? New to plugin development.
1
vote
0answers
16 views

See List View - or Image titles- of Media Library when “Add Media” button is used

When using Add Media button, the Media Library only shows thumbnails. Is there a way to show the list view instead, or in addition to the thumbnail, show the image title? My client needs to drop ...
0
votes
0answers
13 views

Adding file name and upload date to media library grid view thumbnails

We are trying to add the file name and upload date to the thumbnails in the media library grid view. As the content is bigger than the thumbnails, we would prefer them underneath. I understand this ...
0
votes
0answers
12 views

Posting video via iOS shortcuts

This problem may be out of scope for WP.SE--it involves both Wordpress and iOS. Apologies in advance. I'm trying to create an iOS shortcut that will start capturing a video and when finished, post ...
0
votes
0answers
11 views

Adding Files to Page Only Adds Title, Doesn't Create Link

I have run into a really weird problem. When I go to add a file to a page or post using the Add Media button, Wordpress only inserts the title of the file and doesn't create the link, it's only the ...
1
vote
1answer
36 views

How to replicate Media Library “Add New” on Plugin Settings Page

When you click the Add New button next to the Media Library page title... It opens the Drop files to upload template... I want to replicate that on my plugin settings page. Ideally using default WP ...
1
vote
0answers
17 views

How to hide some specific attachments using post meta from media library

I want to hide some attachements with specific meta value from media library. I have hide attachments in list view of media library using the below function add_action( 'load-upload.php' , '...
0
votes
0answers
16 views

Media attachment page - custom URI, and trying to display differing links, based on that URI

I'm trying to edit the "media attachment" template. I have four image galleries, each one with a different URI. I want the media template to reflect the gallery in a link in the page. The media ...
0
votes
0answers
27 views

How to get updated Alt text to be detected by SEO audit tools?

I recently updated the alt text of the image files on a website via the WordPress media page; however, SEMRush and Screaming Frog both cannot detect the updated alt text. I used the "Inspect element" ...
0
votes
0answers
26 views

Can't upload mp4 for security reasons

Never had an issue uploading mp4 files before on my wordpress site as they seem to be whitelisted by default. However, today I keep getting an error message saying there are not permitted for security ...
0
votes
1answer
39 views

WordPress suddenly starts uploading media to an old (backdated) folder

I've seen a couple of people ask about this but without a general conclusion. It worked until recently, but recently all media uploads from the media upload tool end up in an old folder, 2019/10, ...
0
votes
0answers
23 views

Problem on Upload Mode Grid Wordpress

I am facing problems with a plugin that was working normally. It causes jQuery errors to appear. Uncaught TypeError: $ is not a function at upload.php:999 Uncaught SyntaxError: missing ) after ...
0
votes
0answers
23 views

Wordpress multisite share media across sites without a plugin?

I have googled this for couple times and went over all links, all I could find is plugin solution. I am using multsite for manual translation, however all images that are used are same. I want to ...
0
votes
1answer
22 views

Add a metabox when editing a media - but only for images

Is it possible to add a metabox for medias (attachments), but only if they are images ? I don't want this metabox on other file types. Thanks
0
votes
0answers
20 views

Updated wordpress missing image upload area

Our wordpress updated yesterday. We are on version 5.3.2. Since the update the upload files function within a page is blank. I have included a screenshot, I wondered if anyone else has had this ...
0
votes
0answers
13 views

Image Gallery photos aren't cropping, even though they're set to crop

Can someone help??? I know I'm uploading relatively high-res photos, and yet they're still not filling the frames of the image gallery I'm creating in the post. I've set the switch to "Crop" in the ...
0
votes
0answers
37 views

WP REST API Create media return Timeout Gateway in response, but media created

Have a problem with REST API for creating media Trying post image to WordPress and got the good result – media created and Postman got response with id of the new image. But when I run request from ...
0
votes
0answers
21 views

How can I upload google images of places to wordpress media

I am making a functionality in which I need to implement the google images and save it as the media image.So is there a way where I can upload images from extenal URL automatically to wordpress media ...
1
vote
1answer
46 views

Post edit - Media Library - Only get images from current post

I've got a few ACF Image fields for posts And I want to only query the images in the media library browser already uploaded and used on the current post. In other words, when opening the media library ...
0
votes
0answers
21 views

Wordpress Multisite images randomly gets 404 error

we have a Wordpress multisite and the images on the subsite randomly gets 404 errors (not all of them). When you upload multiple images in the media library, some will work fine while others will get ...
0
votes
1answer
29 views

WordPress image title attribute becomes permalink? [duplicate]

I'm managing a WordPress site with a strange problem. When images are uploaded to the media library, a page is being generated with a permalink that uses the image's title attribute. For example, if ...
0
votes
0answers
17 views

Importing content results in “file not found”

When I try to import WXR files via the Wordpress importer, the import often results in a 'File not found' page. It appears this might happen when the content to be imported is significant, but for ...
0
votes
0answers
22 views

Media library and Media Picker exclude specific upload subfolder media

I use some plugin to upload images into specific uploads subfolder. I want to exclude this subfolder media to being displayed in Media Library and Media Picker. For Media Picker I tried this filter, ...
0
votes
0answers
10 views

Default media uploader is not showing in wordpress website

There is a custom post type events in the website. When I create a new post under events i am facing issue with media uploader When i tried to upload the featured images in the english version of the ...
0
votes
2answers
26 views

Unable to add logo or header [closed]

I want to add a logo on my WordPress website by customizing the theme "Bard", but every time I select an image from my library, it leads to a blank page. The same happens with the header image. And ...
0
votes
1answer
18 views

How to migrate post media from stand-alone to multisite build

We have a stand-alone wordpress site we're migrating to a multisite build. The two builds are on two separate servers, but are using the same domain. We're currently accessing the multisite build by ...
0
votes
0answers
1k views

Post-processing of the image failed

When uploading 8 pictures via Media, Add New, I get this error: Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again. ...
0
votes
0answers
24 views

Set external URL as attachment source

I'm interested if it's possible to use the WP media library with external images as sources. Basically, I need the ability to add the images to the post (via meta field that stores the connected ...
0
votes
1answer
35 views

Media Library not loading

I am Currently Experiencing some media file upload issues with WordPress within pages or posts. Adding media in the media section does not have this problem. Troubleshooting the Console shows some ...
0
votes
0answers
12 views

How to add media attachments for the custom post type in WordPress admin panel

I need to implement functionality in the admin panel in such a way that I can add images for the gallery of particular custom post type also I would be able to view/edit the all the images uploaded ...
1
vote
0answers
15 views

adding images column to admin edit columns not working for SVG

I added the ability to use SVG as graphics on my site. They are showing up fine on the front end, but I'm having 2 issues on the backend. The problem is that I want to show post thumbnails on the ...

1
2 3 4 5
20