You must pass the photo id in paramaetr to the _javascript_ function:
and the function should open a template that will get and display the image ( I suppose in full size)

<SCRIPT language="_javascript_">
function newwindow(photoId)
{
window.open("fullImage.cfm?id=" + photoId,''jav','width=700, height=474, screenx=200, screeny=150,
left=200, right=150, resizable=no, scrollbar=yes, toolbar=no, location=no,
menubar=no, directories=no');
}
</SCRIPT>

The Image Link:  (Which has to contain the dynamic variables for PhotoID &
EventID)

<CFLOOP Query="GetPhotos">

<CFOUTPUT>

<CFLOCK Scope="Session" Type="ReadOnly" Timeout="15">

<CFX_ImageCR Source="#GPGP##GetPhotos.PhotoFileName#" Width="150">

<a
href=""> tID#" true;">
<IMG Src="" Border="1"></A>

[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to