This file contains hidden or 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
<!--- | |
This is one way to generate a custom meta image based on the content item's primary associated image. | |
You could use this method in several other ways as well, such as inside a content iterator, etc. | |
If the fileid passed into this method is not a valid image, then it will return an empty string | |
---> | |
<cfif Len($.getURLForImage($.content('fileid')))> | |
<cfscript> | |
img = $.getURLForImage( | |
fileid = $.content('fileid') // could be _any_ fileid in Mura | |
,size = 'custom' // small, medium, large, custom, or any other pre-defined image size |