Project

General

Profile

Actions

Bug #20149

closed

Support thumbnails for select using icons in TCEforms

Added by Steffen Kamper over 15 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-03-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

In TCA you have the possibility to show icons below the select.
A famous example is TemplaVoilá where you use icons (previewicons) for DS-records and TO-records.

These icons are uploaded to the records and displayed in page and tt_content to allow user an easy way to select the used template or element.

The drawback is that you have no control about the imagesize of these icons, they are drawn 1:1 size.

The attached patch introduce new option in config for select, here is an example

'config' => Array (
'type' => 'select',
'items' => Array (
Array('',0),
),
'allowNonIdValues' => 1,
'itemsProcFunc' => 'tx_templavoila_handleStaticdatastructures->dataSourceItemsProcFunc',
'size' => 1,
'minitems' => 0,
'maxitems' => 1,
'suppress_icons' => 'IF_VALUE_FALSE',
'makeThumb' => 1,
'thumbSize' => '80x80',
)

the new option is:
makeThumb ; if set, icons are thumbnailed
thumbSize: if set this size is used, if it's ommitted the default thumbsize (56x56) is used

(issue imported from #M10645)


Files

10645.diff (1.53 KB) 10645.diff Administrator Admin, 2009-03-10 08:44
Actions #1

Updated by Xavier Perseguers almost 13 years ago

  • Assignee deleted (Steffen Kamper)
  • Target version deleted (0)
Actions #2

Updated by Alexander Opitz almost 10 years ago

  • Status changed from Accepted to Needs Feedback
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (6.2.9)?

Actions #3

Updated by Alexander Opitz over 9 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this issue.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF