[TYPO3-core] RFC #17116: Bug: All images get reduced to 25x25px upon saving if no size is set
Ernesto Baschny [cron IT]
ernst at cron-it.de
Tue Jan 18 16:08:22 CET 2011
Susanne Moog schrieb am 18.01.2011 16:01:
> This is an SVN patch request.
>
> Type: Bug
>
> Bugtracker references:
> http://bugs.typo3.org/view.php?id=17116
>
> Branches:
> trunk
>
> Problem:
> Open an image element in the backend that has no size definitions.
> Save.
> Image sizes are set to 25x25, you don't have a possibility to unset and
> therefore no possibility to use the image in its original size.
>
> Technical problem:
> The value in tcaFieldConf['checkbox'] is added to the allowed values,
> even if it's out of range, so after 16028 where this setting was removed
> from the core fields '0' as a value for imagewidth or height became
> invalid because it's out of range.
>
> (It's probably worth an additional bug to ask why images can only be
> wider than 25px and smaller than 999px)
>
> Solution:
> After thinking a bit and talking with Ernesto the best solution seems to
> be to always allow the default value as field content - even if out of
> range (because if it's the default it should be allowed, right?)
>
> I consider this bug as show-stopper and kind of no-brainer at the same
> time ;)
Nice catch and nice easy solution! +1 by reading and testing.
Cheers,
Ernesto
More information about the TYPO3-team-core
mailing list