Naming and default value for the C5 file manager

Permalink
So i have this code for a field where I want the user to input a URL to an image...

<input class="small" type="text" name="images[]"   value="<?php  echo $images[$i] ?>" >

However, I want to be able to allow them to use the file manager to chose the image instead of just inputting a URL.

I have the following code for the file manager which works fine:
cho $al->file('ccm-b-file', 'fID', t('Choose File:'), $bf); ?>
<?php $bf = File::getByID($fID); ?>


But as seen in my first line of code I need to be able to give that image picker a name and a default value. Is there any way to do this?

Thanks :)

 

This website stores cookies on your computer. These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media. To find out more about the cookies we use, see our Privacy Policy.