#49653Image Resize & typolink in extbase extension in TYPO3 6.1.1
Description
Hi,
I have a problem with resizing image and making typolink in repository file of extbase extension in typo3 version 6.1.1.
Its already working in the typo3 4.7.7 extbase extension.
I have used below code and its showing me error:
Fatal error: Class ‘TYPO3\Profile\Domain\Repository\t3lib_div’ not found in repository class file.
$this->cObj = t3lib_div::makeInstance(‘tslib_cObj’);
$imageObj[‘img’]=‘IMAGE’;
$imageObj[‘img.’][‘file’]= “uploads/tx_download/”.$row[“image”];
$imageObj[‘img.’][‘file.’][‘width’]=‘80’;
$imageObj[‘img.’][‘file.’][‘height’]=‘115’;
$imageObj[‘img.’][‘file.’][‘params’]=’-quality 100’;
$image = $this->cObj->IMG_RESOURCE($imageObj[‘img.’]);
Can anyone help me in finding the solution?
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.