Skip to content
Browse files

Added a Readme file

  • Loading branch information...
1 parent 5edc2ae commit dd5b2f53012870a390fba1cceb83bf1e2197cba7 Dave McDermid committed Dec 20, 2011
Showing with 13 additions and 0 deletions.
  1. +13 −0 Readme.md
View
13 Readme.md
@@ -0,0 +1,13 @@
+This is a C# .NET port of the PHP adapative-images script <http://adaptive-images.com/>.
+
+Installation
+------------
+
+The project can be compiled to a DLL and dropped into any .NET 4 project. Alternatively, add this project to an existing solution. The project can also be compiled in .NET 3.5 compatibility if required.
+
+Add the handler references from the sample.web.config to the web.config file for your website.
+
+Add the following javascript to set a cookie with the screen resolution:
+
+ <script type="text/javascript">document.cookie = 'resolution=' + Math.max(screen.width, screen.height) + '; path=/';</script>
+

0 comments on commit dd5b2f5

Please sign in to comment.
Something went wrong with that request. Please try again.