preparing form images