version 1.3.3 (2011/10/18) ------------------------------------------------------------
BUG FIXES
* Added Gecko to the auto-disabled $mobile_first check: IE and Firefox don't
honour $mobile_first.
This is because both suffer from a race condition when setting the cookie.
Sometimes it's set before are requested, sometimes not. This could produce
desktop websites with mobile versions on first page load.
OTHER IMPROVEMENTS
* Changed the HTTP Cache Header from "public" to "private".
This allows caches that are specific to one user (e.g., browser cache) to store
the image in cache; shared caches (e.g., a proxy server) won't. This should avoid
people behind proxies or other caching mechanisms experiencing wrongly sized images.
version 1.3.2 (2011/09/06) ------------------------------------------------------------
Thanks to Oncle Tom
BUG FIXES
* Internet Explorer was not correctly setting the cookie, and thus breaking badly
* Fixed a possible Cookie Injection, and optimised ai-cookie.php
NOTES
In testing it seems that Firefox is now behaving properly and setting the cookie
in time. Thus, I've re-instated support for $mobile_first = TRUE on that browser
version 1.3.1 (2011/09/06) ------------------------------------------------------------
Thanks to Emilio Bravo
BUG FIXES
* PNGs now maintain their alpha transparency when scaled down (previously got
black backgrounds where transparency should be)
version 1.3 (2011/09/04) --------------------------------------------------------------
Huge thanks to Jordi Boggiano
NEW FEATURES
* Finalised $mobile_first behaviour and defaulted it to TRUE
BUG FIXES
* Fixed typo which incorrectly set browser cache
OTHER IMPROVEMENTS
* When $mobile_first is FALSE now sends highest configured size instead of original
* Refactored the PHP to be more robust and efficient
* Simplified the JS to a single line and fixed pollution of the global namespace
* Made the .htaccess rule more robust and accurate
NOTES
Firefox will not honour $mobile_first as set in the CONFIG section. This is
intentional, and required due to a defect in Firefox's behaviour. It does not set
cookies fast enough, and therefor on the first visit to a site would load the
mobile sized image even if JS was enabled. Therefor, AI will not honour the
$mobile_first setting on Firefox based browsers that have JavaScript disabled.
version 1.3 beta (2011/08/31) ---------------------------------------------------------
NEW FEATURES
* Added support for Mobile First philosophy (see CONFIG, $mobile_first)
NOTES
When $mobile_first is set to TRUE it means the mobile sized version of the requested
image will be sent in the event that no cookie is set (likely because JavaScript is
unavailable). If FALSE, the original image is sent.
There is a known problem with Firefox on a first visit to a site where $mobile_first
is TRUE. It doesn't set the cookie fast enough, so the very first load sends the mobile
size image. All page loads after are fine. Opera, Safari, and Chrome all work OK.
version 1.2.2 (2011/08/30) ------------------------------------------------------------
NEW FEATURES
* Unsupported no-javascript solution (see instructions.htm)
version 1.2.1 (2011/08/26) ------------------------------------------------------------
NO NEW FEATURES
I have re-branded Responsive-Images to "Adaptive-Images", firstly to help distinguish
this project from the identically named project by Filament Group, and secondly
because it's a more appropriate name. This system actively adapts existing images as
well as "responding" to the visitors viewport to serve an appropriately sized version.
NOTES
The project is now available on GitHub for those who wish to track it there:
https://github.com/MattWilcox/Adaptive-Images
version 1.2 (2011/08/21) ------------------------------------------------------------
Contributions by Fabian Beiner, with thanks :)
NEW FEATURES
* Support for PNG and GIF images
* Added ability to sharpen re-scaled images (see CONFIG, $sharpen)
BUG FIXES
* Better extension detection (.jpeg was failing)
* First-run Firefox bug fixed. The JS must be in-line, in the