Add dynamicImage method to DealController