[TYPO3-english] single image link

Tomaz Zaman tomaz at optiss.si
Wed Oct 14 11:26:12 CEST 2009


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 = 800m
       parameter.override.cObject.file.maxH = 600
       ATagParams = class="image"
     }

}

Tomaz Zaman wrote:
> 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. Currently the link looks like this:
>
> <a target="thePicture"
> href="index.php?eID=tx_cms_showpic&file=uploads%2Fpics%2Felton.jpg&width=500m&height=500&
> .... and so on
>
> What i want is simple anchor like:
>
> <a href="typo3temp/resizedimage.jpg alt=""/>
>
> Can it be done?
>
> Thanx
>
> Tomaz Zaman


More information about the TYPO3-english mailing list