[TYPO3-templavoila] Thumb generation of DS and TO previewIcon

Ian Solo ian at webian.it
Mon Mar 9 16:00:51 CET 2009


Hi,

Steffen Kamper wrote:
> i found the readson, icon path is set by 
> t3lib_div::getIndpEnv('TYPO3_SITE_URL'), generated path will be
> gfx/http://...
>
> as it is used in inline-css it has to be relative, so correct path 
> would be
> $iconPath = '../../uploads/tx_templavoila/';
> not nice i know, do you have a better idea?

What about make a left trim of the first 4 characters?
Too bad hack? :P

Regards,
ian



More information about the TYPO3-project-templavoila mailing list