Programming Phoenix LiveView v1.1 (Page 169)

The paragraph below the code says:
“The only difference in this implementation and the previous is the call to
params_with_image.”

It does not appear that the call to params_with_image gets called before the next paragraph which describes the save when :new.