Hi. How would I go about getting array values from object in an imagelist contenttype? Also, how would I add pager() to imagelists?
I'm not sure what you mean exactly? which object do you mean?
Your code could be a bit simpler though. if you know you need one item, you could do this:
{% setcontent gallery = 'galleries/front-gallery' returnsingle %}
{% for image in gallery.slider %}
You can't really add a slider for a single gallery. I'd suggest using a slider or something in jQuery, so you can solve it in the frontend.
...is that "returnsingle" a Bolt-specific filter (which should be in the docs somewhere) or is it "normal" Twig (that I cannot seem to find with Google)?
It is in the docs, in the section with 'setcontent'.. It's not a standard twig tag/filter, but rather an attribute that i've made specifically for the {% setcontent %} tag.
Here it is: http://docs.bolt.cm/content-fetching#one-record-or-multiple-records
Closing this issue to keep the list clean. If this is still a problem, feel free to re-open it, or open a new issue.
Most helpful comment
Here it is: http://docs.bolt.cm/content-fetching#one-record-or-multiple-records