Fixed image limit for galleries