I am developing a website on laravel, in which each news has its own slider (from 3 to 7 slides, that is, pictures). And nothing difficult, but you need to do that in order to create news, you could specify the order of images in the slider, and when news changes, replace existing images in the slider and change slides (images) in places.
On the Internet, there are many examples of multi-loading images, but that would be able to indicate the position of the image - I did not find anything like it.
I tried to create news using jquery sortable to do that bi-input with images swapped. This, as it were, solves the problem of indicating a position. But to do this with news editing, when you need to change positions and, at the same time, change / delete / add images - this is already problematic (probably even a crutch), if at all possible.
Maybe someone faced this task? I will be glad to any help and advice in the concept and solution of this problem. In particular, the structure of the database is of interest: is it better to save pictures in the news table or create a separate table with slides that will be tied to the news id?
Sorry for the blur and lots of letters.