Forked from stevewithington/muraRebuildImageCache.cfm
Created
April 27, 2018 19:10
-
-
Save mattlevine/7dfccefca1814e187ebb93706945e662 to your computer and use it in GitHub Desktop.
Mura CMS: Rebuild image cache or re-save images on redefined image sizes
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
<!--- Force Image Resave for All Images ---> | |
<cfset application.serviceFactory.getBean('fileManager').rebuildImageCache(siteid='YOURSITEID')> | |
<!--- or to just reset a specific image size you can use ---> | |
<cfset application.serviceFactory.getBean('fileManager').rebuildImageCache(siteid='YOURSITEID' ,size='YOURSIZE')> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment