Force download of a thumbnail image
Permalink
I'm building a little media assets / download page, and the design calls for the ability to download a thumbnail of an image file along with the full-size version.
$f->getDownloadURL() works great for the full-size version, but I'm scratching my head a little trying to figure out how to force the download of the thumbnail version, for which I only have a filepath.
Or is there another way to get this done?
Thanks in advance for your help!
$f->getDownloadURL() works great for the full-size version, but I'm scratching my head a little trying to figure out how to force the download of the thumbnail version, for which I only have a filepath.
Or is there another way to get this done?
Thanks in advance for your help!
http://www.concrete5.org/community/forums/usage/prevent_link_to_fil...
In that thread they're talking about the opposite problem (getting a file that was downloading to show up in the browser instead), but maybe some of the things brought up in it could be useful in solving your problem?