c38d3ab7815e03cf3d2235832e50c4bff288db12
mspeir
  Mon Mar 19 08:52:33 2018 -0700
Fixing links to PDB images, fixes #21122

diff --git src/hg/hgGene/domains.c src/hg/hgGene/domains.c
index 3ce7cdb..57d7777 100644
--- src/hg/hgGene/domains.c
+++ src/hg/hgGene/domains.c
@@ -171,31 +171,31 @@
         {
 	if (++column > maxColumn)
 	    {
 	    hPrintf("</TR><TR>");
 	    column = 1;
 	    if (rowCount == 0)
 	        {
 		hPrintf("<TD ALIGN=CENTER COLSPAN=4><I>To conserve bandwidth, only the images from the first %d structures are shown.</I>", maxColumn);
 		hPrintf("</TR><TR>");
 		}
 	    ++rowCount;
 	    }
 	hPrintf("<TD>");
 	hPrintf("<A HREF=\"http://www.rcsb.org/pdb/cgi/explore.cgi?pdbId=%s\" TARGET=_blank>", row[0]);
 	if (rowCount < 1)
-	    hPrintf("<IMG SRC=\"http://www.rcsb.org/pdb/images/%s_asym_r_250.jpe\"><BR>", row[0]);
+	    hPrintf("<IMG SRC=\"http://www.rcsb.org/pdb/images/%s_asym_r_250.jpg\"><BR>", row[0]);
         hPrintf("%s</A> - %s ", row[0], row[1]);
         // include links LS-SNP and to launch viewer in PDB chimera
         struct tempName chimerax;
         lsSnpPdbChimeraSnpAnn(conn, row[0], NULL, &chimerax);
         hPrintf(" <A HREF=\"%s\">Chimera</A>", chimerax.forHtml);
         if (lsSnpPdbHasPdb(conn2, row[0]))
             hPrintf(" <A HREF=\"%s\" TARGET=_blank>LS-SNP</A>", lsSnpPdbGetUrlPdbSnp(row[0], NULL));
 	hPrintf("</TD>\n");
 	}
     hPrintf("</TR></TABLE>\n");
     hPrintf("<A href=\"../goldenPath/help/chimera.html\" TARGET=_blank>Chimera help</A>\n");
     hPrintf("<BR><BR>\n");
     slFreeList(&list);
     sqlDisconnect(&conn2);
     }