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, Ed, biapar, Willr, Ingo, swaiba

Varying cover image sizes

Go to End

2 Posts   1121 Views


Community Member, 2 Posts

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.


Forum Moderator, 4102 Posts

28 July 2009 at 3:47am

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