Hi, I am sorry but I am not familiar with thickbox or lightbox. I do not know how those behave. If you want to click on one image and to load a big image somewhere yes, you are right you must input your code where getURL is.
Send me an e-mail to razvan [ at ] oxylus [ dot ] ro with both projects and I will look into them and give you a quote.