Skip to content
This repository has been archived by the owner on Nov 20, 2018. It is now read-only.

Feature Request: Re-order images with drag n drop. #2046

Open
3 tasks
markskayff opened this issue Aug 24, 2018 · 5 comments
Open
3 tasks

Feature Request: Re-order images with drag n drop. #2046

markskayff opened this issue Aug 24, 2018 · 5 comments

Comments

@markskayff
Copy link

Type of issue

  • Bug report
  • [x ] Feature request

Uploader type

  • [x ] Traditional
  • S3
  • Azure

Note: Support requests cannot be accepted due to lack of time.

Feature Request: Allow to re-order images in the drag n drop area updating an index attribute in them
Feature Request: Allow to re-order images in the drag n drop area updating an index attribute in them

Feature request details

Add the possibility of re-ordering images once uploaded. Assign an index to every image and allow re-ordering them through drag n drop.

We are building this interface where first we are uploading the images to our local server, and then later after posting a form, this images will fly to a remote location. As part of the requirements for the job we have "the chance of ordering the uploaded images before submitting"

@singhjusraj
Copy link
Member

Would you be willing to open a PR with changes?

@markskayff
Copy link
Author

Hi SinghSukhdeep,

Yeah, maybe it'd be an option. Thanks for your comment, I'll consider it.

@singhjusraj
Copy link
Member

Although I don't actually see how would this be beneficial.
Ordering the images in the UI doesn't really matter as this order wouldn't sustain once images go to your server.
I don't quite understand what exactly you are trying to do, can you maybe clarify a bit.
Otherwise I don't see this being implemented ever.

@markskayff
Copy link
Author

Yes, it does matter.
We have an web app where we upload images to a remote server. The user will be able to select the images order, these are sent in a specific order to the server, and it's how they are displayed in the remote application.
So it does matter.

@rnicholus
Copy link
Member

rnicholus commented Oct 13, 2018

these are sent in a specific order to the server

Instead, I'd suggest including some metadata/params to send along with each file to indicate the "order". You can build ordering into the UI, but without changes to the uploader code as well, they won't actually upload in the new order. I don't anticipate this being a simple change either, and probably not worthwhile to introduce that sort of additional complexity into the codebase with only one use case.

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

3 participants