Added logging and a cache to the dto mapper
Added missing properties to the image dto
Minor change to the template dto fro debugging