[TYPO3-mvc] viewHelper: ImageViewHelper - short question
Steffen Kamper
info at sk-typo3.de
Wed May 20 11:27:50 CEST 2009
Hi Susanne,
Susanne Moog schrieb:
> Hi,
>
> first I have to say: wow! I just started with my own shiny extbase/fluid
> extension this morning and I can't believe I'm already as far as I am
> (it's nothing big or fancy but still it was fairly easy to learn until now).
>
> Now I just found a little inconsistency and wanted to ask if it's wanted
> that way:
>
> The image view helper expects the value of "width" and "height" to be
> strings (so you can enter 100px) whereas the maxWidth etc. is expected
> to be an integer. Shouldn't they handle input the same way? (I switched
> from width to maxWidth and got a fatal error because of the "px")
>
maxWidth is TS and has to be integer, so the error is correct. The
handling of those values are all explicit px, there was a patch using em
here, but didn't passed review process yet.
vg Steffen
More information about the TYPO3-project-typo3v4mvc
mailing list