7912 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Varying cover image sizes
Discuss the DataObjectManager module, and the related ImageGallery module.
Moderators: martimiz, UncleCheese, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
|
Page:
1
|
Go to End | |
| Author | Topic: | 684 Views |
-
Varying cover image sizes

27 July 2009 at 4:45pm
Hi, I've got what I imagine is a simple problem with Image Gallery, but I can't quite figure it out. Basically, I want a different sized (from the defaults) album cover image to appear on a particular page. I tried extending ImageGalleryAlbum and adding the following method:
function listAlbumCover() {
return $this->CoverImage()->CroppedImage(85, 85);
}However I couldn't get it to work and I feel like it might be overkill anyway? Any help would be appreciated.
-
Re: Varying cover image sizes

28 July 2009 at 3:47am
It's on the Configuration tab. Cover Image Width/Height.
| 684 Views | ||
|
Page:
1
|
Go to Top |

