Got dynamic image mapping working