Download original file in Matrix theme
|
mbrown
Joined: 2008-04-23
Posts: 20 |
Posted: Thu, 2008-04-24 00:37
|
|
Hi all I have been racking my brain trying to find a solution to this. I am trying to set up so a logged in client can download an original file. At the moment it opens the file very large in another browser window. I just want them to download it to a location on their computer. There must be a way to do this, I have tried different methods and ended up stuffing up my test site, so obviously I am too stoopid to work it out. Unfortunately I am not as clever as you guys and don't the programming knowledge you have. So if anyone has a solution, please try and keep it in noob talk for me. Cheers
|
|
| Login or register to post comments |

Posts: 11234
There has been some discussion about this in the forums before.
You can modify a core file but that will result in sort urls not functioning properly (if you want short urls).
Search the forums and you should find some of the discussion(s). Here is one:
http://gallery.menalto.com/node/38231#comment-140984
Alternatively you can implement somthing similar to:
http://www.boutell.com/newfaq/creating/forcedownload.html
but it becomes a big security risk as files on the server can be compromised.
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team
Posts: 11234
New module: http://codex.gallery2.org/Gallery2:Modules:downloadlink
Dave
_____________________________________________
Blog & G2 || floridave - Gallery Team