A new file called blabla-500x-blur30-bw.jpg is generated when I use the code below. but the image is still the original. not resized, no blur, no grayscale
if ($page->cover()->toFile()):
// rest of code
endif;
Background: If the field is not empty but the file doesn’t exist despite the field still having a value, your code will fail. On the other hand, if the field is empty, the toFile() method will return null, so you don’t need two if-clauses.
The reason why your original code did not work is because you cannot modify a thumb again but have to do all changes in one using the thumb() method like you finally did.