Created
July 15, 2014 23:23
-
-
Save PhillipRasmussen/1497a2cf6ffd2de50a84 to your computer and use it in GitHub Desktop.
Display the Gallery postprocess
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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