User tests: Successful: Unsuccessful:
Scope:
Add the ability to encode 64 the flag images on mod_languages.
Why: Reduce the http requests per page...
How to test: Install a multilingual Joomla! with some dummy content. Enable the mod_languages module (Language Switcher). Check the options, play with encode. Everything should still work. Report bugs
Labels |
Added:
?
?
|
Current behavior using JHtml::image()
will search for an image override in the template. Your approach will no longer allow this.
To use a different image, you'd have to override the whole module output.
Bonus: You can create an override on the html/mod_languages/ and set the pre encoded data there (on the languages you have set), reducing the load on the server side:
You can of course also do that without your PR. Just saying
Status | New | ⇒ | Pending |
Labels |
Removed:
?
|
Category | ⇒ | Modules Multilanguage |
Status | Pending | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2014-11-07 22:06:41 |
Bonus: You can create an override on the html/mod_languages/ and set the pre encoded data there (on the languages you have set), reducing the load on the server side:
Use this site to get the encoded data: http://webcodertools.com/imagetobase64converter
replace the languages to those that you use :)