Should this module be marked as Obsolete?

Created on 22 August 2022, about 2 years ago
Updated 8 August 2023, over 1 year ago

Problem/Motivation

I ported this module a few years ago because it was needed in one of my projects but nowadays it feels like there are better ways to manage the images in the WYSIWYG editor.

A better way to manage the images (in my opinion) is with the combo Media β†’ + responsive image styles β†’ .

But before to mark it as Obsolete I would like to know if there are some uses cases where this module could be useful, so any feedback is welcome :-).

Proposed resolution

Decide if the D8 version of this module should be marked as obsolete (I bet there are better ways to manage the images in D7 as well, maybe the module should be marked obsolete altogether.)

Remaining tasks

Write a guide about how to replace the module with the Media module + Responsive Image Styles to provide a way to replace this module.

πŸ“Œ Task
Status

Active

Version

1.0

Component

Miscellaneous

Created by

πŸ‡²πŸ‡½Mexico gnuget Puebla

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

    David, Thank you for starting this conversation.
    Using the module in many number of projects.

    • Using the Image Resize Filter only for migrated images from other systems, or from a very old D sites.
    • Managing CKEditor with media embed after Drupal 8/9 and now 10 .. not allowing to upload image files directly into the Text Format with CKEditor 4

    At this time the module is having issues with CKEditor 5 default image placement system. in both Drupal ~9.0 and ~10.0.

    The issue is with the width value of percentage width or physical pixel width.

    Example test case with Drupal 10 and CKEditor 5

    <p>
        Image resized 1
    </p>
    <p>
        <img src="/sandboxes/drupal10image_resize_filter_1__test/web/sites/default/files/inline-images/coworking-2.jpg" data-entity-uuid="594b1d41-a2eb-4b59-bcde-62f1674bcbf7" data-entity-type="file" alt="Test caption" width="38.34%" height="198">
    </p>
    <p>
        Image resized 2
    </p>
    <p>
        <img src="/sandboxes/drupal10image_resize_filter_1__test/web/sites/default/files/inline-images/coworking-2.jpg" data-entity-uuid="594b1d41-a2eb-4b59-bcde-62f1674bcbf7" data-entity-type="file" alt="Test caption" width="59.62%" height="330">
    </p>
    <p>
        Image resized original size
    </p>
    <p>
        <img src="/sandboxes/drupal10image_resize_filter_1__test/web/sites/default/files/inline-images/coworking-3.jpg" data-entity-uuid="dbb9034e-2b53-463f-9583-feba012f5ece" data-entity-type="file" alt="">
    </p>
    

    In CKEditor 5 - Edit

    After Saving with a text format which uses CKEditor 5

    My opinion on this module will be best used for CKEditor 4 only not with CKEditor 5

  • πŸ‡―πŸ‡΄Jordan Rajab Natshah Jordan

    Had Real physical testing round for Image Resize Filter 1.0.x-dev with Drupal ~10 and Drupal ~9
    With CKEditor 4 and CKEditor 5
    at πŸ“Œ Automated Drupal 10 compatibility fixes Fixed

  • πŸ‡ΊπŸ‡ΈUnited States robbt

    I'm interested in determining the best way to replace this module with Media + responsive image styles. Relying upon inline images even after migrating from Drupal 7. I can't seem to find an easy way to convert existing inline images to media images. This module File to Media β†’ provides a way to create media items from existing files but it doesn't in-turn replace the existing files with media tokens.

    The media migration module β†’ appears to be able to do this based upon this issue β†’ . But I'm not sure how one would go about using a migration module like this for a site that has already been migrated to Drupal 9/10. Perhaps that is the best approach.

    The way that makes the most sense to me would be to do the conversion inside of CKEditor 4/5 where you could edit a text area such as the Body field containing inline images and select the images and click "convert to media" and it would convert them into media. Going in and editing the HTML or attempting to delete the image and then insert it again as a media would be somewhat painful for large sites but it is the only apparent solution I've found while searching for a solution for existing sites.

Production build 0.71.5 2024