How would one go about changing the order of images in a list of images using the dropzone and drag/drop groups. Here is how I initially set it up:
Dropzone Group -> Draggable Group -> Image Uploader
When Image uploader is not empty hide image uploader and set image for that particular spot as a item# in a list of images for a listing. Then set the draggable group’s background image to be the listing’s image item # in the list. This worked like a charm but when now trying to set the listing images Item# via dropping the draggable group to the respective item number for that dropzone, I’ve run into a block. I just can’t seem to figure it out.
I imagined that when I dragged a draggable group over the dropzone, it could change the data of the listing image to set the item# to the dropzone’s item number using the drop action in workflow and then by reloading the data of the group showing the image in the new location and pushing the other images to their respectable next placements in the list. I just can’t seem to get it to work in this fashion. Can anyone suggest either a better way to accomplish this or how to accomplish this workflow effectively?
Thank you ahead of time.