to fill all the function for imgcapcontroller