Add gallery thumbnail images to gallery footer