QUOTE(AddisonStSox @ Oct 17, 2005 -> 11:21 AM)
2) Does anyone know how to save the images posted on Whitesox.com? I have gathered all the photos from Chicagosports.com, cbssportsline.com, and yahoosports, but the Flash White Sox photo gallery has some awesome shots. Anyone know how to scam on those?
1. Find the gallery you want. ex: http://chicago.whitesox.mlb.com/mlb/photog.../cf1252621.html
2. In your browser find the option in the menu bar to "View Source" or "Page Source" (often is Command-U)
3. In that mess of code serach for "flashvars" You will find this a line like this:
document.write('<param name="flashvars" value="xmlFilePath=/mlb/photogallery/post_season/year_2005/month_10/day_17/cf1252621.xml"/>');
You are interested in the part that is the "xmlFilePath"
4. Point your web broswer at http://mlb.com/mlb/photogallery/post_seaso...7/cf1252621.xml
The XML file is basicly a text file that tells the Flash Gallery application where the photos are located and what the captions are.
5. So when we load the XML file we find:
<gallery galleryID="ws2005" date="Oct. 16, 2005" title="Chicago White Sox celebrate" dropdownURL="http://www.mlb.com/photogallery/year_2005/mlb_dropdown.xml">
−
<photo id="1252598" thumburl="/images/2005/10/17/4Hdkf**D.jpg" url="/images/2005/10/17/OTEfZMDv.jpg" width="462" height="462" source="Andrew T. Malana/MLB.com" order="" sell="" gameID="">
White Sox first baseman Paul Konerko (top) hugs winning pitcher Jose Contreras as the White Sox defeat the Angels, 6-3, to win the ALCS and advance to the World Series.
</photo>
−
<photo id="1252600" thumburl="/images/2005/10/17/7xfSI989.jpg" url="/images/2005/10/17/Y7GLF8vp.jpg" width="682" height="382" source="Andrew T. Malana/MLB.com" order="" sell="" gameID="">
The White Sox beat the Angels to win the ALCS, 4-1, and advance to the World Series.
</photo>
−
<photo id="1252669" thumburl="/images/2005/10/17/2mevyo9U.jpg" url="/images/2005/10/17/EZOLtXrv.jpg" width="355" height="462" source="Jed Jacobsohn/Getty Images" order="" sell="" gameID="">
The White Sox gather on the field in celebration as they win the American League pennant.
</photo>
<photo id="1252671" thumburl="/images/2005/10/17/sqVo5EsH.jpg" url="/images/2005/10/17/kCv3KnDa.jpg" width="355" height="462" source="Andrew T. Malana/MLB.com" order="" sell="" gameID="">White Sox GM Kenny Williams hugs Scott Podsednik.</photo>
−
<photo id="1252673" thumburl="/images/2005/10/17/PhEed7Xy.jpg" url="/images/2005/10/17/5v4rYRIX.jpg" width="682" height="382" source="Andrew T. Malana/MLB.com" order="" sell="" gameID="">
White Sox manager Ozzie Guillen speaks to the media.
</photo>
−
<photo id="1252698" thumburl="/images/2005/10/17/YYivxBvL.jpg" url="/images/2005/10/17/pHRqaJ4Q.jpg" width="682" height="382" source="Ben Platt/MLB.com" order="" sell="" gameID="">
The White Sox pitching staff celebrates with the American League championship trophy.
</photo>
<photo id="1252677" thumburl="/images/2005/10/17/Q27E6AHL.jpg" url="/images/2005/10/17/9scj2w4r.jpg" width="682" height="382" source="Jed Jacobsohn/Getty Images" order="" sell="" gameID="">Tadahito Iguchi celebrates.</photo>
<photo id="1252679" thumburl="/images/2005/10/17/r9APsZLE.jpg" url="/images/2005/10/17/XkchUVkp.jpg" width="355" height="462" source="Stephen Dunn/Getty Images" order="" sell="" gameID="">Jermaine Dye celebrates.</photo>
−
<photo id="1252681" thumburl="/images/2005/10/17/8YxGej8t.jpg" url="/images/2005/10/17/hoWPDlYJ.jpg" width="682" height="382" source="Jed Jacobsohn/Getty Images" order="" sell="" gameID="">
Manager Ozzie Guillen embraces catcher A.J. Pierzynski.
</photo>
−
<photo id="1252683" thumburl="/images/2005/10/17/kP6gt7cT.jpg" url="/images/2005/10/17/u3WPApKK.jpg" width="355" height="462" source="Ben Platt/MLB.com" order="" sell="" gameID="">
Guillen and chairman Jerry Reinsdorf with the AL championship trophy.
</photo>
−
<photo id="1252685" thumburl="/images/2005/10/17/jExKDFUC.jpg" url="/images/2005/10/17/Z3PphQWQ.jpg" width="682" height="382" source="Jed Jacobsohn/Getty Images" order="" sell="" gameID="">
The White Sox celebrate in the locker room with the American League championship trophy.
</photo>
<photo id="1252687" thumburl="/images/2005/10/17/dSoltCVo.jpg" url="/images/2005/10/17/JJFjkWf3.jpg" width="682" height="382" source="Jed Jacobsohn/Getty Images" order="" sell="" gameID="">A.J. Pierzynski celebrates in the locker room.</photo>
</gallery>
So we take the first photo:
<photo id="1252598" thumburl="/images/2005/10/17/4Hdkf**D.jpg" url="/images/2005/10/17/OTEfZMDv.jpg" width="462" height="462" source="Andrew T. Malana/MLB.com" order="" sell="" gameID="">
White Sox first baseman Paul Konerko (top) hugs winning pitcher Jose Contreras as the White Sox defeat the Angels, 6-3, to win the ALCS and advance to the World Series.
</photo>
And you can see all of the information:
The Photo is located at: http://mlb.com/images/2005/10/17/OTEfZMDv.jpg
The Photographer is: Andrew T. Malana/MLB.com
The Caption is: "White Sox first baseman Paul Konerko (top) hugs winning pitcher Jose Contreras as the White Sox defeat the Angels, 6-3, to win the ALCS and advance to the World Series."
And that is it.
You can do this with every one of the gallerys that MLB.com puts up. Just look for the "flashvars" XML file that tells you where the images are. And always just add "http://mlb.com" to the front of the URLs that are given.