network-media-library icon indicating copy to clipboard operation
network-media-library copied to clipboard

Test compatibility with image gallery and media plugins

Open johnbillion opened this issue 5 years ago • 4 comments

  • [ ] NextGen Gallery
  • [ ] Envira Gallery
  • [ ] FooGallery
  • [ ] S3 Uploads
  • [ ] Jetpack
  • [ ] Smush Image Compression and Optimization
  • [ ] MetaSlider
  • [ ] EWWW Image Optimizer
  • [ ] Image Widget
  • [ ] Tachyon
  • [ ] Multiple Post Thumbnails

johnbillion avatar Aug 26 '18 23:08 johnbillion

It doesn't work with WP native gallery. Shortcode return nothing!

bojanks avatar Dec 27 '18 22:12 bojanks

It doesn't work with WP native gallery. Shortcode return nothing!

Hey, I'm also interested with this feature. Did u find a solution ?

gaelgerard avatar Mar 28 '19 14:03 gaelgerard

Same here, with WP native gallery. Gallery stays empty or did not show last uploaded images. Any solution for that? Thx

kleins avatar Sep 14 '21 10:09 kleins

Here it was a Problem mit Polylang. Polylang filtered for Languages, what results in not visible Images. This solved it: add_action('parse_query', function ($query) { if ($query->query['post_mime_type'] === 'image' && $query->query['post_type'] === 'attachment' && key_exists('tax_query', $query->query_vars)) { for ($i = 0; $i < count($query->query_vars['tax_query']); $i++) { if (key_exists($i, $query->query_vars['tax_query']) && key_exists('taxonomy', $query->query_vars['tax_query'][$i]) && $query->query_vars['tax_query'][$i]['taxonomy'] === 'language') { unset($query->query_vars['tax_query'][$i]); } } } }, PHP_INT_MAX);

kleins avatar Sep 15 '21 08:09 kleins