[TYPO3-english] Images list on tt_news
Tomas Mrozek
mail at cascaval.com
Fri Sep 25 09:29:00 CEST 2009
Try to build the image "yourself". In other words, override the image
generation by using "stdWrap" of the image and define it as IMAGE with
the attribute "params".
Example:
-------
plugin.tt_news.displayList.image >
plugin.tt_news.displayList.image.stdWrap.cObject = IMAGE
plugin.tt_news.displayList.image.stdWrap.cObject {
params = style=""
...
file = GIFBUILDER
file {
format = jpg
quality = 100
XY = [10.w],[10.h]
10 = IMAGE
10.file {
import = uploads/pics/
import.field = image
import.listNum = 0
}
}
...
}
It definitely works for "plugin.tt_news.displaySingle.image". Whether it
will actually work for "plugin.tt_news.displayList.image" is up to you
to find out.
Tomas Mrozek
More information about the TYPO3-english
mailing list