Support » Plugin: Elementor Page Builder » Elementor and Enhanced Media Library

  • Hello,

    The Media Category filter option don’t appears when I insert an image with the Image widget or the Text editor widget in the Elementor Page builder plugin.
    It works when I edit a page or a post without Elementor.

    This is a big problem that makes Enhance Media Library unusable…

    Please, can you see if you can do something for it to work? 🙂
    Thank you.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author ArielK


    Can you explain what you mean exactly?

    I do not remember filtering by category within the media.

    I was talking about the Enhanced Media Library plugin that should allow the user to filter media by category for better organization.

    I am in contact with the developer who has found out where the problem came from and how to fix it.
    So I put this subject in solved.

    & thank you for this excellent page builder!

    Hello again,
    I re-open this topics because I haved a response from the developer of the plugin.
    It appears that it is not related to Enhanced Media Library but to Elementor.

    I quote him:

    To fix it you have to add the following code to your theme functions.php:

    if ( class_exists( 'eml' ) ) {
        add_action( 'elementor/frontend/after_register_scripts', array( eml(), 'register_media_assets' ) );

    Elementor registers its frontend scripts too late, so it is unable to detect Enhanced Media Library’s scripts on time.

    We will not add the fix to our code because it is not a bug on our side, just a special trait of the other plugin.

    Could you please see what might be possible for the good cohabitation of the two plugins?
    Thank you.

    I am experiencing this exact same issue with the Elementor and Enhanced Media Library plugins. When attempting to choose an image for a page section, the latest version of Elementor (1.6.x at the time of this writing) partially displays the media category drop downs generated by Enhanced Media Library. However, these drop downs are hidden behind the images listed in the Insert Media dialog. Also, switching to the Upload Files tab and back to the Media Library tab results in the media category drop downs completely disappearing and being replaced with the “Search media items…” text input element.

    This is definitely a bug and has existed for quite some time. Previous versions of Elementor didn’t show the media category drop downs at all. Some websites will have thousands of images to sift through. I trust the developers of Elementor will take some time to look at fixing this problem and perhaps work with the related plugin developers to ensure it is resolved properly.

    Any updates to this? I’m not a coder so I do not feel comfortable fiddling with the .php files. Thank you

    Plugin Support Gabriel


    The code of Enhanced Media Library has been changed so use the following code instead of the one given previously:

    add_action( 'elementor/editor/before_enqueue_scripts',  function(){
    			global $wpuxss_eml_version,
            $media_library_mode = get_user_option( 'media_library_mode', get_current_user_id() ) ? get_user_option( 'media_library_mode', get_current_user_id() ) : 'grid';
            // admin styles
                $wpuxss_eml_dir . 'css/eml-admin.css',
            wp_style_add_data( 'wpuxss-eml-admin-custom-style', 'rtl', 'replace' );
            wp_enqueue_style ( 'wp-jquery-ui-dialog' );
            // admin scripts
                $wpuxss_eml_dir . 'js/eml-admin.js',
                array( 'jquery', 'jquery-ui-dialog' ),
Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Elementor and Enhanced Media Library’ is closed to new replies.