Is it possible, when using a session to upload pictures, to set the initial (int) value for a field for the first image to 1 while for the rest of the images the value for this field will be set to 0?