Topic: disable play button when there is only 1 image

I have several galleries and some of them only have 1 image.  Is there any way I can disable the arrow buttons when there is only 1 image? I still want the arrows to come up when there is more that one image.