Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Display the Gallery postprocess
<cfsetting enablecfoutputonly="true" />
<!--- @@displayname: Image Gallery for Post Process --->
<cfif arrayLen(stobj.aImage)>
<cfoutput>
<div class="row row-wrap" id="popup-gallery">
</cfoutput>
<cfloop from="1" to="#arrayLen(stobj.aImage)#" index="i">
<cfset stImage = application.fapi.getContentObject(typename="dmImage", objectid=stObj.aImage[i])>
<cfoutput>
<div class="span3"> <a class="hover-img popup-gallery-image" href="#stImage.standardImage#" data-effect="mfp-zoom-out"> <img src="#stImage.ThumbnailLargeImage#" alt="#stImage.alt#" title="#stImage.title#"><i class="icon-resize-full box-icon-big round hover-icon i"></i> </a> </div>
</cfoutput>
</cfloop>
<cfoutput>
</div>
</cfoutput>
</cfif>
<cfsetting enablecfoutputonly="false" />
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.