From 874b8d40ff14e39bac4875efbaee2f24121d20bd Mon Sep 17 00:00:00 2001 From: root Date: Sat, 10 May 2014 11:22:00 -0700 Subject: Changed some comments. --- mod/photo.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'mod') diff --git a/mod/photo.php b/mod/photo.php index b351ce17f..9302278b6 100644 --- a/mod/photo.php +++ b/mod/photo.php @@ -104,8 +104,7 @@ function photo_init(&$a) { if(substr($photo,-2,1) == '-') { $resolution = intval(substr($photo,-1,1)); $photo = substr($photo,0,-2); - // Serve high-resolution images regardless (this is rude): - // [Note: this can be improved by setting a cookie to indicate that the user is viewing on a high-resolution display] + // If viewing on a high-res screen, attempt to serve a higher resolution image: if ($resolution == 2 && ($cookie_value > 1)) { $resolution = 1; -- cgit v1.2.3