Accurate quantitative metabolic imaging of the brain presents significant challenges due to the complexity and heterogeneity of its structures and compositions with distinct compartmentations of brain tissue types (e.g., gray and white matter). The brain is compartmentalized into various regions based on their unique functions and locations. In vivo magnetic resonance spectroscopy (MRS) techniques allow non-invasive measurements of neurochemicals in either single voxel or multiple voxels, yet the spatial resolution and detection sensitivity of MRS are significantly lower compared with MRI. A fundamentally different approach, namely spectral localization by imaging (SLIM) provides a new framework that overcomes major limitations of conventional MRS techniques. Conventional MRS allows only rectangular voxel shapes that do not conform the shapes of brain structures or lesions, while SLIM allows compartments with arbitrary shapes. However, the restrictive assumption proposed in the original concept of SLIM, i.e., compartmental homogeneity, led to spectral localization errors, which have limited its broad applications. This review focuses on the recent technical frontiers of image-based MRS localization techniques that overcome the limitations of SLIM through the development and implementation of various new strategies, including incorporation of magnetic field inhomogeneity corrections, the use of multiple receiver coils, and prospective optimization of data acquisition.