I need to change the file extension on beforeStore to lowercase since the SEBLOD standard upload image field cannot do that. The field in question is an image upload in a fieldX so there are multiple files to rename. I guess the code would look something like this in some sort of loop:
$fields['image_upload_?']->value = strtolower($fields['image_upload_?']->value);
Does anyone know how to do that?