Dynamic choice of article size based on which image existed