[
http://jira.magnolia-cms.com/browse/MGNLDMS-155?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=20729#action_20729
]
pbracher edited comment on MGNLDMS-155 at 1/23/09 9:28 AM:
------------------------------------------------------------------
It might actually be that we don't have to change anything on the
implementation but just change the default configuration:
- voter based on the download parameter
- virtual uri mapping which transforms: /dms/\*/filename.download.ext ->
/dms/\*/filename.ext?download=true
was (Author: pbracher):
It might actually be that we don't have to change anything on the
implementation but just change the default configuration:
- voter based on the download parameter
- virtual uri mapping which transforms: /dms/*/filename.download.ext ->
/dms/*/filename.ext?download=true
> Better mechanism to distinguish between inline viewing and direct downloads
> ---------------------------------------------------------------------------
>
> Key: MGNLDMS-155
> URL: http://jira.magnolia-cms.com/browse/MGNLDMS-155
> Project: Magnolia DMS Module
> Issue Type: Improvement
> Affects Versions: 1.3.0
> Reporter: Philipp Bracher
> Assignee: Philipp Bracher
>
> Sorry for all the forth and back in that topic. After a few quite minutes I
> think that the following solution might be best:
> - if you want to perform a direct download or view the content in the browser
> depends on the usecase and not on the file type
> - showing the content in the browser should be the default behavior (pdf,
> images, flash, word, ...)
> - to trigger a direct download the system provides a specific url or parameter
> -- a) download=true
> -- b) /dms/file.download.ext (for cachability)
> -- c) /dms-download/file
> - the dms dialog uses the direct download link
> - the dms dialog shows the image (similar to the binary control in normal
> dialogs)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.magnolia-cms.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
----------------------------------------------------------------
For list details see
http://www.magnolia-cms.com/home/community/mailing-lists.html
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------