Hello Anupam
Please read comment from following link and read this comment.
http://forum.typo3.org/index.php/m/717695/#page_top

I have used below code for that.

$tempColumns = Array (
        "tx_damdownloadlist_records" => Array (
                "exclude" => 0,
                "label" => "Images",
                "config" => Array (
                        "type" => "group",
                        "internal_type" => "file",
                        "size" => 10,
                        "minitems" => 1,
                        "maxitems" => 100,
                        "show_thumbs" => 1,
                )
        ),
);


And i have choose media images. but in database its store as " 
fileadmin/_migrated/pics/images.jpg"


i want to store images uid. [ uid is from sys_file table. ]

How can i store image uid instead of image whole path.

I also used below code for that. but its not working.

$tempColumns = Array (
        "tx_damdownloadlist_records" => Array (
                "exclude" => 0,
                "label" => "Images",
                "config" => Array (
                        "type" => "group",
                        "internal_type" => "file",
                        "size" => 10,
                        "minitems" => 1,
                        "maxitems" => 100,
                        "show_thumbs" => 1,
                        'foreign_table' => 'sys_file',
                        'foreign_selector' => 'uid',
                        "foreign_field" => "uid",
                        "foreign_label" => "uid",
                
                )
        ),
);


Can you please guide me for that.
_______________________________________________
TYPO3-english mailing list
TYPO3-english@lists.typo3.org
http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-english

Reply via email to