I know you can set transitions per image (which is annoying when you can set a global one), but surely if all the images in a gallery are set to "slide from right" and someone presses the left arrow it should slide from the left.
That exception should be considered, all other types are fine - but it does not look natural to see it slide back the wrong way!
I've hardcoded it myself:
if (prev){
index = ((this.currentIndex-2) < 0) ? (this.slideLength-1) : (this.currentIndex-2);
if (this.arrSParams[index].transition == 'slideright'){
this._transition('slideleft');
}
else {
this._transition(this.arrSParams[index].transition);
}
} else {
this._transition(this.arrSParams[this.currentIndex-1].transition);
}
But can we not have this built in please?
Also, global transitions? ... I've a client that needs to upload hundreds of images, it's tedious :(
Otherwise, awesome work!