It worked thanaks I am almost there. When I upload I now get this error.
Error creating thumbnail! Error code: 127
"/usr/bin/X11/mogrify" +profile "*" -size 67x100 -quality 70 -geometry 67x100 -unsharp 10 '/home/admin/wwwroot/emanon-i.com/eiscene/data/500/thumbs/rsz_66.jpg'
I know I would not these errors if I did a frsh install but I have over 600 pictures in this database. i have been using your script for about 3 yearsd.