node script to resize and generate json file
fix viewer.props.images when changing page