nevermind, it works with the add_filter(…)
please make it a regular chewckbox or warning only anyway
this still messes up the srcset values. I would suggest to not tinker with user provided urls. That is really annoying.
Make a warning on the settings page and leave the inputs as is.