You are right; that illustration is not correct. IMO, this is less pretty but more correct.
Pair of homologous chromosomes
-o-o-A-o-o-o-B-o-o-o- = the double helix of DNA in one chromosome. Each o represents a gene.
-o-o-a-o-o-o-b-o-o-o- = the double helix of DNA in the other chromosome. Each o represents a gene.
By the way, alleles have different DNA sequences but the same location in a chromosome. In my pair of chromosomes, A and a are alleles because they have the same location. B and b are also alleles. A and b are not alleles, and neither are a and B. A, a, B, and b are all genes.
Link: http://ghr.nlm.nih.gov/handbook
The link is to the Genetics Home Reference, which can be freely downloaded. The first chapter has material about genes and chromosomes and DNA. It may be helpful. By the way, the Home Reference shows a chromosome as X-shaped because that is the stage that is visible. Each X-shaped chromosome is dividing and will eventually become 2 rod-shaped chromosomes before unwinding into an invisible thread.