rtp-ch / rtp_imgquery

Responsive and fluid image techniques for TYPO3
Other
28 stars 0 forks source link

Enlarge images only if the source image is large enough #1

Closed Patta closed 11 years ago

Patta commented 11 years ago

Currently also images are enlarged to 800 pixels for example, even if the image is 400 pixels wide. As a result, images are blurred.

Can you integrate an option that prohibits this? THX

(english via googletranslate)

simontuck commented 11 years ago

I've added a comment to the documentation, which describes how you can disable the fluid CSS behaviour of the extension. If that doesn't help then it could be that TYPO3 is also enlarging images when resizing. If that's the case you should disable this behaviour globally in your TYPO3 configuration:

$GLOBALS['TYPO3_CONF_VARS']['GFX']['im_noScaleUp'] = '1';
Patta commented 11 years ago

Thanks for the help with the configuration!