adjusts image locations for server