Works great when I use upload option "Simple - one file at a time" Αndré, Thank you so much.
BTW
I'll try to call this funcion in (html5upload): v1.3.6 mod.
In codebase.php from this mod. I find this line:
if ($cfg['enabusr1'] && !empty($CONFIG['user_field1_name'])) {
echo '<tr><td class="tableb">'.$CONFIG['user_field1_name'].'</td><td class="tableb"><input type="text" name="user1" id="user1" class="textinput" maxlength="255" style="width:90%" /></td></tr>';
}
and replace to this (copy from edit_one_pic.php) :
if ($CONFIG['user_field1_name'] != '') {
$options_array = array('Wybierz Typ', 'Poster', 'Render', 'Title Treatment', 'Studio Template', 'Stock Image', 'PSD', 'Brush', 'Logo', 'Action', 'Style');
foreach ($options_array as $option) {
$selected = $CURRENT_PIC['user1'] == $option ? ' selected' : '';
$options .= "<option{$selected}>{$option}</option>";
}
echo <<< EOT
<tr>
<td class="tableb" style="white-space: nowrap;">
{$CONFIG['user_field1_name']}
</td>
<td width="100%" class="tableb" valign="top">
<select name="user1" maxlength="255" class="listbox">{$options}</select>
</td>
</tr>
EOT;
}
I managed to call the drop down list of custom fields, I can choose an option that suits me. However, when I add files and I will be moved to the next page (editpics.php?album =) in places where the name should appear from custom fields, there is nothing. There is an empty table. What could I do wrong?
Additionally, it may be possible to add a drop down list of custom fields when editing files on the page (editpics.php?album =).