Skip to content

Instantly share code, notes, and snippets.

@jsieber
Forked from stevewithington/muraRebuildImageCache.cfm
Created September 11, 2018 20:42
Show Gist options
  • Select an option

  • Save jsieber/be6ef70c3988eb91c4963f6d7fc34931 to your computer and use it in GitHub Desktop.

Select an option

Save jsieber/be6ef70c3988eb91c4963f6d7fc34931 to your computer and use it in GitHub Desktop.

Revisions

  1. @stevewithington stevewithington revised this gist Apr 25, 2016. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion muraRebuildImageCache.cfm
    Original file line number Diff line number Diff line change
    @@ -1,4 +1,4 @@
    <!--- Force Image Resave for All Images --->
    <cfset application.serviceFactory.getBean('fileManager').rebuildImageCache(siteid='YOURSITEID' )>
    <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')>
  2. @stevewithington stevewithington created this gist Apr 25, 2016.
    4 changes: 4 additions & 0 deletions muraRebuildImageCache.cfm
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,4 @@
    <!--- 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')>