View Issue Details

IDProjectCategoryView StatusLast Update
1691Composrcorepublic2014-09-25 18:07
ReporterChris Graham Assigned ToChris Graham  
PrioritynormalSeverityfeature 
Status resolvedResolutionfixed 
Summary1691: Image-awareness within truncation code
DescriptionThe 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.
TagsNo tags attached.
Attach Tags
Time estimation (hours)2
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change