Adaptive-Images
Adaptive-Images copied to clipboard
Automatically adapts your existing HTML images for mobile devices. No mark-up changes needed.
Moved functionality into core class for use within more complex systems.
This pull-request will enable support for serving @2x retina image support. It checks (if on retina device) if a @2x version exists - and serves it.
/**\* @fix Last-Modified header was stripped out using adaptive-images, Google's PageSpeed complains fixed now **/
Added spacing to line 41, 80, 167, 179, 268, and 304 to maintain code style and enhance human readability.
If you are using a grid system like Twitter Bootstrap, it could be, that the biggest resolution do not affort the biggest images. Because on a special width the layout...
As I reported in https://github.com/MattWilcox/Adaptive-Images/issues/115, I see a problem in using screen.width _alone_ as a source for doing the math, when it comes to high-ppi devices. It seems I now...
if i request a file with the name "image+stuff.jpg" adaptive-images.php trys to load "image stuff.jpg"
Send different caching responses depending on whether the user had a cookie or not. No cookie = cache, but also ensure the browser asks the server if there's a newer...
Hi; I am working on my website located in http://localhost/joomla or (/var/www/joomla) directory (not http://localhost which is /var/www). I did the following : 1 - Copy adaptive-images.php & ai-cookie.php into...
https://github.com/MattWilcox/Adaptive-Images/blob/master/adaptive-images.php#L37 Mozilla Hacks recommends the following (from https://hacks.mozilla.org/2013/09/user-agent-detection-history-and-checklist/): > The most current case of user agent detection is to know if the device is a mobile to redirect the browser...