Image

    The image field can be used to select an image.

    import {Field} from 'alinea'
    
    Field.image('Single image link')
    
    Field.image.multiple('Multiple image links')

    Configuration

    max

    Limit the amount of rows in case of multiple links.

    fields

    Defines nested sub-fields for the original object, allowing you to attach additional structured data.

    import {Config, Field} from 'alinea'
    
    Field.image('Image', {
      fields: {alt: Field.text('Alt text')}
    })