What you're asking is a very specific usage of this script, so I'm not surprised nothing came up on the forums. It depends on what you mean by "copy" the image. The onpanelclick event can be used to accomplish some of what you're looking for, though from the sound of it, not all of it. In other words, your own familiarity with JavaScript would be needed. Just to get you moving in the right direction, one way to add the clicked on image within the gallery to another DIV through onpanelclick would be something like:
Code:
onphotoclick:function(thumbref, thumbindex, thumbfilename){
var newimage=document.createElement("img")
newimage.src=thumbref.src
document.getElementById("anotherdiv").appendChild(newimage)
}
In the above case, when a gallery image is clicked on, it "clones" that image and adds it to the DIV with id="anotherdiv" on the page.
Bookmarks