Ability to enter inline description for files in Flash Uploader

3 views
Skip to first unread message

Alexander Obuhovich

unread,
May 25, 2011, 2:47:49 PM5/25/11
to In-Portal Development
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.




--
Best Regards,

http://www.in-portal.com
http://www.alex-time.com
feat_flash_uploader_inline_uploaded_files_description.patch

Alexander Obuhovich

unread,
May 25, 2011, 3:00:16 PM5/25/11
to In-Portal Development
I forgot to mention how to enable this functionality and how to get these descriptions later.

To enable discription 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.

Phil -- wbtc.fr --

unread,
May 25, 2011, 3:08:18 PM5/25/11
to in-por...@googlegroups.com
sounds really cool!

Can we specify a maximum number of files?


2011/5/25 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
May 25, 2011, 4:30:31 PM5/25/11
to in-por...@googlegroups.com
It's unrelated to given addon, but yes, you can specify maximal uploaded file count for each flash uploader control.

Phil -- wbtc.fr --

unread,
May 25, 2011, 4:42:04 PM5/25/11
to in-por...@googlegroups.com
great!

2011/5/25 Alexander Obuhovich <aik....@gmail.com>

Alexander Obuhovich

unread,
May 27, 2011, 6:16:18 AM5/27/11
to in-por...@googlegroups.com
Here is the task: http://tracker.in-portal.org/view.php?id=1061

Ready for testing.
Reply all
Reply to author
Forward
0 new messages