Skip to main content

New answers tagged

1 vote

Get all uploaded images using REST api

So the problem you are encountering is that you can not request all of them at once. Meaning you have to add a parameter to the request. Something like this: /wp-json/wp/v2/media?per_page=100 If you ...
ERM-AL's user avatar
  • 13
0 votes

Front end form with images and media_handle_upload logic?

if( isset( $_FILES['fileToUpload'] ) && ! empty( $_FILES['fileToUpload']['name'] ) ) { require_once( ABSPATH . 'wp-admin/includes/image.php' ); require_once( ABSPATH . 'wp-admin/...
arshiya's user avatar
0 votes

Can you open a media frame to sellect an attachment to associate with another attachment you are editing on an existing media frame?

I figured this out. You CAN open another frame Here is my code: jQuery(document).ready(function ($) { var frame; frame = wp.media(); $(document).on('click', '.compat-field-...
Enjabain's user avatar
  • 101
2 votes

Automatic image conversion to HEIF breaks Gallery on Safari

This is a known issue. A fix is set to be included in release 6.7.1: Targeted Fixes […] The following are bugs that should be included if ready, but as understood now are not affecting as many people ...
Wongjn's user avatar
  • 493

Top 50 recent answers are included