View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0003824||Composr||core||public||2019-06-17 18:24||2020-03-07 21:21|
|Reporter||Chris Graham||Assigned To||Chris Graham|
|Fixed in Version|
|Summary||0003824: Rep-image and thumbnail refresh|
|Description||Currently 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.
|Time estimation (hours)||3|
|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|