[TYPO3] crop grafic

Costa Papadopoulo copa at hol.gr
Fri May 9 21:09:31 CEST 2008


"ries van Twisk" <typo3 at rvt.dds.nl> schrieb im Newsbeitrag 
news:mailman.2089.1210330013.3426.typo3-english at lists.netfielders.de...
> Look at crop - scaling in TES..
>
> Ries
>

Thanks,

I tried the following and achieved to crop the image.
So far so good.

tt_content.textpic.20.1.file {
  quality = 100
  format  = png
  width.field >
  width  = 200c
  height = 200c
  width.override  = 200c
  height.override = 200c
  maxW = 200
}

But when I try to make a mask with magnifier than both images are beside 
each other instead above each other.
My code::
tt_content.textpic.20.1.file.m.bgImg  = fileadmin/img/lupe_black.gif
tt_content.textpic.20.1.file.m.mask   = fileadmin/img/lupe_black.gif
tt_content.image.20.1.file.m.bgImg.XY = 20,20
tt_content.image.20.1.file.m.width  = 20
tt_content.image.20.1.file.m.height = 20

What can I doo, that the mask overlays the image and _not_ lays beside?

Costa 




More information about the TYPO3-english mailing list