[TYPO3-UG Dutch] Mysql
Barbara Wijbenga
bwijbenga at chello.nl
Thu Sep 4 11:35:07 CEST 2008
Hallo Paul,
Dit is de php code die ik altijd gebruik om afbeeldingen te resizen:
-------------------------------------------------------------------------------
$image_conf = array(
'file' => 'uploads/tx_mmhutinfo/'.$row['image'],
'file.' => array(
'maxW' => 100,
'maxH' => 125,
),
'params' => "style='border:1px solid black;'",
'imageLinkWrap' => 1,
'imageLinkWrap.' => array(
'enable' => 1,
'bodyTag' => '<body style="margin: 0px;">',
'wrap' => '<a onfocus="this.blur()" href="javascript:window.close();"> |
</a>',
'width' => '800',
'JSwindow' => '1',
'JSwindow.' => array(
'newWindow' => 1,
'expand' => '0,0',
),
),
);
-------------------------------------------------------------------------------
Het imageLinkWrap gedeelte zorgt ervoor dat er een grote foto getoond wordt
als je op de kleine klikt. Dit kun je uiteraard ook uit zetten.
Hiermee laat je de gemaakte afbeelding zien:
$this->cObj->IMAGE($image_conf)
Groeten,
Barbara
"paul" <paul at exxtra.nl> wrote in message
news:mailman.1.1220520100.4244.typo3-ug-dutch at lists.netfielders.de...
> Pim thanks het werk perfect.
>
> Nog even een alg vraag is er een manier om de thumbs foto's te tonen
> inplaats van iedere keer de foto's uit de file list
>
>
> Paul
More information about the TYPO3-UG-dutch
mailing list