From 042a36cdee91ed1f5d83940eb0973185fd38feed Mon Sep 17 00:00:00 2001 From: Raphael Eidus Date: Thu, 25 May 2017 15:17:33 -0400 Subject: [PATCH] fix senator image url --- src/js/jquery.findyourrep.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/jquery.findyourrep.js b/src/js/jquery.findyourrep.js index 45ce930..9dabff8 100644 --- a/src/js/jquery.findyourrep.js +++ b/src/js/jquery.findyourrep.js @@ -144,7 +144,7 @@ window.FYR.bootstrap = function($, window, undefined){ return { name: rep['title'] + ' ' + rep.first_name + ' ' + rep.last_name, details: transforms[rep.party] + ', ' + transforms[rep.chamber], - photoUrl: 'https://d26u557eiepppx.cloudfront.net/images/congress/225x275/' + rep.bioguide_id + '.jpg', + photoUrl: 'http://bioguide.congress.gov/bioguide/photo/'+rep.bioguide_id[0]+'/' + rep.bioguide_id + '.jpg', resultUrl: 'http://opencongress.org/people/show/' + rep.govtrack_id }; } else if (api == "openstates") {