adds intervention image handler and migrates images table