like and unlike images and count likes on each image