diff options
author | root <root@bawker.net> | 2014-05-10 11:22:00 -0700 |
---|---|---|
committer | root <root@bawker.net> | 2014-05-10 11:22:00 -0700 |
commit | 874b8d40ff14e39bac4875efbaee2f24121d20bd (patch) | |
tree | a0492c66d135e00673a342cb6ca2d8f638b7912d /mod | |
parent | ed5cebd3d6b87a5c2254f3fa48b03d93558fa7bc (diff) | |
download | volse-hubzilla-874b8d40ff14e39bac4875efbaee2f24121d20bd.tar.gz volse-hubzilla-874b8d40ff14e39bac4875efbaee2f24121d20bd.tar.bz2 volse-hubzilla-874b8d40ff14e39bac4875efbaee2f24121d20bd.zip |
Changed some comments.
Diffstat (limited to 'mod')
-rw-r--r-- | mod/photo.php | 3 |
1 files changed, 1 insertions, 2 deletions
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; |