Hi Guys
So what I'm doing is creating a gallery. I've created a gallery page and a gallery list page.
I am uploading multiple images per post which is correct, however on the list page I only want to display the first photo that was uploaded as the main thumbnail? How is this done?
At the moment it is pulling all the uploaded images.
So what I'm doing is creating a gallery. I've created a gallery page and a gallery list page.
I am uploading multiple images per post which is correct, however on the list page I only want to display the first photo that was uploaded as the main thumbnail? How is this done?
- Code: Select all
<cms:show_repeatable 'photos'>
<img class="img-responsive" src="<cms:show portfolio_photo />" alt=""/>
</cms:show_repeatable>
At the moment it is pulling all the uploaded images.