aboutsummaryrefslogtreecommitdiff
path: root/GradeBook_lib.tcl
diff options
context:
space:
mode:
authorEugeniy Mikhailov <evgmik@gmail.com>2014-12-05 14:09:58 -0500
committerEugeniy Mikhailov <evgmik@gmail.com>2014-12-05 14:11:13 -0500
commit8337ef549312295bdb3dddb12be284c4fdcc9f6a (patch)
tree1d31fbd699543ecdcf993e628639178b23d78752 /GradeBook_lib.tcl
parentf1b619b584e9f665390e14e46f5e89e3390088df (diff)
downloadGradeBook-8337ef549312295bdb3dddb12be284c4fdcc9f6a.tar.gz
GradeBook-8337ef549312295bdb3dddb12be284c4fdcc9f6a.zip
proper links to cached photos
Diffstat (limited to 'GradeBook_lib.tcl')
-rwxr-xr-xGradeBook_lib.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/GradeBook_lib.tcl b/GradeBook_lib.tcl
index 0978fcb..786d32b 100755
--- a/GradeBook_lib.tcl
+++ b/GradeBook_lib.tcl
@@ -1172,7 +1172,7 @@ proc getPhotoUrl { IdNum } {
}
if { [file exist "$cached_photo_file"] } {
# return link to locally cached file
- set url "$cached_photo_file"
+ set url "$photo_album_cache_url/$photo_file"
} else {
# return link to the main WM photobase
set url "$photo_album_base_url/${photo_file}"