We present a method for high-resolution magnetic imaging at linearly polarized partially coherent x-ray sources. The magnetic imaging was realized via Fourier transform holography. In order to achieve elliptical x-ray polarization, three different filters were designed based on the x-ray magnetic circular dichroism effect. We present proof-of-principle images of magnetic nanostructures and discuss the application of the method for future experiments at free-electron laser sources.