ctf0 / Laravel-Media-Manager

A "Vuejs & Laravel" Media Manager With Tons of Features
MIT License
829 stars 179 forks source link

how to save uploaded files to db ? #116

Closed jaccborn closed 4 years ago

jaccborn commented 4 years ago

i've read the the document, but i can't find how can i use the mysql exists datas. i'm not familiar with vue, i just want use this project as a media module. please tell me how can i do it, thank u!

ctf0 commented 4 years ago

1- there is a template for the tickets, plz use it. 2- am not sure what exists datas u mean

jaccborn commented 4 years ago

thank u for u reply. i am not see the tickets template,can u apply a pic for me? the exists datas mean that i want use my api , and it will be return the data from mysql database. look like below data struct: image

ctf0 commented 4 years ago

i am not see the tickets template,can u apply a pic for me?

Screen Shot 2019-09-28 at 3 13 21 AM

look like below data struct:

u can achieve that in more than one way

jaccborn commented 4 years ago

thank u very much! hope u happy every day. good luck for u.

发自我的iPhone

------------------ Original ------------------ From: Muah <notifications@github.com> Date: Sat,Sep 28,2019 9:17 AM To: ctf0/Laravel-Media-Manager <Laravel-Media-Manager@noreply.github.com> Cc: jaccborn <475663526@qq.com>, Author <author@noreply.github.com> Subject: Re: [ctf0/Laravel-Media-Manager] How to change to mysql database and the data source from customer controller ? (#116)

i am not see the tickets template,can u apply a pic for me?

look like below data struct:

u can achieve that in more than one way

use events https://github.com/ctf0/Laravel-Media-Manager#events

use a custom controller https://github.com/ctf0/Laravel-Media-Manager/wiki/Have-More-Control-On-Uploads

if u r using the manager inside a form, follow https://github.com/ctf0/Laravel-Media-Manager/wiki/Use-The-Manager-From-A-Modal

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.