Hi Hi Thanx again Bernhard. I've tried it with 'JSwindow.altUrl' (http://typo3.org/documentation/document-library/doc_core_tsref/imageLinkWrap/) - but if this returns a value showpics.php is no longer used. so back to the start :( andreas