[TYPO3-core] RFC #0016111: Feature - Change the layout of thumbnails and allowed file types so that they don't waste so much space anymore

JoH asenau info at cybercraft.de
Fri Oct 22 15:42:32 CEST 2010


This is a SVN patch request.

Type: Feature

http://bugs.typo3.org/view.php?id=16111

Branches: trunk

Problem:
While rendering TCEforms of Content elements "Images" or "Text & Images" the layout of the thumbnails wastes a lot of space especially when there are many images within the same element.
The filename is visible on mouse over anyway and there is definitely no need to mark the thumbnail of an image with a "this is an image" icon.

Solution:
Attached patch changes the layout for image fields of the type "group => files" only, while leaving the original layout as is for the other group fields including the "mixed filetypes" variant of "files".
Instead of rendering the image + an image icon + the image file name in a long row, it reduces the layout to show just thumbnails set to inline-block while hiding the icons and the file name.
Additionally this patch will change the layout of the allowed filetypes by removing nowrap and reducing the font size.

Cheers

Joey

-- 
Wenn man keine Ahnung hat: Einfach mal Fresse halten!
(If you have no clues: simply shut your gob sometimes!)
Dieter Nuhr, German comedian
Xing: http://contact.cybercraft.de
Twitter: http://twitter.com/bunnyfield
TYPO3 cookbook (2nd edition): http://www.typo3experts.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t3lib_tceforms.diff
Type: application/octet-stream
Size: 3756 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101022/531205a7/attachment.obj>


More information about the TYPO3-team-core mailing list