Skip to content

Commit c5fb1c6

Browse files
committed
switch images to unitedstates/images source
1 parent 4578139 commit c5fb1c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/com/sunlightlabs/android/congress/utils/LegislatorImage.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
*/
2323

2424
public class LegislatorImage {
25-
public static final String PIC_LARGE = "200x250";
25+
public static final String PIC_LARGE = "450x550";
2626

2727
// 30 day expiration time on cached legislator avatars
2828
public static final long CACHE_IMAGES = (long) 1000 * 60 * 60 * 24 * 30;
@@ -57,7 +57,7 @@ public static boolean tooOld(File file) {
5757
}
5858

5959
public static String picUrl(String size, String bioguideId) {
60-
return "http://assets.sunlightfoundation.com/moc/" + size + "/" + bioguideId + ".jpg";
60+
return "http://theunitedstates.io/images/congress/" + size + "/" + bioguideId + ".jpg";
6161
}
6262

6363
public static String picPath(String size, String bioguideId, Context context) {

0 commit comments

Comments
 (0)