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

Ernesto Baschny [cron IT] ernst at cron-it.de
Mon Nov 15 22:56:41 CET 2010


Hi,

here's my v4 which checks if the list of "allowed" extensions is
completely a subset of the "image_ext" list instead of relying that both
lists are the same. Joey, as discussed in the chat.

Other than that I tried to make the file uploader input field scale
according to its need, but it turns out to be very complex, as this
field is generated on a completely other place than the thumbnail list.
So instead of hacking around, I just reduced the size of the default
file-input field (from 60 to 35), thus making it look nice in FF and
also in IE's.

Attached v4.

Cheers,
Ernesto

Susanne Moog schrieb am 23.10.2010 17:23:
> On 23.10.2010 00:33, JoH asenau wrote:
>>> 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.
>>
>> After discussing the styling of the thumbnails with Susanne Moog, this is
>> version 2 of the patch, that makes them look more like professional slides
>> put on a lightbox.
> 
> +1 for the look of the single thumbnail itself now, but still ... I
> don't really like the positioning. Find attached a screenshot
> (withv2.png) of what I mean, if you have lots of images, it looks really
> strange.
> 
> I tried to come up with another solution (v3), but there is a problem
> with that version, too, as you can see on the after3.png - too much
> space between caption and the thumbnail selector. I tried to correct it
> using max-width but that won't work in our most beloved browser.
> 
> Anybody got a better idea?
> 
> Thx,
> 
> Susanne

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: t3lib_tceforms_v4.diff
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101115/670657c2/attachment.asc>


More information about the TYPO3-team-core mailing list