Hello guys/gals,
I'm having some issues incorporating Couch Gallery with Salvatore CSS (check here for more info on Salvatore).
I'm trying to make images sort nicely when the client adds them. However, when I added the gallery option from Couch Gallery (tutorial found here) everything got messed up. I've tried working with show_repeatable (as shown here) without success.
Here's the CMS template:
And here's the application of the code within website:
I've tried a bunch of different stuff, so this is just the nth iteration of what I'm trying to accomplish, I may have lost my way too many times up to this point, so any help is appreciated.
I'm having some issues incorporating Couch Gallery with Salvatore CSS (check here for more info on Salvatore).
I'm trying to make images sort nicely when the client adds them. However, when I added the gallery option from Couch Gallery (tutorial found here) everything got messed up. I've tried working with show_repeatable (as shown here) without success.
Here's the CMS template:
- Code: Select all
<cms:template title='Gallery' clonable='1' dynamic_folders='1' gallery='1'>
<cms:editable
name="gg_image"
label="Image"
desc="Upload your main image here"
show_preview='1'
type="image"
width="600"
/>
<cms:editable
name="gg_thumb"
assoc_field="gg_image"
label="Image Thumbnail"
desc="Thumbnail of image above"
width='500'
type="thumbnail"
enforce_max='1'
/>
</cms:template>
And here's the application of the code within website:
- Code: Select all
<div class="container-fluid" >
<div class="intro-grid" data-columns>
<cms:pages masterpage="products.php" include_subfolders='0' >
<div class="column size-1of3">
<a href="<cms:show gg_image />"><img src="<cms:show gg_image />" class="img-responsive img-gallery"/></a>
</div>
</cms:pages>
</div>
</div>
I've tried a bunch of different stuff, so this is just the nth iteration of what I'm trying to accomplish, I may have lost my way too many times up to this point, so any help is appreciated.