Fixed for when there are 0 images