hide button when no image