Open meschenbaum opened 2 years ago
Setting Media Permissions, beyond the default Administrator permissions, for the following:
Add "view media" permissions for Anonymous and Authenticated Roles.
ISSUE: WebP is considered a missing module, probably because it is still in Beta and does not have an official release yet. There for the only way to install is through Composer. Going to try to add it to upstream configuration to make it available but not enabled.
Was able to add WebP to composer in order to make it available to be installed.
All four modules(Media, Media Library, WebP, Responsive Images) are able to be enabled with defaults and proper permissions.
NOTE: The Responsive Images setup requires Theme knowledge as you need to know breakpoints and what field displays you want to set to use Responsive Images. We should talk how we want this to post-setup to work: Part of Theme install or documentation for endusers.
Steps for testing basic Media functionality:
Steps for testing basic Media Library functionality:
Steps for testing basic Responsive Images functionality:
Steps for testing basic WebP functionality:
For testing the display side of Responsive Images and WebP you will further configurations. You need to add the Media Toolbar Button and enable Embed Media filter to the Drupal Text formats and editors.
Additional Configuration:
Once configuration is complete, to test:
Without CU Layout Paragraphs:
<picture>
element with many different source elements, with a WebP extension, tied to image styles within breakpoints.With CU Layout Paragraphs:
<picture>
element with many different source elements, with a WebP extension, tied to image styles within breakpoints.
Is your feature request related to a problem? Please describe. Need to provide Media and Media Library support to base CU sites.
Describe the solution you'd like The following modules should be part of the CU Media Bundle:
Advanced modules that could be part of the base.
Additional modules that may enable editors to crop images during upload. However, this would need more work as there are restrictions with using with Responsive Images or by themselves in Drupal 9. This could be setup along with Responsive Images but would need to be set with it's own image styles, which would need its own field for form/display settings.