Added category to generate images from a view.