From cea5ed0e731c62b22c801006b28c4867dddb8bca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Espino?= Date: Mon, 29 Jun 2015 16:06:16 +0200 Subject: [PATCH 1/2] Issue#2884: Crop images for the timeline --- .../user-timeline-attachment-image.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/modules/user-timeline/user-timeline-attachment/user-timeline-attachment-image.jade b/app/modules/user-timeline/user-timeline-attachment/user-timeline-attachment-image.jade index 6a5c2c16..d82cc411 100644 --- a/app/modules/user-timeline/user-timeline-attachment/user-timeline-attachment-image.jade +++ b/app/modules/user-timeline/user-timeline-attachment/user-timeline-attachment-image.jade @@ -2,4 +2,4 @@ div.activity-image-attachment blockquote a(href="{{::attachment.url}}", title="See {{::attachment.filename}}", target="_blank") - img(ng-src="{{::attachment.url}}", alt="{{::attachment.filename}}") + img(ng-src="{{::attachment.thumb_url || attachment.url}}", alt="{{::attachment.filename}}") From b45cf0a14dfb50d4534922fb9d6677eb5817f737 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Barrag=C3=A1n=20Merino?= Date: Thu, 2 Jul 2015 18:24:10 +0200 Subject: [PATCH 2/2] Update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5e1bc71d..d82d87ba 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,7 @@ - Ability to create single-line or multi-line custom fields. (thanks to [@artlepool](https://github.com/artlepool)) ### Misc +- Improve performance: Show cropped images in timelines. - Lots of small and not so small bugfixes.