[TYPO3-english] Image resizing problem in tt_news single view

PIT Solutions typo3 at pitsolutions.com
Mon Apr 1 14:35:19 CEST 2013


For fixing this I hacked the extension. I think this is not a good solution, but I've no other options.

Added these two lines of code in " /typo3conf/ext/tt_news/pi/class.tx_ttnews.php" file, line number 2316 (After this line of code : $lConf['image.']['file'] = 'uploads/pics/' . $val;)

  $lConf['image.']['file.']['width'] =  $lConf['image.']['file.']['maxW'];
  $lConf['image.']['file.']['height'] =   $lConf['image.']['file.']['maxH'] ;

 Hi PIT Solutions,

PIT Solutions wrote:

> Is it's a bug in tt_news extension? Is there any method to fix this?
> I am in trouble.Please help me,

Check the single view template if the setting is used at all.

Best regards
Philipp Gampe – PGP-Key 0AD96065 – TYPO3 UG Bonn/Köln
Documentation – linkvalidator
TYPO3 .... inspiring people to share!

TYPO3-english mailing list
TYPO3-english at lists.typo3.org

More information about the TYPO3-english mailing list