-
-
Save davidpanzarella/42911ee5ad4b7719b2ac8ef28e778954 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