Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Added availability to skip the adaption process #65
Conversation
stewoe
added some commits
Aug 9, 2012
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
stewoe commentedAug 9, 2012
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 any adaption. (Resize, compression, etc.)
Example URL: www.yourserver.org/hqimage.jpg?skipAdaptive=1
I need this feature for press downloads: Regardless of the screen resolution, the visitors should be able to view/download some certain images in full quality (eg. print versions, etc.)
...may be useful for someone else too...