added custom thumbnail size and tags support