resizeFig will resize the figure and this functionality was removed from generate report