Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Field for relationship multiple upload files #255

Open
lhas opened this issue Jul 29, 2016 · 1 comment
Open

Field for relationship multiple upload files #255

lhas opened this issue Jul 29, 2016 · 1 comment

Comments

@lhas
Copy link

lhas commented Jul 29, 2016

Hi, @serverfire ! This plugin is really awesome. Congratulations for the work.

I have one question: you have any ready solution for fields where will be upload multiple files?

For example:

  1. Posts table
    title, content: string;

  2. PostImages table
    post_id: foreign;
    photo: file;

So if i'm adding a new Post, i can see one field called "Post images", where is a with multiple="true", or Dropzone.js (maybe).

I'm creating a field for this, i just want to know if the community has one solution ready for this.

Thanks for all!

@Fragger5000
Copy link

In my opinion this feature involves rapyd (that is included in LaravelPanel).

I'm relatively new to backend development in Laravel, but in this case I think that a possible way consists in the development of a specific CRUD that includes DropzoneJS http://www.dropzonejs.com/ or a jquery plugin like this: https://blueimp.github.io/jQuery-File-Upload/

on the MySQL side we need to store a JSON record to a TEXT or JSON field (it depends on the version of MySQL).

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

No branches or pull requests

2 participants