Skip to main content

Interface: ImageWidgetBlock

Properties

accept?

optional accept: string[]

List of accepted image formats


blockName

blockName: string

Unique block name


id

id: string

Block id


printOnDemandSettings?

optional printOnDemandSettings: PrintOnDemandOption

Print on demand settings


textureMode

textureMode: boolean

If true it will upload image as it is. Otherwise, it will make it square and add some empty space arount it.


widgetType?

optional widgetType: string

Widget type. Either image or printOnDemand