end
compile '/images/*.jpg', rep: :large do
- filter :imgresize, width: 1200, height: 1200
- write item.identifier.without_ext + '-t1200.' + item.identifier.ext
+ filename = item.identifier.without_ext + '-t1200.' + item.identifier.ext
+ filter :imgresize, width: 1200, height: 1200, cache: filename
+ write filename
end
compile '/images/*.jpg', rep: :info do