[TYPO3] Third try: Print a list of image filenames to the page?

Christopher bedlamhotel at gmail.com
Sun Sep 24 19:35:45 CEST 2006


On 9/24/06, Heiner Lamprecht <heiner at heiner-lamprecht.net> wrote:
> Hi Mike,
> On Thursday 21 September 2006 01:24, Mike wrote:
> >
> > I've literally spent 5 full days on this. I've asked in this
> > group twice before. I've read the documentaton thrice over.  Can
> > this be done in typo3 at all?
> Sure ;-)
> But I assume, you can not do it only with TypoScript.  I think, you
> need to write an extension, that re-implements the cImage()
> function.

I assume that you assume incorrectly--this sounds like a perfect job
for the select function [1].

But Mike, /why/ do you want to do this with a content element instead
of in the 'files' field in the 'Edit page properties dialogue'? Your
php sample shows a comma-separated list of images, and this is how
file references are stored in the pages table. To get what you want is
extremely simple in TS:

page.10 = HTML
page.10 {
  value {
    data = page:media


[1] http://typo3.org/documentation/document-library/references/doc_core_tsref/current/view/5/5/

More information about the TYPO3-english mailing list