- Issue created by @Natkeeran
If for any reason thumbnails does not get created, and this module is enabled, regenerating thumbnail deletes the source file. It is because, if thumbnail is not found, it returns the source file here:
https://git.drupalcode.org/project/media_thumbnails/-/blob/8.x-1.x/src/P...
This is risky because it deletes the source file.
* have a media without a thumbnail
* regenerate the thumbnails
* Perhaps check if field_name is thumbnail, if so, return null if not found.
Active
2.0
Code