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

[Panel] File/Image Selector Field #263

Closed
wottpal opened this issue Mar 20, 2018 · 1 comment
Closed

[Panel] File/Image Selector Field #263

wottpal opened this issue Mar 20, 2018 · 1 comment
Labels
type: feature 🎉 Adds a feature (requests → feedback.getkirby.com)
Milestone

Comments

@wottpal
Copy link

wottpal commented Mar 20, 2018

I know there is the files field but often I have pages with a lot of images already uploaded (e.g. in a gallery) and just want to pick one of them for the page-cover without re-uploading it. What would be the best way to do this with Kirby 3?

Maybe an selectAlreadyUploaded: true option in the files-field could also (beside uploading) enable selecting any other previously uploaded file. This could also be the default.

@distantnative distantnative changed the title [Panel] How to select an image? [Panel] File/Image Selector Field Mar 22, 2018
@distantnative distantnative added the type: feature 🎉 Adds a feature (requests → feedback.getkirby.com) label Mar 22, 2018
@wottpal
Copy link
Author

wottpal commented Apr 6, 2018

To solve this issue it would be sufficient to implement drag'n'drop between multiple files-fields. Some ideas/rules for that:

  • Files are not actually moved but copied. There could also be a modal which asks for "Copy or Move" after the drop.
  • Of course, only files with matching rules can be received
  • If the max-capacity of the receiving-field is not yet reached the file will be added (and the visual dropzone is an additional item-rect)
  • If the max-capacity of the receiving-field is reached the dropzones are the item(s) itself and when the user drops the item a "Do you want to replace this file" confirmation modal appears.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type: feature 🎉 Adds a feature (requests → feedback.getkirby.com)
Projects
None yet
Development

No branches or pull requests

3 participants