[ 
http://jira.magnolia-cms.com/browse/MGNLDMS-155?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Philipp Bracher updated MGNLDMS-155:
------------------------------------

    Description: 
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)



  was:
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) mode=download
  -- 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)




> 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]>
----------------------------------------------------------------

Reply via email to