Image gallery directive.