remove depreacted theme_image()

I have modify the method calling theme_image() so that it doesn't produce the fatal error anymore.  theme_image() is deprecated in 1.7.5.  There also a minor fix so that the plugin should work with 1.7.8