Project

General

Profile

Actions

Feature #14667

closed

Make the thumbnail-size of filelinks chooseable

Added by Marco Geweke over 19 years ago. Updated almost 18 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2005-04-13
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The filelink-element is abled to render nice little thumbnails of image files, but there is no simple configuration option to set a different size for these thumbnails than the default "56x56". Although you can replace the default-icon with a custom-cObject, i prefered this alternative:

I patched two lines in tslib_content, so that you can change the size of the thumbnails in the ts-setup of the filelink-element.

Example:

1.filelink {
icon_thumbSize = 100
}

This will render all image-thumbnails in max 100x100 pixels.

The unified diff is attached as file. I would like to see it in 3.8.0 final if possible :)
(issue imported from #M975)


Files

tslib_content_diff.txt (1.06 KB) tslib_content_diff.txt Administrator Admin, 2005-04-13 18:31
11_thumbs_size.diff (733 Bytes) 11_thumbs_size.diff Administrator Admin, 2005-04-29 14:15
Actions

Also available in: Atom PDF