Set the category and reduced the image size