The best time to capture images of the planets is when they are at opposition. This means that the planet is as close to the Earth as it gets.  For Venus and Mercury, the best time to capture them is when they are at the biggest elongation. This is when they appear the furthest away from the sun.