17488 Posts in 4473 Topics by 1978 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1136 Views |
-
Automatically Resizing Images

7 December 2007 at 9:56am
Howdy
I'm using the latest Silverstripe release for a website of mine (2.2.3 RC2 or something) and wish to have all images that are put in or uploaded to a page resized to 200px wide.
How do I go about doing this?
Cheers
James
-
Re: Automatically Resizing Images

7 December 2007 at 3:49pm
If your attaching the files to a page, you can resize them in your templates by using $Image.SetWidth(200), of you may want to use the Gallery module if your needing to resize images which are in your assets (files and images) directory.
| 1136 Views | ||
|
Page:
1
|
Go to Top |


