added image selection service and template