[Typo3] Imagegallery without Imagemagick

Jan Bednarik info at bednarik.org
Mon Feb 7 22:51:08 CET 2005


> So gname wouldn't be coded in the php but would need to come from the dbase. 
> $gname = 'fileadmin/kasarna/galleries/kasarna/';
> $p = opendir($gname);
You may pass it by conf array.

> How did you implement your script in typo3 ? Did you use the 'Page PHP
> Content' plugin ?
I use it in a template
page.20 = PHP_SCRIPT
page.20.file = fileadmin/.../gallery.php

here you can pass a name of a gallery
page.20.gallery = whatever

and than use it like
$gname = $conf['gallery'];

Sure, it can be used for a extension, as you wish.

Jan Bednarik



More information about the TYPO3-english mailing list