aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/connector/gc
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2013-05-22 19:31:12 +0200
committerSamuel Tardieu <sam@rfc1149.net>2013-05-22 19:33:41 +0200
commit355ab3fc9528208660879b3a9cc668ba35ea4c36 (patch)
tree2abd7eb8f44ea8546a0aa7903c5371b3239d1ae8 /main/src/cgeo/geocaching/connector/gc
parentc6d63f38e112c651628b956569fed2974b43e748 (diff)
downloadcgeo-355ab3fc9528208660879b3a9cc668ba35ea4c36.zip
cgeo-355ab3fc9528208660879b3a9cc668ba35ea4c36.tar.gz
cgeo-355ab3fc9528208660879b3a9cc668ba35ea4c36.tar.bz2
fix #2753: log image not shown
We now use the "large" version of the image, which is also the one presented to the user on the web site.
Diffstat (limited to 'main/src/cgeo/geocaching/connector/gc')
-rw-r--r--main/src/cgeo/geocaching/connector/gc/GCParser.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/main/src/cgeo/geocaching/connector/gc/GCParser.java b/main/src/cgeo/geocaching/connector/gc/GCParser.java
index 587c904..62570c2 100644
--- a/main/src/cgeo/geocaching/connector/gc/GCParser.java
+++ b/main/src/cgeo/geocaching/connector/gc/GCParser.java
@@ -1588,8 +1588,8 @@ public abstract class GCParser {
final JSONArray images = entry.getJSONArray("Images");
for (int i = 0; i < images.length(); i++) {
final JSONObject image = images.getJSONObject(i);
- String url = "http://img.geocaching.com/cache/log/" + image.getString("FileName");
- String title = image.getString("Name");
+ final String url = "http://img.geocaching.com/cache/log/large/" + image.getString("FileName");
+ final String title = image.getString("Name");
final Image logImage = new Image(url, title);
logDone.addLogImage(logImage);
}