Cut the aubergines into 1½-cm (½-inch) slices. Sprinkle generously with salt and let them sweat in a colander for about an hour.
For the filling, fry the onions in 2tablespoons oil until golden. Add the garlic and stir. When the aroma rises, add the peeled tomatoes with only half their juic