This file implements the File view (including resizing of images)
This file is part of Quam Plures - http://quamplures.net/ See also https://launchpad.net/quam-plures.
| Author: | blueyed: Daniel HAHLER |
| Author: | fplanque: Francois PLANQUE. |
| Author: | mbruneau: Marc BRUNEAU / PROGIDISTRI |
| Copyright: | (c)2003-2009 by Francois PLANQUE - http://fplanque.net/ Parts of this file are copyright (c)2005-2006 by PROGIDISTRI - http://progidistri.com/. |
| Copyright: | (c) 2009 - 2011 by the Quam Plures developers - http://quamplures.net/ |
| Todo: | dh> Add support for ETag / If-Modified-Since. Maybe send "Expires", too? (to "force" caching) fp> for more efficient caching (like creating a thumbnail on view 1 then displaying the thumbnail again on view 2), this should probably redirect to the static file right after creating it (when $public_access_to_media=true OF COURSE) dh> this would add another redirect/HTTP request and no cache handling, assuming that the server is not configured for smart caching. Additionally, it does not help for non-public access, which is the meat of this file. I've added "Expires: in ten years" now, but not for thumbs (see comment there). |
| Filesource: | Source Code for this file |