adding selector type to gallery