Changes between Version 4 and Version 5 of FlickrIntegration
- Timestamp:
- Nov 20, 2006, 1:50:04 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
FlickrIntegration
v4 v5 135 135 136 136 if size == 'small_square': 137 size_char=' s'137 size_char='_s' 138 138 elif size == 'thumb': 139 size_char=' t'139 size_char='_t' 140 140 elif size == 'small': 141 size_char=' m'141 size_char='_m' 142 142 elif size == 'medium': 143 size_char=' -'143 size_char='' 144 144 elif size == 'large': 145 size_char=' b'145 size_char='_b' 146 146 elif size == 'original': 147 size_char=' o'147 size_char='_o' 148 148 149 return "%s/%s/%s_%s _%s.jpg" % (base_url, self.flickr_server, self.flickr_id, self.flickr_secret, size_char)149 return "%s/%s/%s_%s%s.jpg" % (base_url, self.flickr_server, self.flickr_id, self.flickr_secret, size_char) 150 150 }}} 151 151