Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

DataObjectManager Module

Discuss the DataObjectManager module, and the related ImageGallery module.

Moderators: martimiz, UncleCheese, Sean, biapar, Willr, Ingo, swaiba, simon_w

Varying cover image sizes


2 Posts   803 Views


27 July 2009 at 4:45pm Community Member, 2 Posts

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.


28 July 2009 at 3:47am 4085 Posts

It's on the Configuration tab. Cover Image Width/Height.