lochmueller / perfectlightbox

TYPO3 CMS Extension - perfectlightbox
http://typo3.org/extensions/repository/view/perfectlightbox
3 stars 9 forks source link

Call to undefined method TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer::IMAGE() #12

Closed sterborg closed 5 years ago

sterborg commented 5 years ago

Error thrown in file Classes/Perfectlightbox.php in line 171

Possible solution: Replace

$theImgCode .= $pObj->local_cObj->IMAGE($lConf['image.']) . $pObj->local_cObj->stdWrap(

with

$theImgCode .= $pObj->local_cObj->cObjGetSingle('IMAGE', $lConf['image.']) . $pObj->local_cObj->stdWrap(

in line 171.

lochmueller commented 5 years ago

Good point. Is changed in current master 👍

kitzberger commented 4 years ago

Thanks, it's working! Care to put a new release to packagist and TER?