Having our weekend break 04:37:54

It is currently a weekend from where we are at. Rest assured that we will get back to your posts as soon as the week starts!

Official support hours are from 8:30AM — 5:00PM Monday to Saturday (GMT +7)

Can I change the maximum amount of pictures in the gallery?

Mirjam
Hi, I installed the gallery for K2 & content plugin for a Flickr album. It works well for only 30 pictures. However, the album contains 156 pictures. How can I make the plugin show the rest also? At basic options I filled in 300 for max photo return flickr.

2 replies

Mirjam
Thank you. it works!
JLexArt
Hello,
You can do the following:
- Open file gallery.php in plugins/contents/gallery/gallery.php
- In line 154: Edit $maxImgFlickr = ( int ) $this->params->get ( 'maxflickr', 30 ) >= 1 && ( int ) $this->params->get ( 'maxflickr', 30 ) <= 100 ? ( int ) $this->params->get ( 'maxflickr', 30 ) : 30; to $maxImgFlickr = ( int ) $this->params->get ( 'maxflickr', 30 ) >= 1  ? ( int ) $this->params->get ( 'maxflickr', 30 ) : 30;
- At setting for this plugin, set Max photo return Flickr is 300
- Done! :)
Reply to

Sign in to your account

Use your social accounts to sign in