HOme Sheriff And Lamp
Dependencies: CameraC328 HCSR04 SDFileSystem WIZnetInterface mbed
Fork of HoSAL by
Diff: rev_httpFile.cpp
- Revision:
- 10:0868448017da
- Parent:
- 5:217f40f0a415
- Child:
- 12:974f7a96d6ab
diff -r 416cbcabbddd -r 0868448017da rev_httpFile.cpp --- a/rev_httpFile.cpp Tue Aug 11 19:25:31 2015 +0000 +++ b/rev_httpFile.cpp Wed Aug 12 10:18:46 2015 +0000 @@ -58,7 +58,8 @@ DM_FLN("%s", dirName); DIR *subDir = opendir(dirName); if (subDir != NULL) { - sprintf(httpHeader,"<li><a href=\"./%s/\">%s/</a></li>", p->d_name, p->d_name); + /* sprintf(httpHeader,"<li><a href=\"./%s/\">%s/</a></li>", p->d_name, p->d_name); */ + sprintf(httpHeader,"<li><img width=50 height=50 src=\"./%s/\">%s/</li>", p->d_name, p->d_name); } else { sprintf(httpHeader,"<li><a href=\"./%s\">%s</a></li>", p->d_name, p->d_name); }