Drush command to process existing images

Created on 19 November 2019, over 5 years ago
Updated 9 February 2025, 2 months ago

Hi, I need same functionality as proposed in #2929675, but for 8.x-1x version of this module.
I've created initial drush8 command to process all existing file entities with image/jpeg mimetype.
Drush command provides options to set different batch size / offset / limit , this can become handy for large data sets.bulk

✨ Feature request
Status

Needs work

Version

1.0

Component

Code

Created by

πŸ‡΅πŸ‡±Poland sandboxpl Poland πŸ‡΅πŸ‡±

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

Merge Requests

Comments & Activities

Not all content is available!

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

  • heddn Nicaragua

    For #6, this needs a re-roll and some testing w/ Drush 12 as 10 is no longer supported.

  • Merge request !14D10 patch β†’ (Open) created by mortona2k
  • πŸ‡ΊπŸ‡ΈUnited States mortona2k Seattle

    Applied patch in issue branch and fixed a few things.

    Moved ExifOrientationCommands to src/Drush/Commands, which got the command to register for drush 12.

    Added AccessCheck fixes.

    Changed processBatchStep to static call. I don't know if this was necessary, but it fixed a warning.

    I'm still getting an error:

    TypeError: Drupal\Core\Entity\EntityStorageBase::getEntityClass(): Return value must be of type string, null returned in Drupal\Core\Entity\EntityStorageBase->getEntityClass() (line 115 of /var/www/html/web/core/lib/Drupal/Core/Entity/EntityStorageBase.php).

  • Pipeline finished with Success
    2 months ago
    Total: 200s
    #419338
Production build 0.71.5 2024