I got this resolved. It was not a problem with your code, your code works great!!! What I had done is some how managed to set the height and width values (that you had set at 75) to 7. Yet I was calling up the image at 80 in x-cart.
This is what happens when stupid people play with powerful toys!!!
Thanks for all your help and for this great mod. I will be trying out the php script to get all of the images reset in the next couple of days i will let you know how it turns out.
Cameron