\MaxSkitterImageDecorator
Defines MaxSkitter image resize options, if you dont like used cropped resize, use your own copy of this file (with custom name of class and methods), enable it in your mysite/_config.php and copy maxskitter/templates/Includes/SkitterImage.ss in your theme and change called image resizing method name.
If you are fine with cropped resizing, you can configure dimension in you mysite/_config.php. Example:
<code>
MaxSkitterImageDecorator::$SkitterSlideWidth = 850;
MaxSkitterImageDecorator::$SkitterSlideHeight = 250;
</code>
- Author: Pali Ondras
Synopsis
class MaxSkitterImageDecorator
extends DataExtension
{
- // members
- public static integer $SkitterSlideWidth = 800;
- public static integer $SkitterSlideHeight = 300;
- // methods
- public void generateSkitterSlide()
- public void SkitterSlide()
Hierarchy
Extends
- DataExtension
Members
public
- $SkitterSlideHeight
- $SkitterSlideWidth