button works for image and map!