Fix media urls in form