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
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


This tutorial seems to answer your question: