Support #32352
fixed image-size
| Status: | Resolved | Start date: | 2011-12-06 | |
|---|---|---|---|---|
| Priority: | Should have | Due date: | ||
| Assignee: | Josef Florian Glatz | % Done: | 0% |
|
| Category: | Frontend | |||
| Target version: | - | |||
| TYPO3 Version: | 4.5 | Has patch: | No | |
| PHP Version: | 5.2 | |||
| Votes: | 0 |
Description
Hey,
fist of all, thanks for this wonderful tt_news replacement.
Have been waiting' for this for so long. :)
To the subject:
Is it possible to set a fix size for the images via ts like in tt_news?
plugin.tx_news.settings.list.media.image.Height = 50c
plugin.tx_news.settings.list.media.image.Width = 100
MaxWidth/Height doesn't fit my/the clients needs. :(
(see attachment)
Happy Nikolaus, Wulf :)
History
Updated by Josef Florian Glatz over 1 year ago
- Subject changed from fix image-size to fixed image-size
- Status changed from New to Resolved
- Assignee changed from Georg Ringer to Josef Florian Glatz
Hello Wulf,
there's no need to change anything in news. You can solve this using normal fluid stuff. Take a look:
1 plugin.tx_news.settings.list.media.image.Height = 50c 2 plugin.tx_news.settings.list.media.image.Width = 100
1 <f:image src="uploads/tx_news/{mediaElement.image}" width="{settings.list.media.image.Width}" height="{settings.list.media.image.Height}" />
This is why I love tx_news, extbase & fluid <3 ^^
Updated by wulf over 1 year ago
omg, its so damn easy... :D
Have to get used to the kindness of fluid ;)
Thank u very much for ur fast reply.