Zen mode 17:57:48

It is currently our zen mode where we get some rest so that we can come back to work feeling refreshed the next day and assist you with your issues. Some answers may already be available on our documentation.

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

Updates: Release JLex Review v6.1.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

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! :)
Mirjam
Thank you. it works!
Reply to

Sign in to your account

Use your social accounts to sign in