Adaptive-Images
Adaptive-Images copied to clipboard
Automatically adapts your existing HTML images for mobile devices. No mark-up changes needed.
I have changed the `is_mobile()` function so that it returns a boolean. ``` function is_mobile() { $userAgent = strtolower($_SERVER['HTTP_USER_AGENT']); return !!strpos($userAgent, 'mobile'); } ``` This renders this if/else block unnecessary:...
Similar to issue 117: https://github.com/MattWilcox/Adaptive-Images/issues/117 I have this exact problem. In testing, I use the example to force width to 400 - this generates the 480 cache ok. Forcing to...
L32-L36: If a GET-Parameter ('skipAdaptive') is transmitted in the HTTP-Request with value==1, then the rest of the script is ignored and the original image is sent to the browser without...
I'm not sure exactly what the intent was, but line 271 in adaptive-images.php will never evaluate to true, and thus line 272 will never be reached. ``` // the required...
...so that the script works with uppercase filename extensions.
... generated image.
Resolve symlinks in $document_root.
Script is changed to pick a resolution that best matches the resolutions found in the resolution array. Thus fewer images need to be generated. DPI is factored in. If your...
I encountered a problem with Adaptive Images when using it for Jpeg files that have an embedded color profile. The color profile is lost, as this seems to be not...
In order to check the health status of the application by status code.