Skip to content
This repository was archived by the owner on Jul 27, 2023. It is now read-only.

How to pass images in field #168

Description

@brain2xml

Images I uploaded from widget stored in db and back with ajax json. That json generates download form.

Can I add by hand image to widget?

<?php
$imagesList = [
[
'name' => 'somename'
'thrumbunal' =>'some/url'
]
];

<?= FileUploadUI::widget([
        'name' => 'picture_upload',
        'url' => ['file/upload'],
        'gallery' => false,


where to put $imagesList to initialize it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions