View Issue Details

IDProjectCategoryView StatusLast Update
0003824Composrcorepublic2020-03-07 21:21
ReporterChris GrahamAssigned ToChris Graham 
Status assignedResolutionopen 
Product Version 
Fixed in Version 
Summary0003824: Rep-image and thumbnail refresh
DescriptionCurrently the default is for rep-images to be sized to thumbnail size when you upload them (resize_rep_image function).

This makes little sense for multiple reasons:
1) Rep-image size is not necessarily going to have anything to do with thumbnail size. For example, the image in the corner of a news article box is smaller than thumbnail size.
2) Realistically in the modern day we're going to have to resize content images dynamically for multiple contexts - Open Graph, rep-images in boxes, thumbnail grids, different designs of thumbnail grids, different device types (responsive design).

Likewise, thumbnails may also need to be in different sizes too.

In both situations, we should be sizing images dynamically (with caching) using the Tempcode $THUMBNAIL symbol. This way, it's handled cleanly/flexibly at the template layer.

So I think we should remove any code that is pre-sizing down thumbnails.
The configuration option for thumbnail size should just be a display-layer default, and define the minimum size of thumbnail that may be uploaded.
TagsRoadmap: v11
Attach Tags
Time estimation (hours)3
Sponsorship open


related to 0003354 assignedChris Graham Tile-based activity feed 
related to 0003825 resolvedChris Graham Validating image inputs 


Chris Graham

2019-07-03 13:46

administrator   ~0006023

Last edited: 2019-07-03 13:51

View 2 revisions

I don't like how post_param_image and resize_rep_image and check_form_field_image are defined in themes2.php, should be images2.php.

Issue History

Date Modified Username Field Change
2019-06-17 18:24 Chris Graham New Issue
2019-06-17 18:25 Chris Graham Relationship added related to 0003825
2019-06-27 17:58 Chris Graham Tag Attached: Roadmap: v11
2019-07-03 13:46 Chris Graham Note Added: 0006023
2019-07-03 13:51 Chris Graham Note Edited: 0006023 View Revisions
2019-11-15 00:13 Chris Graham Description Updated View Revisions
2020-02-20 02:19 Chris Graham Relationship added related to 0003354
2020-03-07 21:21 Chris Graham Assigned To => Chris Graham
2020-03-07 21:21 Chris Graham Status non-assigned => assigned