Tagged: PhotoBox moduels
- AuthorPosts
- August 24, 2016 at 16:19 #7412
ceccozambuParticipantHi,
I have a problem with Photo Box moduele.
In this page:http://beworldcitizens.com/test-gmedia-cecco/
I have e gallery built with PhotoBox.I have configured “limit=5”.
but I see more than 5 photos.
Someone can help me with this?
Thanks in advance,
FrancescoAttachments:
You must be logged in to view attached files.August 24, 2016 at 20:59 #7417
RattusKeymasterThat is strange… can you give me access to your WP Dashboard, so I can test closer?
There is no problem on my side and limit works fine.August 25, 2016 at 01:09 #7419
ceccozambuParticipantHi, thanks for the answer.
Yes I can, but I don’t know how, can you explain to me?
I’ve done this test but it still doesn’t work.
-delete and renstal module of photobox;
-Create a new preset;
-Put the gallery in a new article;In the preview page of the module it works well. It’s in the articles that doesn’t work.
Attached the screenshots.
Thanks in advance,
FrancescoAttachments:
You must be logged in to view attached files.August 25, 2016 at 12:17 #7422
RattusKeymasterPreset – is only the settings for module, but not how many or which items to show.
In the shortcode you’ve already point to show album with id=193 and it shows all items from the library.You can add additional parameter to the shortcode which will extend the query:
[gm album=193 module=photobox preset=290 query="limit=5"]
above shortcode is identical to:
[gmedia module=photobox preset=290 query="album__in=193&limit=5"]P.S.: visual editor convert
&symbol in query parameter to&and query not work, but I’ll fix it in next version.August 26, 2016 at 10:56 #7424
ceccozambuParticipantHi, thanks for your answer.
I understand how to limit the risults but my goal is limit the preview of gallery a 5 photo, but if I click on one image and than on the “arrow next button” I would see all of the images of the album.
Is it possible?Ps: where I can found the list of the shortcodes commands?
Thanks in advance,
FrancescoAugust 26, 2016 at 11:29 #7426
RattusKeymasterYes, go to Modules page and edit your Preset for PhotoBox module -> add CSS code below to Advanced Settings tab: Custom CSS field:
ul.gmPhotoBox li:nth-child(n+6) { display:none; }This code will hide all thumbs after 5th item in the grid, but there will be all items in the Lightbox.
August 26, 2016 at 11:55 #7427
ceccozambuParticipantThanks!
- AuthorPosts
- The forum ‘Modules’ is closed to new topics and replies.
