ImageSlide

Hi,

i want to build an image viewer. ive loaded all files from a directory
via db. what i want now is a canvas and when i klick "left" the next
image of the array should be drawn in the canvas and when i click
"right"
the previous image should be drawn. i want to do this with ajax. so i
have got two controller actions "left" and "right" and a maximum value
for the files in the array in the
"get_current_files_in_current_folder" action. how do i go on? please
please help me

regards

This tutorial seems to answer your question:
http://patshaughnessy.net/2010/4/28/how-to-create-a-slideshow-using-jquery-and-rails-in-10-minutes-or-less