[DOCU-162] Controls documentation is missing property preview on file control Created: 09/Jun/11 Updated: 07/May/15 Resolved: 17/Jun/11 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | content |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Neutral |
| Reporter: | Tobias Mattsson | Assignee: | Antti Hietala |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Template: |
|
| Acceptance criteria: |
Empty
|
| Bug DoR: |
[ ]*
Steps to reproduce, expected, and actual results filled
[ ]*
Affected version filled
|
| Date of First Response: |
| Description |
|
The file control supports a property type 'preview' which is not documented, is set to either 'true' or 'false' and defaults to 'true'. It controls whether to show a preview of the saved file as a preview or not. It also supports SWF files in addition to the usual image formats. |
| Comments |
| Comment by Tobias Mattsson [ 09/Jun/11 ] |
|
Looking at the source it appears as if setting it to false instead shows an icon based on the mime-type. |
| Comment by Ruth Stocks [ 17/Jun/11 ] |
|
Amended Controls page at - http://docuauthor.magnolia-cms.com/reference/controls.html#file
|
| Comment by Antti Hietala [ 17/Jun/11 ] |
|
The file control supports uploading of any file type. It's just the preview rendering that is limited to the named image extensions. I edited the text to make this clear. |