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

How to pass images in field #168

Open
brain2xml opened this issue Mar 23, 2020 · 0 comments
Open

How to pass images in field #168

brain2xml opened this issue Mar 23, 2020 · 0 comments

Comments

@brain2xml
Copy link

brain2xml commented Mar 23, 2020

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?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant