Forked from stevewithington/muraRebuildImageCache.cfm
Created
September 11, 2018 20:42
-
-
Save jsieber/be6ef70c3988eb91c4963f6d7fc34931 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 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