I think that Hubble was able to take the first pictures only when the planets passed over the star of the solar system but James Webb was able to take pictures that had some (some even if just a little oposed to none) detail