Issue #3601316: Fix HTTP 500 on image upload when Thumbnail style is missing with minimal install

The 'thumbnail' image style is not guaranteed to exist (e.g. it is not created on Drupal's minimal install profile), so ImageStyle::load() can return NULL. Guard against this and fall back to the original file URI instead of fataling on a null image style.

Closes #3601316

Merge request reports

Loading
Loading