Solved it, here is the solution for anyone interested:
imageLinkWrap = 1
imageLinkWrap {
enable = 1
typolink {
parameter.override.cObject = IMG_RESOURCE
parameter.override.cObject.file.import.data =
TSFE:lastImageInfo|origFile
parameter.override.cObject.file.maxW =
Hey, i'm displaying some images with tt_news extension, and on the
single view there are some thumbnails, which i can click on and they
will pop up in a new window. The problem is, however, i don't want a new
window, and i dont want the javascript frame, i just want a link to full
sized image.