View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
1691 | Composr | core | public | 2014-09-18 15:17 | 2014-09-25 18:07 |
Reporter | Chris Graham | Assigned To | Chris Graham | ||
Priority | normal | Severity | feature | ||
Status | resolved | Resolution | fixed | ||
Summary | 1691: Image-awareness within truncation code | ||||
Description | The summarisation/truncation symbol (e.g. $TRUNCATE_LEFT) works on a character length basis, so images presence can result in excess space usage. The best solution would be to make an equivalency calculation for images, based on estimating the number of characters that would fit across the image. The code already is HTML-aware, in that it doesn't count HTML code towards the truncation limit. Picking up on embedded images could be integrated into the scanning too. In much less time we could just hard-code it for a certain number of images, but this is problematic - for example, emoticons and very large external images, would count the same. | ||||
Tags | No tags attached. | ||||
Attach Tags | |||||
Time estimation (hours) | 2 | ||||
Sponsorship open | |||||