converted images fields to the file input type