#3824 - Rep-image and thumbnail refresh

Identifier #3824
Issue type Feature request or suggestion
Title Rep-image and thumbnail refresh
Status Completed
Tags

Roadmap: v11 (custom)

Handling member Chris Graham
Addon core
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.
Steps to reproduce

Related to

#3354 - Tile-based activity feed

Funded? No
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".

Rating

Unrated