Random-field effects in d = 2 and d = 3 ising systems