View Issue Details

IDProjectCategoryView StatusLast Update
0002969Composrcore_themeingpublic2016-12-19 15:31
ReporterChris GrahamAssigned ToChris Graham 
SeverityFeature-request 
Status resolvedResolutionfixed 
Product Version 
Fixed in Version 
Summary0002969: Support for apng overrides of .gif theme image files
DescriptionIf the web browser supports apng then a .gif should be substituted with a .gif.png by the theme image system if that file exists.

We need to create apng's of all our animated emoticons.

Include a LEGACY comment in our code as eventually we want to remove the need for progressive enhancement and just serve to all browsers. We have to wait for that.
TagsSkills: Graphic design
Time estimation (hours)16
Sponsorship open

Activities

Chris Graham

2016-12-08 23:55

administrator   ~0004630

I've actually done at the .htaccess level, as we need to be able to cache static URLs.

Added this to .htaccess...

# Rewrite .gif emoticons for browsers that support APNG (LEGACY; when possible we want to get rid of the gifs, but Edge does not yet support)
RewriteCond %{HTTP_USER_AGENT} (Chrom|Firefox|Safari)
RewriteRule ^(themes/default/images/cns_emoticons/.*\.gif)$ $1.png [L,QSA]


Now just awaiting Manoj's images.

Issue History

Date Modified Username Field Change
2016-12-04 22:35 Chris Graham New Issue
2016-12-04 22:36 Chris Graham Tag Attached: Skills: Graphic design
2016-12-06 23:52 Chris Graham Description Updated View Revisions
2016-12-08 23:55 Chris Graham Note Added: 0004630
2016-12-19 15:31 Chris Graham Status non-assigned => resolved
2016-12-19 15:31 Chris Graham Resolution open => fixed
2016-12-19 15:31 Chris Graham Assigned To => Chris Graham