Dear all.

We have developed a web app that has an image gallery, its basically a whole bunch of image thumbnails with paging. Periodically images are entered into the database and they should appear in the gallery (if the user is on the last page).

Firstly is it possible to show the new thumbnail with ajax? IE, when a new image arrives the Ajax script will get the image info from the server and then show the new thumbnail on the page without the user having to refresh their browser.

One thing I can definitely see as a problem is that how is Ajax going to populate the <td> with the img? or must it just show the <img> with an ID and then no src. SO when the image arrives Ajax can set the src for the img id? Also not even sure if this is possible.

Have looked at:

but wanted to see what feedback.