[TYPO3-ttnews] Render news image as css background image
Sacha Vorbeck
vorbeck at TYPO3Tutor.de
Thu Sep 16 02:17:53 CEST 2010
Hi,
I`d like to display the images in a news list view as CSS-background
images like this:
<div style="background: url('image.jpg';)">
<h1>Title</h1>
<h2>Subheader</h2>
</div>
I guess it should work somehow like this:
displayList {
image.cObject = RECORDS
image.cObject {
dontCheckPid = 1
tables = tt_news
source.data = this / setcurrent
conf.tt_news = IMG_RESOURCE
or maybe even image.cObject = IMG_RESOURCE directly. But how?
Can someone help me here?
--
thank you - all the best,
Sacha
More information about the TYPO3-project-tt-news
mailing list