I would DRY this up a bit and calculate the width before calling `ImageRow.new` within the if statement.