Possible to select media view mode when embedding in WYSIWYG (CKEditor)?

Created on 4 June 2024, 5 months ago
Updated 24 July 2024, 4 months ago

Problem/Motivation

We have a new Bynder integration for a site that already has content types with WYSIWYG (CKEditor) where users can select a media view mode (Embedded, Large, Medium) when adding an image using an embed button. This is the same screen where you can select position (none, left, center, right).

They use this for creating a smaller image and positioning it to the right or left of text content (float right / left).

Is it possible to also select Media View Modes when adding Bynder images? If so, how is that done?

If I edit the source, I can modify the HTML to select a view mode such as `media.large` and it will apply on page view. But, the modal does not present this option. I have configured these view modes to use field formatters with DAT parameters. I've also enabled the option for per-instance overrides as described here: https://opensource.md-systems.ch/en/bynder/transformations-single-file-s....

I also attempted to enable the Bynder formatter as an option, but that only showed the Bynder options under regular image (file upload) embeds and not Bynder embeds.

We are able to use the single option described in the documentation so that editors can select assets from Bynder. In this setup when selecting a file using the Bynder widget, they use the `...` in the top left of a thumbnail to apply a unique transformation. This does work, but requires the editors to memorize appropriate transformations and apply them every time.

I saw there was another open issue about applying pre-defined DAT transformations from the Bynder widget which currently doesn't do anything. https://www.drupal.org/project/bynder/issues/3438004 ✨ Configure Bynder Image to use DAT Preset selected by the user Fixed

Thanks!

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

πŸ’¬ Support request
Status

Closed: cannot reproduce

Version

4.2

Component

Documentation

Created by

πŸ‡ΊπŸ‡ΈUnited States damontgomery

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

Comments & Activities

  • Issue created by @damontgomery
  • Status changed to Closed: cannot reproduce 4 months ago
  • πŸ‡ΊπŸ‡ΈUnited States dpagini

    Believe this was opened for one of my projects. We ultimately discovered that there was hook that was hiding this field. I think this can be closed...

Production build 0.71.5 2024