example imagery refactor to have configurable image urls and IMAGE_DELAY (#4024)

*Imagery refactor to have configurable image urls and IMAGE_DELAY.
This commit is contained in:
Nikhil
2021-11-05 10:54:12 -07:00
committed by GitHub
parent 61dd85c704
commit 1680c3cc1b
3 changed files with 209 additions and 146 deletions

View File

@@ -392,7 +392,7 @@ export default {
} else {
// container is taller than image
sizedImageDimensions.width = this.imageContainerWidth;
sizedImageDimensions.height = this.imageContainerWidth * this.focusedImageNaturalAspectRatio;
sizedImageDimensions.height = this.imageContainerWidth / this.focusedImageNaturalAspectRatio;
}
return sizedImageDimensions;