[ease] [editor] Use "_z" image size for Flickr.
- From: Nate Stedman <natesm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ease] [editor] Use "_z" image size for Flickr.
- Date: Tue, 24 Aug 2010 06:50:44 +0000 (UTC)
commit 995f61ef266376a8554bf4132dfcf064e8781994
Author: Nate Stedman <natesm gmail com>
Date: Mon Aug 23 17:21:18 2010 -0400
[editor] Use "_z" image size for Flickr.
_b is larger, but many of the images are blocked at that size.
A proper REST getSizes call should be used at some point.
ease/ease-import-flickr-service.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/ease/ease-import-flickr-service.vala b/ease/ease-import-flickr-service.vala
index e485ee8..c680567 100644
--- a/ease/ease-import-flickr-service.vala
+++ b/ease/ease-import-flickr-service.vala
@@ -97,7 +97,7 @@ public class Ease.FlickrService : Plugin.ImportService {
string flickr = ".static.flickr.com/";
var image = new FlickrMedia();
- image.file_link = http + farm + flickr + server + "/" + id + "_" + secret + "_b.jpg";
+ image.file_link = http + farm + flickr + server + "/" + id + "_" + secret + "_z.jpg";
image.thumb_link = http + farm + flickr + server + "/" + id + "_" + secret + "_m.jpg";
// TODO : unittest to track Flickr API changes.
// TODO : license
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]