Perfect, but I would like it to search my entire structure from / and so forth ... can that be done ?
You can do this from the / if you want but normally something like that would be for renaming a bunch of pics in your images directory. If you want to run this from the root directory, I would not try to move ( mv ) all of those files but use copy ( cp ) instead.
for i in *.jpg *.gif *.img
n=$(( $n + 1 ))
echo cp "$i" "/home/$n$i"