Is there any way to include an OR AND operator for the selected filters?
Would it also be possible to choose more than one tag at the same time? example TAG A AND TAG B
]]>I’m now using Filebird. When I try to bulk assign a tag to multiple media files within a Filebird folder, it misbehaves as follows:
In short, it doesn’t seem reliable with Filebird.
What I want it to do is
Can you help?
]]>Running into this error with the latest version. Any ideas?
assignment.js?ver=1663305960:57 Uncaught TypeError: Cannot read properties of undefined (reading ‘length’)
at Selectize.option (assignment.js?ver=1663305960:57:31)
at Selectize.render (selectize.js?ver=0.12.4:3210:48)
at Selectize.refreshOptions (selectize.js?ver=0.12.4:2197:24)
at Selectize.onFocus (selectize.js?ver=0.12.4:1734:10)
at selectize.js?ver=0.12.4:2068:10
Can you give me a screen shot or a step-by-step?
Does it need to be done during upload -or- can you Bulk Select and re-assign tags?
Cannot figure it out.
]]>Hi there,
So I have this plugin working nicely, however, when loading grid view it takes about 10-15s for the thumbs to load. I have around 4000 images, and about 700 terms in the custom media taxonomy I have created.
If I disable this plugin it loads pretty fast.
Any idea where I could start debugging to sort out where it’s spinning it’s wheels?
thanks in advance.
– o.g.
Hi, when I click a category in the dropdown in the GRID view, immediately the filter is applied and I see the images with the selected category. However in LIST view, nothing happens after selecting a category in the dropdown and when I click the Filter button, I see “No attachment files found” (“Geen mediabestanden gevonden”).
Any help would be greatly appreciated.
-Tony
]]>Hi there! I just came over a feature that would come in handy in my setup: At the moment, the bulk-actions on upload.php
already contain an option to assign media-taxonomy terms to selected media items. Couldn’t it also contain an option to un-assign terms from the media taxonomy? That would come in really handy.
Hi there!
Today I noticed, that the taxonomy selectize field for the attachment taxonomy is not being rendered in the details view inside and ACF Gallery field
Can you reproduce this on your end?
I don’t have the time to further look into this issue at the moment, but maybe you know an easy quick fix that could be part of the next release?
]]>I am running into an issue where I am adding a custom field to the attachment post type ( media) using ACF Pro and it is preventing the end user to select multiple taxonomy terms via the modal popup ( route wp/wp-admin/upload.php
) in one shot.
End user can only select one at a time where they must close the modal and reopen to add another taxonomy term.
The issue appears to be with the dropdown, where once a term is selected, the selectize-dropdown multi
element that contains the list of available terms is not regenerated with the updated terms, hence breaks the select box UX
It also breaks when you delete a selected term by clicking X
I created a clean install of wordpress using WP-CLI on my development environment and installed the latest version of ACF Pro and this plugin.
To replicate on a clean install:
Forms -> Attachment
is equal to All
Not sure if this is an issue with this plugin or ACF
]]>Hi there! Love this plugin, great work! One thing I noticed while playing around with it: When assigning attachments to terms, the term_count
for those terms doesn’t update. This is due to attachments having the “inherit” post_status, and WordPress only respecting posts with post_status “publish” when counting posts in terms (more information here at update_count_callback
). The following snippet solves this for me, maybe you could consider putting it in your plugin?
/**
* Adds post_status 'inherit' to the term_count post statuses
*
* @param array $statuses the statuses (usually contains only 'publish')
* @param \WP_Taxonomy the taxonomy WordPress is counting posts for
*/
add_filter('update_post_term_count_statuses', function($statuses, $taxonomy) {
if( in_array('attachment', $taxonomy->object_type) ) {
$statuses[] = 'inherit';
}
return $statuses;
}, 10, 2);
I wrote the filter using an anonymous function for brevity, but you should get the idea. Hope it’s helpful.
]]>Hello,
I am trialling your plugin.
What plugin do you recommend for displaying grids of media files?
Minimum requirements to display
* in mosaic grids
* lightbox popup display of the image when clicked,
* text excerpt/custom field overlay
* pagination control
* Isotope controls would be good also.
Hi,
Since this week I have a issue with the autocomplete when focusing the custom taxonomy text input in the advanced custom fields media modal
The autocomplete dropdown only appears the first time, then after selecting a taxonomy item and closing it, it doesn’t show up anymore, even after closing and reopening the modal
There are no javascript errors in the console
Kind regards,
Eugenio
]]>Very neat plugin. Just one feature request, please:
option to bulk edit (toggle taxonomies) not only in gallery list view mode, but also in the grid view mode.
Hello!
The page to edit the categories of a custom taxonomy lists all items of that taxonomy. Each entry provides four links to edit, quick edit, delete or view it. When I click on the view link, the public archive.php file is called, but the page remains empty.
Is there any way to list all images of that specific category here?
I’m aware that this is probably beyond the purpose of your plug-in, but maybe you can give a hint, what to look for in my (child) theme. As far as I know, attachments are stored as post objects, so it should be possible to list them on an archive page, right?
Kind regards,
Actron
Hello!
There are two different views in the media library: List view and tile view, which can be selected in the upper left corner of the screen. In each view the user can click any image to open a more detailed interface.
Now, when F4 Media Taxonomies is installed, there are two different user controls for category selection. One of the views uses a set of checkboxes, whereas the other view has a text field instead with auto-completion for existing categories.
Why are there two different ways of displaying the same information? In terms of usability, I would appreciate the same type of user control in both places. The checkbox solution seems more natural to me, since this group of checkboxes is used for the default categories of posts as well.
Kind regards,
Actron
Ich m?chte gerne meine Attachments wie Beitr?ge in einem Archiv behandelt wissen, selektiert über Inhalte der Dateikategorie oder attachment kategorie, gerne auch als Anzeige über eine Kategoriefunktion aus dem Menü. Wie hilft mir F4 Media Taxonomies dabei?
Danke sch?n.
]]>Bulk assign media tags to attachment not work.
Into media library I select few images (or one).
From bulg operations menu I choose menu tag.
Page has reload.
But the media tag is not assigned.
The media taxonomy filter doesn’t seem to appear in the file upload dialog for a custom field (CMB2) for a certain post type. It’s a non-public post type which doesn’t have the ‘Featured image’ metabox (‘thumbnail’ absent from ‘supports’ array when registering post type). I tried adding support for ‘thumbnail’ to see if the filter was in that dialog, and it was. It was also now in the custom field dialog.
I assumed there’s a check in the plugin but I can’t find ‘post_type_supports’ or ‘thumbnail’ in there. Is there another check I’m missing or is this something in core which F4 is interacting with?
Can you see a way to make the taxonomy filter appear on file upload custom fields even when the post type doesn’t support the core ‘thumbnail’?
]]>The filter in the Media Library doesn’t seem to work. On grid view, selecting a term seems to refresh the view, but it’s not filtered. (Same in modal for ‘Add Media’ on posts.) On list view, the filter appears to the right of the ‘Filter’ button (you need to press the button, unlike grid view), but when you select a term and press ‘Filter’, the view reloads with no filtering (the drop-down loses the selection too).
]]>In WordPress 5.3 some new select box styles have been introduced that seem to conflict with the F4 media taxonomies plugin.
This is how the media modal filters are supposed to look:
And this is what it looks like after activating the F4 Media Taxonomies plugin:
I guess this affects
This is the CSS that seems to be the culprit:
.media-frame select.attachment-filters:last-of-type {
margin-right: 0;
width: auto;
max-width: 100%;
}
Changing it to this seems to fix it:
.media-frame select.attachment-filters:last-of-type {
margin-right: 0;
width: auto;
max-width: inherit;
}
I have switched to your plugin from the Enhanced Media Library PRO because that plugin has major issues with WP 5.3 and seems to be abandoned.
Fixing this issue would make it a perfect replacement!
Many thanks,
Johan
]]>Can this be made to add a filter/restriction for mime types to the modal selection box?
]]>I am getting a JS error when using Elementor and trying to insert an image.
f4MediaTaxonomySelectize is not defined
https://staging.lifepointnv.com/wp-admin/post.php?post=6&action=elementor
Line 2
Hi.
This is nice. However, I could not get the custom taxonomies to show.
add_action('init', function() {
register_taxonomy(
'yourtaxonomyname',
'attachment'
);
});
They just simply do now show in the drop downs. I’ve experimented, looked at the codex and things for about 30 minutes. Am I missing something? I’m wondering if maybe the hook is just firing too late or too early? However, I tried an earlier hook and boom, site down, lol.
]]>Hi,
Your plugin works perfectly as described, however I need many drop down category menus not drop down tag menus. So I tried the following code
——————————————————————
add_action(‘init’, function() {
register_taxonomy_for_object_type(‘category’, ‘attachment’);
});
add_action(‘init’, function() {
register_taxonomy_for_object_type(‘media-category’, ‘attachment’);
});
———————————————————————–
Result: only one drop down category menu. Then I tried different ways but I could only add many drop down tag menus and always only one drop down category menu.
So how can I add an additional category menu ?
The advantage of a category menu is that it shows a list of selectable categories when I edit an image and the tag field does not show anything, that is why I want an additional category menu.
Thanks
]]>Hi, Have been looking for a good plugin that can give me categories and tags to images files.
This plugin looks really good, only need it to not show regular post categories and post tags for attachments, but custom categories and tags for image files. How can I do this?
TNx Per Hopen