[TYPO3-core] RFC #17116: Bug: All images get reduced to 25x25px upon saving if no size is set

Susanne Moog typo3 at susannemoog.de
Tue Jan 18 16:01:54 CET 2011


Hey,

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 ;)

Best regards,

Susanne

-- 
What's worth the price is always worth the fight
Every second counts 'cause there's no second try

TYPO3 Core Team Member
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 17116.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20110118/4d64bab4/attachment.asc>


More information about the TYPO3-team-core mailing list