Login | Forgot password | Register
What is OpenID?
OpenID is an Internet-wide identity system that allows you to sign in to many websites with a single account.
With OpenID, your ID becomes a URL (e.g. http://username.myopenid.com/). You can get a free OpenID for example from myopenid.com.
For more information visit the official OpenID site.
Data Model Questions
SilverStripe Forums » Data Model Questions » [SOLVED] Image thumbnail in list action (DataObject / ModelAdmin)
|
Page:
1
|
Go to End | |
| Author | Topic: [SOLVED] Image thumbnail in list action (DataObject / ModelAdmin) | 745 Views |
-
[SOLVED] Image thumbnail in list action (DataObject / ModelAdmin)

2 July 2009 at 1:12am Last edited: 5 October 2009 11:14pm
Hi,
I was wondering if it's possible to display a thumbnail of an image in the list overview in a DataObject managed by ModelAdmin.
I've tried casting it but so far without luck.Any help is appreciated, cheers.
Geert
-
Re: Image thumbnail in list action (DataObject / ModelAdmin)

6 July 2009 at 11:44pm
Take a look at this: http://silverstripe.org/general-questions/show/263476?start=0#post263669
-
Re: Image thumbnail in list action (DataObject / ModelAdmin)

5 October 2009 at 11:13pm
simon_w on IRC helped me solve this issue
just add <fieldName>.CMSThumbnail.Tag to $summary_fields and you're set to go.static $has_one = array(
'TickerImage' => 'Image'
);
static $summary_fields = array(
'TickerImage.CMSThumbnail.Tag'
);
| 745 Views | ||
|
Page:
1
|
Go to Top |


