Fixed up some of the dynamic image stuff.