How can I adjust the space between the thumbnails

Ignite gallery makes all margins and paddings in percentages so the gallery will be responsive. This makes it harder to override values with css. To change the margin/padding around the thumbnails, please edit the file components/com_igallery/helpers/utility.php. Please read the comments in the file to see which value needs changing.