Fix for snippet syntax not being recognised if trigger is in another snippet's code.
Images snippet now works with new snippet syntax and finds images in subdirectories