17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1398 Views |
-
Scaling images in ComplextTableField (CMS)

9 May 2008 at 6:22pm Last edited: 9 May 2008 6:22pm
i have a ComplexTableField with two text columns and a single image column. i want the image column to show a preview/thumbnail/scaled version only. i know how to do this on the client side, but not sure on the CMS side.
cheers in advance.
-
Re: Scaling images in ComplextTableField (CMS)

10 May 2008 at 11:29am
have a look at http://doc.silverstripe.com/doku.php?id=imagefield
-
Re: Scaling images in ComplextTableField (CMS)

10 May 2008 at 12:26pm
Do you mean in the CTF's pop-up window, or in the table itself?
-
Re: Scaling images in ComplextTableField (CMS)

10 May 2008 at 12:37pm
> Do you mean in the CTF's pop-up window, or in the table itself?
in the table itself
-
Re: Scaling images in ComplextTableField (CMS)

10 May 2008 at 2:11pm
hm, don't think anybody tried this yet, but turns out its no problem
see http://pastie.caboo.se/194674
see http://doc.silverstripe.com/doku.php?id=gd&s=image and http://doc.silverstripe.com/doku.php?id=imageupload on how to create your own thumbnails (size, compression, padding, ...)
-
Re: Scaling images in ComplextTableField (CMS)

12 May 2008 at 1:00pm
thank you. this worked like a charm
| 1398 Views | ||
|
Page:
1
|
Go to Top |



