
It's not currently possible to get the details of a planet from a distance like a light year or more. Furthermore the projects mentioned below do not aim to get good images of the surface, but only to detect exoplanets, and do basic measurements. The reason is that getting detailed pictures of the surface is beyond current technology capability and research.
Hubble, the space telescope, has a better performance than any equivalent on the ground, due to the absence of atmospheric perturbations. An interferometer in space would benefit as well from this air-free environment. This led to several concepts:

Source: Agence Science-Presse.
- Darwin canceled in 2007
- Space Interferometry Mission (SIM), canceled in 2010.
- Terrestrial Planet Finder (TPF), canceled in 2011.
- Labeyrie's Hypertelescope, not funded.
Darwin article on Wikipedia summarizes the technological difficulty:
To produce an image, the telescopes would have
had to operate in formation with distances between the telescopes
controlled to within a few micrometres, and the distance between the
telescopes and receiver controlled to within about one nanometre.
Several more detailed studies would have been needed to determine
whether technology capable of such precision is actually feasible.
Objects with a small apparent size are better observed using astronomical interferometry, but the current technology allows to get only a rough image of a few large and ultra-bright objects.
- Example of resolved object: ε Aurigae, a supergiant star with a strange orbiting dark disk. Instrument: MIRC interferometer on the CHARA array (Mount Wilson):

(source: NSF)
Earth-like planet at a distance of one light year has an apparent size similar to ε Aurigae, but the faintness of exoplanets currently prevent to see details on their surface: Increasing the exposure allows to overcome the low light conditions but blurs the image due to the apparent motion.
The alternative to send probes and take photos is not currently possible either, Voyager 1 and 2, launched in 1977 are just at the border of our own Solar system, 10,000 th of the distance to travel to nearest exoplanet.

Most of the thousand of exoplanets already discovered have been detected using indirect methods, like the brightness dip of the central star during the transit of the orbiting planet. The question refers to an exceptional case, a direct observation of a massive planet in the IR spectrum.
There are two determining elements when observing an object:
- The object's apparent size, or angular size.
- The object's apparent brightness
Apparent size
In this image, the three objects have the same angular size, and will be seen similarly:

According to this formula:
θ = 2 • arctan (½ • d / D)
the angular size of a planet with the diameter d of the Earth, at a
distance D of 1 l.y., is 0.3 milliarcsecond (mas)
To see this planet as one pixel, the worst possible level of detail, the telescope needs to resolve 0.3 mas.
Angular resolution using a single telescope
According to Rayleigh's limit, the angular size θ a telescope with a diameter d mirror can resolve at λ wavelength is:
θ° = 70 * (λ / d)
To resolve 0.3 mas in the middle of the visible spectrum, the
telescope mirror must have a diameter of 500 m.
The result would be like this:

Source. The pale blue dot on this image is actually the Earth seen from Voyager 1, "only" 5 light-hours away, with an imager associated to a 18 cm diameter mirror. But the result would be the same with a 500 m telescope located at a distance of 1 l.y.
If the telescope had a diameter of 2 km, then the number of pixels for the planet would still only be 4x4. This means scientists are far from being able to build a telescope to show the details of a planet at a few light years. Also this one light year distance is purely for discussion, since the closest star is already distant of 4.2 l.y.
Angular resolution using synthesis aperture and interferometry
If two 1 m diameter instruments are moved away by 10 m, and their images are combined so that they can interfere, the resulting resolution power will be the one of a 10 m instrument. The distance between the instruments is named the baseline. As regard to resolution power, the system behaves like a single instrument the size of the baseline.
The first interferometer was used for astronomical purposes in 1920.
Interferences are created by phase difference between the images, and the precision required for the baseline value is a fraction of a wavelength. Long baselines are easier to build for radio-telescopes than for optical telescopes. Optical interferometry was not actually effective since recently.
Compare the size of VLA (radio-telescope) and VLTI (optical telescope):

On one the best resolution in optical astronomy is obtained with the MIRC interferometer on the CHARA array at Mount Wilson Observatory.
See image of ε Aurigae in the short answer section, and more on astronomical interferometry.
Interferometry in space
Hubble, the space telescope, has a better performance than any equivalent on the ground, due to the absence of atmospheric perturbations. An interferometer in space would benefit as well from this air-free environment. ESA studied Darwin project in the perspective of exoplanet search:

Source: Agence Science-Presse.
But the project has been stopped in 2007. From Wikipedia.
To produce an image, the telescopes would have
had to operate in formation with distances between the telescopes
controlled to within a few micrometres, and the distance between the
telescopes and receiver controlled to within about one nanometre.
Several more detailed studies would have been needed to determine
whether technology capable of such precision is actually feasible.
Similar projects:
- Terrestrial Planet Finder (TPF), canceled in 2011.
- Space Interferometry Mission (SIM), canceled in 2010.
- Labeyrie's hypertelescope, not funded.
Apparent brightness
A planet does not create light, it only reflects the light from its sun, at some degree.
The quantity of light reflected by the planet is proportional to the luminosity of its sun, its albedo (reflectivity) and its radius.

Source
As visible on the pictures above, the orbit inclination and the phase also determine the quantity of light reflected.
Actually the brightness of an exoplanet is only thousandths of its sun, and well below the level of sensibility of the best sensors. Only very long exposure times can detect the faint light beam after accumulation, but the details are blurred due to the relative motion of the planet.
Only the brightest stars send enough photons to have some details visible. Details of an exoplanet with the same angular size cannot be seen.
While the resolution power is improvement by interferometry techniques, this improvement doesn't apply to the quantity of photons collected. The actual aperture of the individual telescopes is the only one which determine the quantity of light collected.
The difficulty for direct imaging of exoplanets also includes the high contrast between the star and the planet. To improve detection, some telescopes use a coronagraph which hides the star to the imager.