Subdiffraction-limited imaging based on longitudinal modes in a spatially dispersive slab