Limit the images number