[TYPO3-english] Resizing the images dynamically by TypoScript

Rozita Pourashraf pourashraf at gmail.com
Wed Sep 30 14:24:32 CEST 2015


Hi everybody,
I want to resize the images dynamically by TypoScript in Typo3.
For that I get the width and height from WURFL extension. My code is:

10 = IMAGE
   10.file = USER_INT
   10.file.userFunc {
     width = user_get_screen_width
     height = user_get_screen_height
     import = /fileadmin/templates/images/content/
     import.field = image    
   }

But nothing happens. Do you have any idea?




More information about the TYPO3-english mailing list