I think JQuery Cycle Plugin will give you 50% of the way. This object is quite easy to use, and I think that it will give you the opportunity to "click with the mouse to get more" that you are after (with some pretty nice transition effects).
However, I only used the plugin with all the images defined on the page. In my case, I did a βslide showβ to demonstrate the use of the application. HTML was pretty simple ...
<div id="slideshow"> <img src="Images/Usage1.png" /> <img src="Images/Usage2.png" /> <img src="Images/Usage3.png" /> <img src="Images/Usage4.png" /> <img src="Images/Usage5.png" /> <img src="Images/Usage6.png" /> <img src="Images/Usage7.png" /> <img src="Images/Usage8.png" /> <img src="Images/Usage9.png" /> <img src="Images/Usage10.png" /> </div> <a href="javascript:moveSlide('prev');" style="float: left;">< Prev</a> <a href="javascript:moveSlide('next');" style="float: right;">Next ></a>
JavaScript related ...
function moveSlide(direction) { $("#slideshow").cycle(direction); }
(Click here to see the effect.)
As for solving the additional problem of uploading new images, when the user wants to get a few more, I think that this is just a matter of expanding the code behind the Next link in my example. Your code would do a jQuery AJAX call to get the following images and then add them to the slide show div.
Finally, this leaves the functionality of clicking on the image to go to the site. You can try to place img slide tags inside the corresponding a tags. If the loop plugin does not play with a tags, the onclick event handlers on the images should complete the task.
Aron boyette
source share