sunlightlabs / opencongress

An open website for opening Congress.
http://www.opencongress.org
GNU General Public License v3.0
48 stars 16 forks source link

New source for MoC images #352

Open konklone opened 10 years ago

konklone commented 10 years ago

We're about to make a reliable source of hotlink-able images of MoCs at https://github.com/unitedstates/images.

When https://github.com/unitedstates/images/issues/1 is closed, it'll be ready for use at:

http://theunitedstates.io/images/congress/[size]/[bioguide].jpg

I think the current system rsyncs from GovTrack? I don't have personal experience with GovTrack's photo set, but I expect this new source to stay up to date more easily.

drinks commented 10 years ago

This is wonderful. Historic photos too?

— Dan Drinkard

On Thu, Feb 13, 2014 at 8:00 PM, Eric Mill notifications@github.com wrote:

We're about to make a reliable source of hotlink-able images of MoCs at https://github.com/unitedstates/images. When https://github.com/unitedstates/images/issues/1 is closed, it'll be ready for use at:

http://theunitedstates.io/images/congress/[size]/[bioguide].jpg

I think the current system rsyncs from GovTrack? I don't have personal experience with GovTrack's photo set, but I expect this new source to stay up to date more easily.

Reply to this email directly or view it on GitHub: https://github.com/sunlightlabs/opencongress/issues/352

konklone commented 10 years ago

We can easily go back to whatever the GPO Member Guide covers (the 110th, 2007 onwards). Is this okay for OpenCongress?

drinks commented 10 years ago

We've got coverage back to the 109th, but can work out a way to hang on to old ones (if we actually have them to begin with)

konklone commented 10 years ago

These are now finalized and live, example URLs:

http://theunitedstates.io/images/congress/450x550/L000551.jpg http://theunitedstates.io/images/congress/225x275/L000551.jpg http://theunitedstates.io/images/congress/original/L000551.jpg

You can also download them as a zip file via Github's auto-zipping of repos, but hotlinking is via Github's CDN and should be just fine.

konklone commented 10 years ago

Actually, just checked it out, and that auto-zip is huge (300+MB), so hotlinking, or cloning with regular pulls to update, are probably the best ways to go here. We're hotlinking in our iOS and Android apps.