1.0.x Emedia Library

Created on 3 July 2025, 10 days ago

The eMedia Library module seamlessly integrates a Drupal site with the powerful eMedia Library Digital Asset Management (DAM) system, enabling effortless access to digital media within your CMS. With direct support for CKEditor 5, the module allows content creators to insert media assets directly into their content, add media through custom fields, and embed individual assets with customizable sizing. It also supports the creation of flexible, visually appealing galleries using grouped assets from the DAM, enhancing the overall presentation of media-rich content.

This integration significantly streamlines editorial workflows by bringing DAM-hosted content into the Drupal interface. Editors gain quick access to curated media libraries, reducing the need for manual file management and improving content consistency. The module offers enhanced control over how media is displayed, giving teams the flexibility to tailor asset presentation to meet their site’s branding and layout needs, all while maintaining a centralized media source.

Fully open source and highly adaptable, the eMedia Library module is designed to meet a wide range of content and asset management workflows. It taps into the robust features of the eMedia Library DAM—formerly EnterMediaDB—including asset categorization, metadata management, basic image editing, and AI-powered tools for generating content and media. This makes it a comprehensive solution for teams aiming to boost productivity, maintain media quality, and deliver dynamic, engaging content experiences.

📌 Task
Status

Needs review

Component

module

Created by

🇺🇸United States emedialibrary

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

  • Issue created by @emedialibrary
  • 🇮🇹Italy apaderno Brescia, 🇮🇹

    Thank you for applying!

    Please read Review process for security advisory coverage: What to expect for more details and Security advisory coverage application checklist to understand what reviewers look for. Tips for ensuring a smooth review gives some hints for a smoother review.

    The important notes are the following.

    • If you have not done it yet, enable GitLab CI for the project, and fix what reported from the phpcs job. This help to fix most of what reviewers would report.
    • For the time this application is open, only your commits are allowed. No other people, including other maintainers/co-maintainers can make commits.
    • The purpose of this application is giving you a new drupal.org role that allows you to opt projects into security advisory coverage, either projects you already created, or projects you will create. The project status won't be changed by this application.
    • Nobody else will get the permission to opt projects into security advisory policy. If there are other maintainers/co-maintainers who will to get that permission, they need to apply with a different module.
    • We only accept an application per user. If you change your mind about the project to use for this application, or it is necessary to use a different project for the application, please update the issue summary with the link to the correct project and the issue title with the project name and the branch to review.

    To the reviewers

    Please read How to review security advisory coverage applications , Application workflow , What to cover in an application review , and Tools to use for reviews .

    The important notes are the following.

    • It is preferable to wait for a Code Review Administrator before commenting on newly created applications. Code Review Administrators will do some preliminary checks that are necessary before any change on the project files is suggested.
    • Reviewers should show the output of a CLI tool only once per application. The configuration used for these tools needs to be the same configuration used by GitLab CI, stored in the GitLab Templates repository.
    • It may be best to have the applicant fix things before further review.

    For new reviewers, I would also suggest to first read In which way the issue queue for coverage applications is different from other project queues .

  • 🇮🇳India vishal.kadam Mumbai

    1. 1.0.0 is a wrong name for a branch. Release branch names always end with the literal .x as described in Release branches .

    2. FILE: README.txt

    The README file is missing the required sections - Requirements, Installation, and Configuration.

    3. FILE: emedia_library.info.yml

    core_version_requirement: ^9 || ^10

    A new project should not declare itself compatible with a Drupal release that is no longer supported. No site should be using Drupal 8 nor Drupal 9, and people should not be encouraged to use those Drupal releases.

    4. FILE: src/Plugin/Field/FieldType/EmediaLibraryFieldImage.php

    /*
        $ch = curl_init();
        curl_setopt($ch, CURLOPT_URL, $mediadbUrl);
        curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
        curl_setopt($ch, CURLOPT_TIMEOUT_MS, 3000);
        curl_setopt($ch, CURLOPT_HTTPHEADER, [
          'Content-Type: application/json',
          'X-tokentype: entermedia', 
          'X-token: ' . $entermediaKey, 
        ]);
    
        curl_setopt($ch, CURLOPT_POST, true);
        curl_setopt($ch, CURLOPT_POSTFIELDS, json_encode($query));
    
        $response = curl_exec($ch);
        $httpcode = curl_getinfo($ch, CURLINFO_HTTP_CODE);
        curl_close($ch);
    */

    FILE: src/Plugin/Field/FieldWidget/EmediaLibraryWidget.php

              //$body = $response->getBody()->getContents();
              //$jsonresponse = json_decode($body, TRUE);

    FILE: src/Plugin/Field/FieldWidget/EmediaLibraryWidgetEntity.php

              //$body = $response->getBody()->getContents();
              //$jsonresponse = json_decode($body, TRUE);

    Remove the commented code.

Production build 0.71.5 2024