Blog Sections Open
Deleting Resource Images Automatically When Content Is Removed
How to use Evolution CMS events to find deleted resources and clean up related TV images and generated thumbnails.
Some projects need more than document deletion. When a resource disappears, its related images and generated thumbnails should go too, otherwise the server slowly fills with unused files.
Useful Direction
OnBeforeEmptyTrash and related cleanup events are the right place to hook this behavior. The important part is collecting the affected resource IDs first, then resolving all related media paths before you remove files.
This is one of those automation tasks that saves disk space, keeps media folders cleaner, and makes catalog maintenance much less messy over time.
Excluding the First Image from EvoGallery Thumbnail Output
How to use one EvoGallery image as the main visual while starting the thumbnail strip from the second image onward.
Opening a New Document Form Automatically After Save
How to launch the create-document form right after saving a resource when one workflow needs managers to add many sibling pages in sequence.