#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 | |
| 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".


Comments
The thumbnail editor addon has gone because you no longer have one thumbnail for resources but potentially many generated on-the-fly.
A clear distinction is maintained between thumbnails ("an alternate representation of a visual resource") and representative images (just any image the webmaster has chosen to represent something that is not intrinsically visual).
GD is now strictly required. It was always in the requirements but we did still unofficially support not having it. Not anymore.