refactor image/snapshot helpers, add find images by tags helper