1

I have a client who has uploaded many giant images to the CMS (8mb+). I'd like to free up that space now that those image have been transformed to more web-friendly sizes. Is it safe for me to delete the original files stored on the server or does Craft require those to create new transforms?

1

Does deleting an original asset but keeping the transform folder asset make Craft replace the original file with the biggest transform?

No - Craft will always use the originally uploaded asset as the "source of truth" for generating new transforms.

You can, however, replace the originally uploaded 8mb+ file with a smaller one, and it'll be used as the source of truth for generating new transforms.

2
  • Thanks Brad! A bit outside the scope of this forum's focus but is there a batch image downsizer you could recommend? Jan 21 at 6:47
  • 1
    The last time I tried anything like that, I automated it in Photoshop.
    – Brad Bell
    Jan 21 at 18:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.