What is the best solution/API for this? On my site users upload image, tag then and more. Instead of displaying the normal page where it shows the image and info (date, desc, user comments, etc) I want it to go to the next/prev image. Preferably with preloading. This code could be done either in flash or javascript, but I would need a way to give the user a link so they can pass it to someone else to continue at the same point.
Another thing I would like to support is a 'gallery' mode where it displays thumbs of multiple images and allows scrolling through them.
Is there an API I should use or should I hand-roll gallery and slideshow code?