To modify the method for generate thumbnail and define some string or value.