hallo zusammen,
wie kann ich es schaffen per typoscript in meiner ext ein thumbnail im frontend auszugeben und gleichzeitig um das img-tag einen link zu machen? ich muss es jedoch unbedingt mit file machen, ich hoffe man kann darum dann trotzdem einen link wrappen:
$TSConf['file'] = 'uploads/tx_ffReferences/' . $imageFileName;
$TSConf['file.']['width'] = $maxImageWidth;
$TSConf['file.']['maxH'] = $maxImageHeight;
$TSConf['file.']['uidReference'] = $uidReference;
ich bedanke mich im voraus für mögliche antworten!
vg, roland
Aktuelles Beispiel von mir, alles drinnen was du brauchst:
$imgTSConfig = array();
$imgTSConfig['file'] = 'uploads/tx_mhsimplegallery/' . $row['image'];
$imgTSConfig['file.']['maxW'] = $this->conf['topImageMaxWidth'];
$imgTSConfig['file.']['maxH'] = $this->conf['topImageMaxHeight'];
$imgTSConfig['altText'] = $row['title'];
$imgTSConfig['titleText'] = $row['title'];
$imgTSConfig['params'] = $this->conf['topImageParams'];
$content = $this->pi_linkTP($this->cObj->IMAGE($imgTSConfig),array($this->prefixId.'[image]'=> $row['uid']),'',$this->conf['single_pid']);