7913 Posts in 1355 Topics by 930 members
DataObjectManager Module
SilverStripe Forums » DataObjectManager Module » Image gallery, display 4 images from album instead of cover image?
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: | 703 Views |
-
Image gallery, display 4 images from album instead of cover image?

8 October 2010 at 12:24am
Hi guys,
I think the title explains what I need help with, On the image gallery module I want to display 4 images from the album instead of displaying the cover image? is this this a feature built in, If so how would I go about it?
thanks in advance,
Fire
-
Re: Image gallery, display 4 images from album instead of cover image?

9 October 2010 at 2:13am
Please someone has to know a way? thanks
-
Re: Image gallery, display 4 images from album instead of cover image?

9 October 2010 at 10:05am
/your_theme/templates/Layout/ImageGalleryPage.ss
<% control Albums %>
<li>
<% control GalleryItems(4) %>
$Image.SetWidth(100)
<% end_control %>
</li>
<% end_control %>--------------------
SilverStripe tips, tutorials, screencasts and more: http://www.leftandmain.com -
Re: Image gallery, display 4 images from album instead of cover image?

9 October 2010 at 11:16pm
Hi UncleCheese,
I have gave it a try but it just seems to display all the images from each album, The 4 does not seem to limit it to 4.
Thanks in advance
FireMe! -
Re: Image gallery, display 4 images from album instead of cover image?

11 November 2010 at 1:32am
Please any idea why this is happening?
thanks,
FM -
Re: Image gallery, display 4 images from album instead of cover image?

13 November 2010 at 3:15am
Please help, I don't want all the images from each album displayed just 4?
Thanks in advance
FM
| 703 Views | ||
|
Page:
1
|
Go to Top |

