In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1061 [In-Portal CMS] Admin Interfaces feature request N/A 2011-05-27 05:15 2012-01-06 02:55
alex  
!COMMUNITY  
normal  
needs work 5.1.2  
open  
 
none  
https://groups.google.com/d/topic/in-portal-dev/xrOFASoXZS8/discussion
Adds ability to enter inline description for files in Flash Uploader
2
0001061: Ability to enter inline description for files in Flash Uploader
I've developed a small extension to flash uploader, that allows to enter a short description for each file that was uploaded.

Field Name: [browse button]

            [x] [thumbnail1] image filename
                              [______description________]

            [x] [thumbnail2] image filename
                              [______description________]

            [x] [thumbnail3] image filename
                              [______description________]

In mockup above image thumbnail's height is larger, then image name and description field height together. That's why this will look normally together.


This is pure Flash Uploader extension and can't be used with category items (e.g. links), since they naturally don't support Flash Uploader at all.


To enable description entering ability you need to specify 'description_field' => 'DescriptionFieldName' in particular field declaration in unit config.

Of course you need to create a real or virtual field that will store all that descriptions.

Descriptions are stored the same way as files are - "descr1|descr2|....". Positions of description and uploaded file in 2 fields (with files and with descriptions) matches, e.g. file at position 2 in file field will have description at position 2 in description field.
related to 0000043closed  (5.2.0)alex SWFUploader and "Save" button. 
related to 0000835needs work  (Icebox)alex New 5.1.0 style flash uploader porting to Front-End 
patch feat_flash_uploader_inline_uploaded_files_description.patch (5,149) 2011-05-27 05:15
http://tracker.in-portal.org/file_download.php?file_id=1024&type=bug
Issue History
2012-01-06 02:55 alex Note Added: 0004390
2011-12-18 15:08 Dmitry Target Version 5.2.0 => Icebox
2011-10-31 11:30 alex Relationship added related to 0000835
2011-10-22 05:37 alex Estimate Points => 2
2011-09-27 05:04 alex Time Estimate Added 1
2011-09-24 11:43 Dmitry Status needs testing => needs work
2011-09-24 11:42 Dmitry Target Version Icebox => 5.2.0
2011-05-28 14:55 alex Relationship added related to 0000043
2011-05-27 05:16 alex Assigned To => !COMMUNITY
2011-05-27 05:16 alex Developer => alex
2011-05-27 05:16 alex Status active => needs testing
2011-05-27 05:15 alex New Issue
2011-05-27 05:15 alex File Added: feat_flash_uploader_inline_uploaded_files_description.patch
2011-05-27 05:15 alex Reference => https://groups.google.com/d/topic/in-portal-dev/xrOFASoXZS8/discussion
2011-05-27 05:15 alex Change Log Message => Adds ability to enter inline description for files in Flash Uploader

Notes
(0004390)
alex   
2012-01-06 02:55   
We could use http://stackoverflow.com/questions/3448831/store-return-json-value-in-input-hidden-field to store JSON object in a hidden field instead of just only descriptions.

This way we could keep track of unlimited number of properties associated with each image being uploaded.